The event "Completing the checkout process" is not triggered after the payment is done, so rules that depend on it do not fire. For example emailing the customer and the site administrator, or stock management.

The problem is in the function commerce_epayment_ipn_process(), where the commerce_order_status_update() call should be followed by commerce_checkout_complete(), which fires the event.

Patch is attached bellow.

Comments

mariancalinro’s picture

And the patch.

amateescu’s picture

Status: Needs review » Fixed

Committed to 7.x-1.x. Thanks for the patch!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

amateescu’s picture

The patch had a small problem, commerce_checkout_complete() has to be called *before* commerce_order_status_update().

Fixed in this commit: http://drupalcode.org/project/commerce_epayment.git/commitdiff/c4b0c1c39...