After paypal payment, the "Completing the checkout process" event is just skipped, since nothing can be seen about firing the rule in the Rules debugging information. This applies to users as well as anonymous checkout, tested both.

Comments

fahadurrehman’s picture

I am getting the same issue using Paypal WPS, the customer payments are received on PayPal but not updating the orders on my site, can not find any orders under http://mywebsite.com/admin/commerce/orders

I have tested through paypal sandbox id and every thing is working fine. but when we are doing live transaction it does only go to paypal website where when we pay using paypal ID it does not send any notification from our website to the customer neither update create new order on our website.

Alexandru Anghel’s picture

I have a some how opposite problem. My Rules evaluation log says: Rule Send an order notification e-mail fires and completes the rule without any bugs, but my fictional client gets no e-mail.

I tested on an existing account and non existing account. Checked the rule param:

TO:
commerce-order:mail
SUBJECT:
Order [commerce-order:order-number] at [site:name]
MESSAGE:
Thanks for your order [commerce-order:order-number] at [site:name].
If this is your first order with us, you will receive a separate e-mail with login instructions. You can view your order history with us at any time by logging into our website at:
[site:login-url]
You can find the status of your current order at:
[site:url]user/[commerce-order:uid]/orders/[commerce-order:order-id]
Please contact us if you have any questions about your order.

FROM:
[site:mail]

And still nothing. I got the same issue with the 7.10 core Drupal as i was watching a lynda.com training course.

I'm working on a win 7
Drupal: commerce_kickstart-7.x-1.0-rc7-core
Server: Acquia Dev Desktop.

Please guide me if i should post this in a different section.

rszrama’s picture

Category: bug » support

Are you returning to the site using the link from PayPal, or are you working on a public web server that can actually receive IPNs from PayPal?

Prague man’s picture

Subs. Returning to the site using the link from PayPal.

rszrama’s picture

Status: Active » Closed (cannot reproduce)

If I'm not mistaken, these issues should have been fixed as of Drupal Commerce 1.3. I'm not seeing any problems with e-mails being sent whether I return to the site or not, so I'm going to close this unless someone can reopen it with explicit steps to reproduce the problem on a clean install of Commerce Kickstart 1.x + Commerce PayPal WPS.

bensti’s picture

I got this same error, no email is send with paypal WPS on Completing the checkout process. Any solution ?

Im using Commerce 7.x-1.3 and paypal wps 7.x-1.0-rc1

pedrorocha’s picture

Status: Closed (cannot reproduce) » Needs work

I'm having the same problem when i come back from other payment provider, PagSeguro(http://drupal.org/project/commerce_pagseguro), so i don't think that it's a Paypal related issue. I think that when you visit checkout/%/complete directly, something is not being fired.

pedrorocha’s picture

In Commerce PagSeguro, there is a return URL that redirects to checkout/%/complete, and i solved the problem about firing the action calling "commerce_checkout_complete($order);)" in the callback function that maps this return URL.

I didn't look much deeper in Commerce modules, but maybe this function, "commerce_checkout_complete($order);", are called before you reach checkout/%/complete? Maybe this could be the problem.

rszrama’s picture

Status: Needs work » Closed (duplicate)

I think the only other thing it could possibly be is #1460964: "When completing the checkout process" never fires if a rule sets order complete on IPN. If you do an order status update when an IPN is received, it is possible right now that when the checkout completion process is triggered (either by the IPN or the customer returning), it will be skipped or something. More details in that issue, but let's solve it there instead of in the PayPal queue.