Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    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://www.ads-software.com/plugins/paypal-for-woocommerce/

    Enable WordPress debug mode on your site. Here is a list of tutorials for you: https://conschneider.de/troubleshooting-skills-using-debug-mode/

    This will gather diagnostic data for you.

    Thread Starter crobley

    (@crobley)

    Sorry for the late reply. Been trying to figure this out.
    According to Paypal they are receiving an error: API error code 10413

    The 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.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    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?

    Thread Starter crobley

    (@crobley)

    Correct.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    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.www.ads-software.com/plugins/woocommerce-gateway-paypal-powered-by-braintree/ – this is the main method PayPal are promoting right now and might work better for you.

    Thread Starter crobley

    (@crobley)

    Thank you so much for the help!
    Here is an album with some screenshots I took

    Also, 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.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Yes, it uses tokens/javascript.

    Thread Starter crobley

    (@crobley)

    Cool thanks. Also let me know if there is anything that stands out as to be the cause of the errors on PayPal.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Nothing obvious, but I think the logs will help. I had similar problems with paypal pro but added some workaround for 1p rounding issues.

    Thread Starter crobley

    (@crobley)

    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 protected]&BILLTOFIRSTNAME%5B4%5D=John&BILLTOLASTNAME%5B5%5D=Smith&BILLTOSTREET%5B4%5D=555 &BILLTOCITY[8]=New York&BILLTOSTATE[2]=NY&BILLTOZIP=12563&BILLTOCOUNTRY[2]=US&[email protected]&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] => https://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 C

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Can you screenshot the order totals and line items from that order from our backend?

    Thread Starter crobley

    (@crobley)

    Is this what you need?
    Car Total

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Nope, the order in the backend.

    Thread Starter crobley

    (@crobley)

    Oh so this then?
    Huh, the total price doesn’t seem to add up correctly?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    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.39

    These are the only costs from your request and they add up fine!

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Woocommerce Paypal Advanced "user authentication failed"’ is closed to new replies.