• Resolved mattox3

    (@mattox3)


    Last months we are experiencing issues with paypal payments via Braintree from US (works from EU countries just fine).

    All the payments from US fail with the following error:
    Braintree (PayPal) Payment Failed (Status code 81827: US state codes must be two characters to meet PayPal Seller Protection requirements.)

    I’ve been in contact with Braintree and they said that has to be fixed on the WooCommerce plugin.

    Are you aware of the issue and can this be fixed or is it the error on our side?

    I also asked on the WooCommerce support and they showed me that they do indeed use two characters US state codes however today I got the error again.

    Versions:
    -WC: 3.6.2
    -WooCommerce PayPal Powered by Braintree Gateway: 2.2.7

    Thank you in advance!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor SkyVerge

    (@skyverge)

    Hey?@mattox3,

    Thanks for writing to us about our plugin! I’m sorry to hear that the plugin isn’t working as expected. I’d be happy to help out here. ??

    I suspect you may be running into a theme or plugin conflict here as State codes are only 2 letters in WooCommerce typically.

    As a first step, I’ll need a bit more information on what the communication with the payment provider looks like to troubleshoot this issue further. Would you please get in touch with us through our contact form and send over a transaction log by following these steps?

    1. Go to
      WooCommerce > Settings > Payments, select the gateway, and change the Debug Mode setting to “Save to Log”.
    2. Run another test transaction using US as the billing country.
    3. Go to
      WooCommerce > Status > Logs and find the log from your transaction. Please note that the log may be in UTC/GMT time, so it may be offset by a few hours.
    4. Then, copy and paste the log file into Snippi.com or directly into your message.

    Once you’ve had a chance to gather the log file like described above, please send it over to us using our contact form and avoid pasting the sensitive details here.

    Thanks,

    Tamara

    • This reply was modified 5 years, 6 months ago by SkyVerge.
    • This reply was modified 5 years, 6 months ago by SkyVerge.
    Thread Starter mattox3

    (@mattox3)

    Thank you for your reply.

    What is weird is that paying with Cred Card via Braintree works fine, only PayPal has issues. How is that even possible, I am sure it uses the same state codes as for Paypal payment.

    I will have to make a copy of a site to do a Sandbox test so I will get back to you.

    Also, I am not sure, how there would be a conflict as this issue is present for the last 6 months or so, we did not have issues before.

    Will get back to you!

    Best regards,
    Matej

    Thread Starter mattox3

    (@mattox3)

    After moving the site to my local server and setting everything up (Braintree sandbox, setting up keys) I am getting the error “CURRENTLY UNAVAILABLE. PLEASE TRY A DIFFERENT PAYMENT METHOD.” – Again only for PayPal, not for a credit card – both are handled via Braintree.

    I tried with tweentyseventen theme, so the theme is not an issue.

    Plugin Contributor SkyVerge

    (@skyverge)

    Hey Matej,

    Thanks so much for your followup!

    It sounds like your Braintree Sandbox account may not have PayPal enabled within its settings – could you please login to the account and double-check that PayPal is enabled?

    I’d love to review the PayPal gateway logs if you could get in touch with us through our contact form, I’d really appreciate it!

    Thanks,

    Tamara

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Braintree (PayPal) payment not working in US’ is closed to new replies.