Hi @trapbarn,
Can you please share the screen video record of the complete payment process including the blank page so that we can follow the same steps and try replicating it? Also, please switch the plugin to sandbox mode so that we can test the issue on your site.
Hi,
Thanks for responding.
I have created the sand box mode now and it seems to be behaving better.
Most grateful if you can check it out to see if it is performing as you would expect.
https://staging.trapbarn.com/basket/
Do you need a sand box buyer details?
I am getting another error now:
It says UNPROCESSABLE_ENTITY – The specified country requires a postal code
I have tried all the various options for selling to location but error persists.
Hopefully it should be easy as I am UK based and sell only into the UK.
Here is log
2021-12-09T21:41:58+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
{
"{\"name\":\"AUTHENTICATION_FAILURE\",\"message\":\"Authentication_failed_due_to_invalid_authentication_credentials_or_a_missing_Authorization_header_\",\"links\":": {
"{\"href\":\"https:\/\/developer.paypal.com\/docs\/api\/overview\/#error\",\"rel\":\"information_link\"}": ""
}
}
2021-12-09T21:43:32+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Setting Express Checkout ) ------------------->
stdClass Object
(
[METHOD] => SetExpressCheckout
[RETURNURL] => https://staging.trapbarn.com/wc-api/Eh_PayPal_Express_Payment/?c=express_details&express=false&p=https://staging.trapbarn.com/checkout/
[CANCELURL] => https://staging.trapbarn.com/basket/?cancel_order=true&order=wc_order_Jokwg2iLNaxt1&order_id=10870&redirect=https%3A%2F%2Fstaging.trapbarn.com%2Fcheckout%2F&_wpnonce=4e9619443a&cancel_express_checkout=cancel
[ADDROVERRIDE] =>
[BRANDNAME] => Fenn traps - direct from Trap Barn
[HDRIMG] => https://staging.trapbarn.com/pp-banner/
[LOGOIMG] => https://staging.trapbarn.com/checkout2/
[SOLUTIONTYPE] => Sole
[LOCALECODE] => en_GB
[LANDINGPAGE] => Billing
[L_PAYMENTREQUEST_0_NAME0] => Test
[L_PAYMENTREQUEST_0_DESC0] =>
[L_PAYMENTREQUEST_0_AMT0] => 0.01
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_ITEMURL0] => https://staging.trapbarn.com/product/test/
[PAYMENTREQUEST_0_AMT] => 0.02
[PAYMENTREQUEST_0_CURRENCYCODE] => GBP
[PAYMENTREQUEST_0_ITEMAMT] => 0.01
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0.01
[PAYMENTREQUEST_0_TAXAMT] => 0
[PAYMENTREQUEST_0_SHIPDISCAMT] => 0
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[MAXAMT] => 1.02
[PAYMENTREQUEST_0_SHIPTONAME] => Jim Grant
[PAYMENTREQUEST_0_SHIPTOSTREET] => 209 East Dulwich Grove
[PAYMENTREQUEST_0_SHIPTOSTREET2] => London
[PAYMENTREQUEST_0_SHIPTOCITY] => London
[PAYMENTREQUEST_0_SHIPTOSTATE] =>
[PAYMENTREQUEST_0_SHIPTOZIP] => SE22 8SY
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => GB
[PAYMENTREQUEST_0_SHIPTOPHONENUM] => 07747028955
[PAYMENTREQUEST_0_NOTETEXT] =>
[PAYMENTREQUEST_0_EMAIL] => ben@trapbarn.com
[PAYMENTREQUEST_0_PAYMENTREQUESTID] => 10870
)
OK, i have recorded a screen video as requested.
[video src="https://staging.trapbarn.com/wp-content/uploads/2021/12/Failure..mp4" /]
Did a lot more testing and it looks like the problem is related to the so-called “smart buttons”. When I turn them off, the process works correctly.
Hope this helps.
Hi @trapbarn,
Can you please share the system report via support?