I have a problem that my orders in Drupal Commerce are never completed. All rules using this event are not executed. No new user accounts are created for new customers nor order confirmation mails are send out. After completing Paypal WPS payment, orders go immediately into processing. Did I miss/misunderstood/misconfigured something? I thought after reviewing, the order should be completed. For preliminary solving this, I added the following rule:
{ "rules_fire_up_order_completion" : {
"LABEL" : "Fire up order completion",
"PLUGIN" : "reaction rule",
"WEIGHT" : "-10",
"OWNER" : "rules",
"REQUIRES" : [ "rules", "commerce_checkout", "commerce_payment" ],
"ON" : { "commerce_payment_order_paid_in_full" : [] },
"IF" : [
{ "data_is" : {
"data" : [ "commerce-order:status" ],
"op" : "IN",
"value" : { "value" : { "checkout_payment" : "checkout_payment" } }
}
}
],
"DO" : [
{ "commerce_checkout_complete" : { "commerce_order" : [ "commerce_order" ] } }
]
}
}
Is this correct?
Thanks
Comments
Comment #1
stesind commentedComment #2
torgospizzaI was having this issue, and resolved it by setting the IPN value (in the PayPal's admin for IPN settings) to www.mysite.com/commerce_paypal/ipn. After that all of our orders go to Completed as expected.
Comment #3
anybodyLooks like a duplicate? #2580887: Order does not complete
Otherwise please reopen.