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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | commerce_epayment-complete_checkout_event-1919574-#1.patch | 817 bytes | mariancalinro |
Comments
Comment #1
mariancalinro commentedAnd the patch.
Comment #2
amateescu commentedCommitted to 7.x-1.x. Thanks for the patch!
Comment #4
amateescu commentedThe 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...