Woocommerce Paypal Advanced "user authentication failed"
-
Hey everyone,
Man I just cannot figure this out.
I keep getting an error for “user authentication failed” whenever I use the Paypal Advanced Credit Card option.I’ve checked my credentials, password etc and I cannot figure it out.
Any ideas what could be wrong?
Thanks!
-
Hi crobley,
I would check with PayPal Sandbox mode. Does that work?
Next up which PayPal plugin are you using?
I find this one solid: https://wordpress.org/plugins/paypal-for-woocommerce/Enable WordPress debug mode on your site. Here is a list of tutorials for you: http://conschneider.de/troubleshooting-skills-using-debug-mode/
This will gather diagnostic data for you.
Sorry for the late reply. Been trying to figure this out.
According to Paypal they are receiving an error: API error code 10413The totals of the cart item amounts do not match order amounts.
If you receive this error, be sure the total of the payment detail item parameters, such as ItemTotal, HandlingTotal, TaxTotal, and so forth add up to the order total.I’ve been looking through my tax settings and everything and it all seems fine.
The ONLY time I get this error is after applying a coupon code to a product.I’ve seen this in the past since PayPal does not like some discount logic and does not support prices including taxes. Is this “Woocommerce Paypal Advanced” by woothemes?
Correct.
If you can tell me your tax settings (screenshot), tax rates, type of discount etc I can check that against past findings. If there is a log in settings, enable that and send to support.woothemes.com too with the above info. Then they can look into it.
If you’re in the US, I’d also look into https://en-gb.wordpress.org/plugins/woocommerce-gateway-paypal-powered-by-braintree/ – this is the main method PayPal are promoting right now and might work better for you.
Thank you so much for the help!
Here is an album with some screenshots I tookAlso, regarding that paypal plugin you recommended. Will that allow you to enter a credit card number directly within the site? Thats why im using this dumb paypal advanced feature.
Yes, it uses tokens/javascript.
Cool thanks. Also let me know if there is anything that stands out as to be the cause of the errors on PayPal.
Nothing obvious, but I think the logs will help. I had similar problems with paypal pro but added some workaround for 1p rounding issues.
OK so I found the log file.
05-21-2016 @ 15:31:02 – Requesting for the Secured Token for the order 6554
05-21-2016 @ 15:31:02 – Requesting for the Secured Token for the order 6554 with following URL and Paramaters: https://payflowpro.paypal.com?VERBOSITY=HIGH&USER=LilBumsClothDiapers&VENDOR=LilBumsClothDiapers&PARTNER=PayPal&PWD=XXXX&SECURETOKENID=www.lilbu57407f36e39f49.55002224&CREATESECURETOKEN=Y&TRXTYPE=S&CUSTREF=6554&USER1=6554&INVNUM=WC-PPADV6554&AMT=17.39&FREIGHTAMT=7.00&COMPANYNAME%5B0%5D=&CURRENCY=USD&EMAIL=johnsmith@aaa.com&BILLTOFIRSTNAME%5B4%5D=John&BILLTOLASTNAME%5B5%5D=Smith&BILLTOSTREET%5B4%5D=555 &BILLTOCITY[8]=New York&BILLTOSTATE[2]=NY&BILLTOZIP=12563&BILLTOCOUNTRY[2]=US&BILLTOEMAIL=johnsmith@aaa.com&BILLTOPHONENUM=555555555&SHIPTOFIRSTNAME[4]=John&SHIPTOLASTNAME[5]=Smith&SHIPTOSTREET[4]=555 &SHIPTOCITY[8]=New York&SHIPTOZIP=12563&SHIPTOCOUNTRY[2]=US&BUTTONSOURCE=WooThemes_Cart&RETURNURL[62]=https://www.lilbumsclothdiapers.com/?wc-api=WC_Paypal_Advanced&URLMETHOD=POST&TEMPLATE=MINLAYOUT&PAGECOLLAPSEBGCOLOR=&PAGECOLLAPSETEXTCOLOR=&PAGEBUTTONBGCOLOR=&PAGEBUTTONTEXTCOLOR=&LABELTEXTCOLOR=&SHIPTOSTATE[2]=NY&CANCELURL[83]=https://www.lilbumsclothdiapers.com/?cancel_ec_trans=true&wc-api=WC_Paypal_Advanced&ERRORURL[73]=https://www.lilbumsclothdiapers.com/?error=true&wc-api=WC_Paypal_Advanced&SILENTPOSTURL[74]=https://www.lilbumsclothdiapers.com/?silent=true&wc-api=WC_Paypal_Advanced&L_NAME0[36]=Order 6554 – Lil Bums One Size Cl…&L_DESC0[58]=Order 6554 – Lil Bums One Size Cloth Diaper – Arrows x 1&L_QTY0=1&L_COST0=10.39&ITEMAMT=10.39
05-21-2016 @ 15:31:04 – Secured Token generated successfully for the order 6554
05-21-2016 @ 15:31:07 – Browser Info: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
05-21-2016 @ 15:31:07 – Show payment form(IFRAME) for the order 6554 as it is configured to use Layout C
05-21-2016 @ 15:31:46 – Relay Response INVOICE = WC-PPADV6554
05-21-2016 @ 15:31:46 – Relay Response SECURETOKEN = …
05-21-2016 @ 15:31:46 – Relay Response Order Number = 6554
05-21-2016 @ 15:31:46 – Relay Response Triggered: Array
(
[error] => true
[wc-api] => WC_Paypal_Advanced
[STATE] => NY
[RESPMSG] => User authentication failed
[SHIPTOSTREET] => 555
[SHIPTOSTATE] => NY
[STREET] => 555
[SHIPTOCITY] => New York
[LASTNAME] => Smith
[FIRSTNAME] => John
[SHIPTOZIP] => 12563
[SECURETOKEN] => …
[AMT] => 17.39
[SECURETOKENID] => http://www.lilbu…
[SHIPTOLASTNAME] => Smith
[CITY] => New York
[INVOICE] => WC-PPADV6554
[SHIPTOFIRSTNAME] => John
[ZIP] => 12563
[USER1] => 6554
[RESULT] => 1
[TRXTYPE] => S
)05-21-2016 @ 15:31:46 – Error Occurred while processing 6554 : User authentication failed, status: 1
05-21-2016 @ 15:31:48 – Browser Info: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
05-21-2016 @ 15:31:48 – Show payment form(IFRAME) for the order 6554 as it is configured to use Layout CCan you screenshot the order totals and line items from that order from our backend?
Is this what you need?
Car TotalNope, the order in the backend.
Oh so this then?
Huh, the total price doesn’t seem to add up correctly?It does. It’s fine. 17.39
You don’t have shipping enabled on your paypal account do you?
AMT=17.39 FREIGHTAMT=7.00 L_QTY0=1 L_COST0=10.39 ITEMAMT=10.39These are the only costs from your request and they add up fine!
The topic ‘Woocommerce Paypal Advanced "user authentication failed"’ is closed to new replies.