This issue is in response to #2714123: The status of the order paid through PayPal stays "Checkout: Review".
Essentially: if a store owner who uses PayPal changes their Primary e-mail address in their PayPal business settings, but does not change the email address used to receive payments in Commerce's configuration rule for that payment method, the end result is the user being kicked back to Checkout: Review with no error message. A log is entered into Watchdog, but without the site admin checking these on a regular basis, the problem could go unnoticed.
Attached is a patch which simply displays an error to the user, and prompts them to notify the store administrator. This way, the admin can be prompted about the issue and reconfigure their store settings so they can begin accepting PayPal payments again.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2834931-3.patch | 1020 bytes | mglaman |
| commerce_paypal_wps-invalid_email_error.patch | 968 bytes | torgospizza |
Comments
Comment #2
mglamanI don't like showing somethig this verbose to a customer. I think the watchdog should be bumped from NOTICE to error.
Comment #3
mglamanUpdated patch which boosts the log level for this IPN failure.
Comment #4
mglamanActually, this is a configuration issue. We should just improve the form to better notify the admin when settings are changed. If the business email is not in the receivers email list, we should display an error.
Comment #5
tomtech commentedAutomatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.