Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cosolom created an issue. See original summary.

cosolom’s picture

interlated’s picture

I found the same thing. Line item with no products. Probably due to zero shipping items although I have reordered so that 'Delete shipping line items on shopping cart updates' runs after. With Billy Invoice the rule 'on changing status' runs twice anyway.

Very similar patch to the attached one allowed the rule to process the files.

marty.true’s picture

#2 above worked to publish the node however, the order is still set as "Pending". It needs to fire the other rule that sets to "Complete"

marty.true’s picture

Status: Active » Needs review
Sam152’s picture

Here is my patch to make this module work with commerce discount. It only factors in line items with the "commerce_product" property set into it's determination if the order status should be completed or not.

daggerhart’s picture

Patch in #6 fixes the problem, but needs to be re-rolled to remove the full path to the module.

Here is an updated patch.