The uc_order.controller.inc (line 89) is trying to access product->cost but the fake cart item object returned by _uc_coupon_cart_item does not set this property. The simple fix is to add the cost property to the object as 'cost' => 0.

CommentFileSizeAuthor
#1 2160743-1.diff629 bytesneale.wolfson
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

neale.wolfson’s picture

Status: Active » Needs review
FileSize
629 bytes
neale.wolfson’s picture

Patch as suggested above, just to give you something to work with.

natuk’s picture

This seems to have worked for me.