Does NOT Accept PayPal Payments From Outside USA
-
Just installed today and it works fine (so far) with US customers. However, all non-US orders fail and I cannot find any place that describes why they fail. Please fix.
-
Apparently the plugin allows the customer to log into PayPal, but when PayPal sends them back to the cart to complete the transaction, the plugin gives an error message telling the customer to reenter PayPal information (infinite loop). This occurs on all browsers.
Hi @tj214
Can you share what that error message is that the customer is seeing?
If you go to the Woocommerce – Status – Logs page there should be a wc-ppcp log file. Can you share the contents of that file so we can see the error code?
Kind Regards
I do not have a screenshot of the error message; in my initial post I stated what a customer told me he was seeing.
Requested log file already sent via email.
Also: Just received info that the plugin does not always work INSIDE the US, in addition to the non-US buyers’ problem.
Requested log file already sent via email.
We are having an issue with our contact us page on our site if that’s what you used. Can you provide the log file here so we can review? If not, we will need about 30 minutes to get that contact us page working again and you can then re-submit your log file.
Edit: you can also send us the log file within the PayPal plugin if you go to the Support page within the WordPress Admin > PayPal by Payment Plugins > Support
Thanks,
- This reply was modified 1 year, 6 months ago by Payment Plugins.
2023-06-01T00:39:56+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.REFUNDED 2023-06-01T00:40:50+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.REFUNDED 2023-06-01T01:49:24+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T01:49:35+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T02:07:31+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T02:07:31+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T03:04:03+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T08:03:32+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T08:03:40+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T08:33:49+00:00 ERROR API error: Array ( [url] => https://api-m.paypal.com/v2/checkout/orders/8AA16132R1697442N/capture [method] => POST [http_status] => 422 [request] => Array ( ) [error] => Array ( [name] => UNPROCESSABLE_ENTITY [details] => Array ( [0] => Array ( [issue] => PAYER_ACTION_REQUIRED [description] => Payer needs to perform the following action before proceeding with payment. ) ) [message] => The requested action could not be performed, semantically incorrect, or failed business validation. [debug_id] => c2957665f16a7 [links] => Array ( [0] => Array ( [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED [rel] => information_link [method] => GET ) ) ) ) 2023-06-01T08:33:59+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T08:35:01+00:00 ERROR API error: Array ( [url] => https://api-m.paypal.com/v2/checkout/orders/7F3530575N119563N/capture [method] => POST [http_status] => 422 [request] => Array ( ) [error] => Array ( [name] => UNPROCESSABLE_ENTITY [details] => Array ( [0] => Array ( [issue] => PAYER_ACTION_REQUIRED [description] => Payer needs to perform the following action before proceeding with payment. ) ) [message] => The requested action could not be performed, semantically incorrect, or failed business validation. [debug_id] => fda3d7e9dba7e [links] => Array ( [0] => Array ( [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED [rel] => information_link [method] => GET ) ) ) ) 2023-06-01T08:35:11+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T08:41:37+00:00 ERROR API error: Array ( [url] => https://api-m.paypal.com/v2/checkout/orders/1NB80498L6450711T/capture [method] => POST [http_status] => 422 [request] => Array ( ) [error] => Array ( [name] => UNPROCESSABLE_ENTITY [details] => Array ( [0] => Array ( [issue] => PAYER_ACTION_REQUIRED [description] => Payer needs to perform the following action before proceeding with payment. ) ) [message] => The requested action could not be performed, semantically incorrect, or failed business validation. [debug_id] => 7a375850963a4 [links] => Array ( [0] => Array ( [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED [rel] => information_link [method] => GET ) ) ) ) 2023-06-01T08:42:04+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T09:00:50+00:00 ERROR API error: Array ( [url] => https://api-m.paypal.com/v2/checkout/orders/5RR30722P5725514B/capture [method] => POST [http_status] => 422 [request] => Array ( ) [error] => Array ( [name] => UNPROCESSABLE_ENTITY [details] => Array ( [0] => Array ( [issue] => PAYER_ACTION_REQUIRED [description] => Payer needs to perform the following action before proceeding with payment. ) ) [message] => The requested action could not be performed, semantically incorrect, or failed business validation. [debug_id] => 91efff6a8ba5d [links] => Array ( [0] => Array ( [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED [rel] => information_link [method] => GET ) ) ) ) 2023-06-01T09:01:22+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T11:50:05+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T11:50:21+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED
Hi @tj214
Thank you for that log info, it’s very helpful. It looks like this payment requires 3DS and we’re not handling that case correctly. We’re making an update and will post a link shortly which you can use to test and confirm it’s resolved for you.
Kind Regards
Hi @tj214
Please test this patch and let us know if when the
PAYER_ACTION_REQUIRED
code is triggered by PayPal, the plugin redirects the user back to the 3DS approval page.Kind Regards
I’ve downloaded the file but have absolutely no idea what to do with it.
Also I have no idea what the sentence “let us know if when the
PAYER_ACTION_REQUIRED
code is triggered by PayPal, the plugin redirects the user back to the 3DS approval page” means or how I go about following this instruction.I’ve downloaded the file but have absolutely no idea what to do with it.
It’s a zip file which if you go to the WordPress Admin > Plugins > Add New -> Upload Plugin you can install manually. Or go to section Install a Plugin using the WordPress Admin Plugin Upload of the article and follow those directions.
Also I have no idea what the sentence “let us know if when the?
PAYER_ACTION_REQUIRED
?code is triggered by PayPal, the plugin redirects the user back to the 3DS approval page” means or how I go about following this instruction.That’s the error code in the log file that you provided in your previous reply. It means the order needed 3DS before PayPal would allow the payment to be processed. The plugin should redirect the customer to the PayPal 3DS approval page when 3DS is required. So if you can contact the customer(s) that had trouble paying and ask them to initiate payment again, that will tell us if that scenario is now being handled correctly.
Thanks
Working on it.
Revised software does NOT fix problem. Same errors remain. Current log just below.
2023-06-01T00:39:56+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.REFUNDED 2023-06-01T00:40:50+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.REFUNDED 2023-06-01T01:49:24+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T01:49:35+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T02:07:31+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T02:07:31+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T03:04:03+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T08:03:32+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T08:03:40+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T08:33:49+00:00 ERROR API error: Array ( [url] => https://api-m.paypal.com/v2/checkout/orders/8AA16132R1697442N/capture [method] => POST [http_status] => 422 [request] => Array ( ) [error] => Array ( [name] => UNPROCESSABLE_ENTITY [details] => Array ( [0] => Array ( [issue] => PAYER_ACTION_REQUIRED [description] => Payer needs to perform the following action before proceeding with payment. ) ) [message] => The requested action could not be performed, semantically incorrect, or failed business validation. [debug_id] => c2957665f16a7 [links] => Array ( [0] => Array ( [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED [rel] => information_link [method] => GET ) ) ) ) 2023-06-01T08:33:59+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T08:35:01+00:00 ERROR API error: Array ( [url] => https://api-m.paypal.com/v2/checkout/orders/7F3530575N119563N/capture [method] => POST [http_status] => 422 [request] => Array ( ) [error] => Array ( [name] => UNPROCESSABLE_ENTITY [details] => Array ( [0] => Array ( [issue] => PAYER_ACTION_REQUIRED [description] => Payer needs to perform the following action before proceeding with payment. ) ) [message] => The requested action could not be performed, semantically incorrect, or failed business validation. [debug_id] => fda3d7e9dba7e [links] => Array ( [0] => Array ( [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED [rel] => information_link [method] => GET ) ) ) ) 2023-06-01T08:35:11+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T08:41:37+00:00 ERROR API error: Array ( [url] => https://api-m.paypal.com/v2/checkout/orders/1NB80498L6450711T/capture [method] => POST [http_status] => 422 [request] => Array ( ) [error] => Array ( [name] => UNPROCESSABLE_ENTITY [details] => Array ( [0] => Array ( [issue] => PAYER_ACTION_REQUIRED [description] => Payer needs to perform the following action before proceeding with payment. ) ) [message] => The requested action could not be performed, semantically incorrect, or failed business validation. [debug_id] => 7a375850963a4 [links] => Array ( [0] => Array ( [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED [rel] => information_link [method] => GET ) ) ) ) 2023-06-01T08:42:04+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T09:00:50+00:00 ERROR API error: Array ( [url] => https://api-m.paypal.com/v2/checkout/orders/5RR30722P5725514B/capture [method] => POST [http_status] => 422 [request] => Array ( ) [error] => Array ( [name] => UNPROCESSABLE_ENTITY [details] => Array ( [0] => Array ( [issue] => PAYER_ACTION_REQUIRED [description] => Payer needs to perform the following action before proceeding with payment. ) ) [message] => The requested action could not be performed, semantically incorrect, or failed business validation. [debug_id] => 91efff6a8ba5d [links] => Array ( [0] => Array ( [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED [rel] => information_link [method] => GET ) ) ) ) 2023-06-01T09:01:22+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T11:50:05+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T11:50:21+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T16:19:29+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T16:19:40+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T17:33:47+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T17:34:30+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T20:59:40+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T20:59:59+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T22:07:43+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T22:07:53+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED 2023-06-01T23:25:40+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED 2023-06-01T23:26:14+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED
@tj214 The error will be logged regardless of whether the issue is fixed or not; It’s whether the plugin then redirects the customer to the PayPal approval page.
The most recent error in your log entry is from
2023-06-01T09:00:50+00:00
which would be this morning. That’s around the same time as your other log entry. The most recent log entry in your reply is from2023-06-01T23:26:14+00:00
which was within the last hour. and that is a successful payment.Did you have one of the customer’s retry the payment?
- I have only two wc-ppcp logs available at the location you described earlier. One is dated 2023-05-31 and the other, which I forwarded in my immediate previous post, is dated 2023-06-01. Unless there is a significant time lag in the logs getting updated, I believe you have the most recent ppcp log, which should include the failures noted in #2 below.
- I asked several of the customers who experienced problems to retry their checkout. So far only one has responded, and as noted in my previous post, it failed in exactly the same way as on 31 May 2023. So, the revised plugin did not solve the problem. He attempted to check out several times, each time emptying the cart, re-adding the item he wishes to purchase, and attempting checkout. He notified me of the new failures at 2053 US Eastern Daylight Time on 1 June 2023, so I assume he attempted the checkouts within a few minutes prior to that time.
When I installed the new file you sent me, the WP plugins page states the version number is Version 1.0.31. Is this the correct number for the new file? If not, it’s possible the new file did not install correctly and I’m still using the previous plugin version.
- The topic ‘Does NOT Accept PayPal Payments From Outside USA’ is closed to new replies.