Credit Card Payments Fail
-
All credit orders fail when using credit card method.
I have disabled all plugins besides this one and woocommerce, and even tried switching themes.
I have logging enabled but nothing records to log, all it get is:
Error processing checkout. Please try again. on the checkout page, nothing appears in paypal activity, also paypal payments work fine.
Plugin was setup using wizard and ive spoke with paypal on the matter and they say there is nothing on their end that would cause this.Thanks
The page I need help with: [log in to see the link]
-
I just noticed on my credit card account that these transactions are actually being at least pre-authorized – Hopefully not going through as they just show pending on credit card account.
Hello @geoffreyarce
thank you for reaching out to us, we will try to help you further on this.
Do you have logging enabled and have you checked the logs to see what errors you are seeing there?
This issue does sound familiar, but the logs should confirm if it is related to any known bug (errors contain: “Could not validate nonce”). I am expecting this to be related to the guest checkout issue, where we suggest the merchants to enable the guest checkout functionality in WooCommerce->Settings->Accounts&Privacy. If you enable the first checkbox for the guest checkout, then this issue should not be triggered.Let me know about the logs and we will take it from there.
If you don’t feel comfortable sharing those details on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
(please add the URL of this thread in the ticket as well)Kind regards,
JoostThank you for your reply, I have verified guest checkout is enabled.
The only logging output I know of for this plugin would be under Woocommerce > Status > Logs
I have logging enabled in woocommerce settings > payments > paypal, but no logs show up when this issue takes place, (I do get logs if i dont enter a zip code or something like that).
Is there another location or way to get more verbose logs?Ok I apologize, I didnt realize the existings logs were still being updated, here you are, im not seeing any real confidential info on here hopefully theres not ??
2021-10-21T13:07:25+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/8YJ91426T3110524U Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"1.00","breakdown":{"item_total":{"currency_code":"USD","value":"1.00"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"test","unit_amount":{"currency_code":"USD","value":"1.00"},"quantity":1,"description":"test subscription","sku":"","category":"DIGITAL_GOODS","tax":{"currency_code":"USD","value":"0.00"}}],"payee":{"merchant_id":"NU5JVLP8YWBDG"},"custom_id":"fcedbd-267","invoice_id":"fcedbd-267"},"path":"\/purchase_units\/@reference_id=='default'"}] Response Debug ID: 7870557884ea3 Response: Array ( [code] => 204 [message] => No Content ) 2021-10-21T13:07:25+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/8YJ91426T3110524U Response Debug ID: 6fe6c48202759 Response: Array ( [code] => 200 [message] => OK ) 2021-10-21T13:07:26+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/8YJ91426T3110524U Response Debug ID: 1575ac37476fb Response: Array ( [code] => 200 [message] => OK ) 2021-10-21T13:07:27+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/8YJ91426T3110524U Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"1.00","breakdown":{"item_total":{"currency_code":"USD","value":"1.00"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"test","unit_amount":{"currency_code":"USD","value":"1.00"},"quantity":1,"description":"test subscription","sku":"","category":"DIGITAL_GOODS","tax":{"currency_code":"USD","value":"0.00"}}],"payee":{"merchant_id":"NU5JVLP8YWBDG"},"custom_id":"fcedbd-267","invoice_id":"fcedbd-267"},"path":"\/purchase_units\/@reference_id=='default'"}] Response Debug ID: e00609d3e4e5c Response: Array ( [code] => 204 [message] => No Content ) 2021-10-21T13:07:27+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/8YJ91426T3110524U Response Debug ID: 229826612f9a Response: Array ( [code] => 200 [message] => OK ) 2021-10-21T13:07:29+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders/8YJ91426T3110524U/capture Response Debug ID: db6e086c71efd Response: Array ( [code] => 422 [message] => Unprocessable Entity ) Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"TRANSACTION_REFUSED","description":"The request was refused"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"db6e086c71efd","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED","rel":"information_link","method":"GET"}]} 2021-10-21T13:07:29+00:00 WARNING Failed to capture order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED
Since finding log details I have been looking around, is this related to your bug with shipping data as mentioned here: https://www.ads-software.com/support/topic/unprocessable-entity/ ?
Hello @geoffreyarce
thank you for the logs, these are showing an issue.
So, the only error that is on your logs is the following:
2021-10-21T13:07:29+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders/8YJ91426T3110524U/capture Response Debug ID: db6e086c71efd Response: Array ( [code] => 422 [message] => Unprocessable Entity ) Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"TRANSACTION_REFUSED","description":"The request was refused"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"db6e086c71efd","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED","rel":"information_link","method":"GET"}]} 2021-10-21T13:07:29+00:00 WARNING Failed to capture order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED
This error indicates that there might be an issue with the PayPal account of the buyer and he should get in contact with them to have your account reviewed. Another option can be that there is an issue with the 3DS settings on your site. You might want to check if it is set to 'WHEN REQUIRED' and change it to 'Always trigger 3D Secure' (but for merchants operating in the EU, this should be irrelevant).
Hopefully, this will get you further.
Let me know if you need more support.Kind regards,
JoostI called Paypal and was told there was no account issues.
I’ve set 3D Secure to Always trigger and am getting same error:2021-10-21T14:30:02+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/ecrasystems.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]} Response Debug ID: 7da4f8f0135ee Response: Array ( [code] => 201 [message] => Created ) 2021-10-21T14:30:09+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"1.00","breakdown":{"item_total":{"currency_code":"USD","value":"1.00"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"test","unit_amount":{"currency_code":"USD","value":"1.00"},"quantity":1,"description":"test subscription","sku":"","category":"DIGITAL_GOODS","tax":{"currency_code":"USD","value":"0.00"}}],"payee":{"merchant_id":"NU5JVLP8YWBDG"}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"NO_SHIPPING","landing_page":"LOGIN","locale":"en-US","brand_name":"EcraSystems","return_url":"https:\/\/ecrasystems.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/ecrasystems.com\/index.php\/checkout\/"},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}} Response Debug ID: 15fe71bd0f7b8 Response: Array ( [code] => 201 [message] => Created ) 2021-10-21T14:30:10+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/32132268DA569453G Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"1.00","breakdown":{"item_total":{"currency_code":"USD","value":"1.00"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"test","unit_amount":{"currency_code":"USD","value":"1.00"},"quantity":1,"description":"test subscription","sku":"","category":"DIGITAL_GOODS","tax":{"currency_code":"USD","value":"0.00"}}],"payee":{"merchant_id":"NU5JVLP8YWBDG"},"custom_id":"fcedbd-267","invoice_id":"fcedbd-267"},"path":"\/purchase_units\/@reference_id=='default'"}] Response Debug ID: 5f7e0ab823a61 Response: Array ( [code] => 204 [message] => No Content ) 2021-10-21T14:30:11+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/32132268DA569453G Response Debug ID: a216240109216 Response: Array ( [code] => 200 [message] => OK ) 2021-10-21T14:30:12+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/32132268DA569453G Response Debug ID: f1a3cc2c4190f Response: Array ( [code] => 200 [message] => OK ) 2021-10-21T14:30:13+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/32132268DA569453G Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"1.00","breakdown":{"item_total":{"currency_code":"USD","value":"1.00"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"test","unit_amount":{"currency_code":"USD","value":"1.00"},"quantity":1,"description":"test subscription","sku":"","category":"DIGITAL_GOODS","tax":{"currency_code":"USD","value":"0.00"}}],"payee":{"merchant_id":"NU5JVLP8YWBDG"},"custom_id":"fcedbd-267","invoice_id":"fcedbd-267"},"path":"\/purchase_units\/@reference_id=='default'"}] Response Debug ID: 81ec12fc6b525 Response: Array ( [code] => 204 [message] => No Content ) 2021-10-21T14:30:13+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/32132268DA569453G Response Debug ID: 40c405b9de603 Response: Array ( [code] => 200 [message] => OK ) 2021-10-21T14:30:14+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders/32132268DA569453G/capture Response Debug ID: 592e7ffa039e7 Response: Array ( [code] => 422 [message] => Unprocessable Entity ) Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"TRANSACTION_REFUSED","description":"The request was refused"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"592e7ffa039e7","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED","rel":"information_link","method":"GET"}]} 2021-10-21T14:30:14+00:00 WARNING Failed to capture order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED
I just tried a different plugin and card payments are working flawlessly, its definitely something going on with this specific plugin.
Hello @geoffreyarce
Sorry to hear it didn’t help you get this resolved.
Some other things you could try:
– Sesubscribehe webhooks; this can be done from the settings tab “Webhooks Status” on the settings page of our plugin (WooCommerce > Settings > Payments > PayPal > Webhooks Status).
– Disable the card processing option from the plugin, in order to force the standard credit card option. This will leave you without the additional functionalities our plugin provides for credit card payments, but it should resolve your issue.Let me know if any of these 2 options get your issue resolved.
Kind regards,
JoostSince we haven’t heard back from you, I’m going to mark it as resolved.
In case you’re still having problems, feel free to let us know!
- The topic ‘Credit Card Payments Fail’ is closed to new replies.