Payment button changes and payment fails when logged in as customer
-
Hi Joost,
we got two failed orders with different error messages in the order notes. I did a test and the frontend says:
Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-AGREEMENT_ALREADY_CANCELLE
The Paypal button looks correctly (https://share.cleanshot.com/KNK0Lo) at first and the after a few seconds like this: https://share.cleanshot.com/Gnu0h8
The orders notes say:
Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-AGREEMENT_ALREADY_CANCELLED PayPalGateway.php:502 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-AGREEMENT_ALREADY_CANCELLED OrderEndpoint.php:313 Status der Bestellung von Zahlung ausstehend auf Fehlgeschlagen ge?ndert.
The other error message from the two clients orders is:
Failed to process the payment. Please try again or contact the shop admin. [RESOURCE_NOT_FOUND] The specified resource does not exist. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_RESOURCE_ID /kunden/414834_50823/webseiten/shop/live/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayPalGateway.php:502 [RESOURCE_NOT_FOUND] The specified resource does not exist. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_RESOURCE_ID /kunden/414834_50823/webseiten/shop/live/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:551 Status der Bestellung von Zahlung ausstehend auf Fehlgeschlagen ge?ndert.
And I did several tests, the error does only appear when logged in as Customer, at least the error does not appears when logged in as admin. Because of that it is not possible to test in troubleshooting mode.
I tested live and checked all plugins. I can’t identify a plugin being responsible for this.
Thanks for your help!
DirkThe page I need help with: [log in to see the link]
- The topic ‘Payment button changes and payment fails when logged in as customer’ is closed to new replies.