• Resolved nathaniel45

    (@nathaniel45)


    Hello,

    I have this bug and nothing I do fixes it. In sandbox I can’t checkout. When I try it gives the error “We weren’t able to add this card. Check all the details are correct and try again or try a different card”

    I have cloned the site and on the clone I disabled all plugins but Woocom and PayPal.? I changed the theme to a default WordPress one as well.? And I still get the error.

    I then remove the connection to PayPal sandbox account and made a new test account. set it all back up and still the error.

    I then unset PayPal plugin and removed it.? Downloaded another copy and installed it.? Setup another sandbox account and still get the error.? Tried numerous credit cards and sand box accounts still get the error.

    We onbarded a real PayPal account and put it in sandbox mode and it to has the error.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • I know exactly your feeling, I have been struggling with the same issue, i don’t find anywhere a solution, neither paypal tech support could help, they say to activate advanced card checkout (?), but this doesn’t fix anything, i checked your site and tried to pay with a generated card from paypal but same error: “We weren’t able to add this card. Check all the details are correct and try again or try a different card.”.

    Things i tried:
    Created many sandbox merchant accounts and apps, i added the accounts to the plugin manually and automatic, used generated cards from paypal generator, used card from personal sandbox account, created a clean site on my local machine with just storefront, woocommerce and paypal payments, several combinations for Billing address, used different browsers (chrome, firefox, edge), cleared all caché from browser, i read the documentation with nothing relevant to the issue, i checked every log in woocommerce and paypal without seeing anything relevant, i searched in the entire web without anything relevant, i searched for videos in YT and there is some people who have card payment working normally in sandbox environment without problems.

    Errors found in browser console, maybe they are or not be relevant:
    Failed to load resource: net::ERR_CONNECTION_TIMED_OUT (this happen only when using sandbox accounts in woocommerce).
    ppxo_inline_guest_unhandled_error (this shows always after a failed adding card).

    Inside plugin configuration when click on webhook simulation, return the error: It seems that the webhook cannot be received. Check that your website is accessible from the Internet.
    Doesn’t matter if user relink webhooks or add new accounts, it happen always with sandbox connection, (error doesn’t happen with live paypal account added)

    After thousands of attempts, i decided to try my live paypal account in the plugin, did a checkout using my real card and the card payment was successfully accepted, but, then what is the purpose of the Sandbox?.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @nathaniel45

    This error is coming from PayPal due to invalid card payment details and should not directly be an issue with the plugin itself. So reinstalling the plugin or reconnecting your account should not make a difference.

    But could you please try changing the Card billing data handling setting from Use WC Checkout form data to Do not use WC Checkout form data to see if that makes a difference for you?

    The Smart Card fields then will request more data for you to enter instead of taking the data from the WooCommerce checkout form fields.

    Please let us know how this works for you. Thanks!

    Kind regards,
    Niklas

    After the reply of Inpsyde, i went to check his suggestion and selected (request all fields) and the card was accepted successfully, i didn’t stop there so i tried the option “use WC form data” and the payment went through as is supposed to be, i tested 4 combinations of cards, 1 from personal sandbox account and 3 from card test generator from PayPal, 4 different combinations of customers and everything worked fine.

    I don’t know what changed but it’s working as its supposed to be.

    Update: i went to your site and did a successfully purchase, i guess you didn’t change anything to it yet, so the error wasn’t by our setup.

    • This reply was modified 1 year, 6 months ago by vonfeuer.
    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @nathaniel45

    Could you tell us what the situation is on this matter? Did Niklas his advice help you resolve the issue, or are you still encountering the same problem? We have been talking with PayPal regarding this matter, and they are looking for information on this failure to further investigate the issue from their side. If you want to share details on this failure with us, you can open a private support request with us via these instructions.

    Please let us know what the status is on your side, or if we can mark this thread as resolved.

    Kind regards,
    Joost

    @joostvandevijver please check my last reply on this post, i think it’s fixed now, i will test it today again.

    Thread Starter nathaniel45

    (@nathaniel45)

    Hello Joost,

    I was programming extra billing fields and right before going live with the site I was no longer able to test order using PayPal sandbox. I began working on figuring out the issue as we need the store to work once launched. I first truncated the code I did, didn’t fix it. I then used Health Check & Troubleshooting plugin as it blocks the plugins as if they were all disabled and activated Woocom and PayPal only. I then used Health Check & Troubleshooting to switch themes. Then I tried to order, it didn’t fix it.
    I then changed sandbox with a newly made business and personal accounts, it didn’t fix it. I cloned the site and continued testing, it didn’t fix it. I removed Woocom and PayPal and reinstalled, didn’t fix it. I then new it’s 100% a Woocom or PayPal issue. I then went to another site of mine that is live and tested an order using sandbox. IT DID THE SAME ERROR “We weren’t able to add this card. Check all the details are correct and try again or try a different card”. This site was just launched so no orders yet so I went to another that has been live a log time with many orders and tested sandbox mode and you guessed it! “We weren’t able to add this card. Check all the details are correct and try again or try a different card”.

    The site I first encounter this error is live now and works fine. If PayPal sandbox is not going to work for test then it should just be removed as and option. This completely wasted 2 days trying to figure out. I have stopped testing orders in sandbox for now but sure hope this is fixed before I do my next one as I need confirmation all is functional before launch.

    -Nathaniel

    @nathaniel45 i checked your demo site days ago and the sandbox worked properly.
    Somebody is reading my messages?

    Thread Starter nathaniel45

    (@nathaniel45)

    I just emailed you all a link to the clone of the site this morning so not sure how you tested it. It works when live not in sandbox mode. Look I needed help in solving an issue that is happening on more then one site. I thought it would be in your interest to know it was happening and could program a fix. I’ll just see how things go on the next build and if I’m not able to test I’ll inform the client and they can figure out want they want to do. Go live untested or us another processor.

    @joostvandevijver @niklasinpsyde
    I just tested today again my SANDBOX environment and its working perfect paying via user or credit cards.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @vonfeuer

    yes, we only use the sandbox mode and we have not encountered this error so far, so it is hard to find out what is causing this.

    @nathaniel45 if you want us to take a closer look into this, you might want to open a private support engagement with us, so we can freely share logs, screenshot and other details (that you probably would not want to share on a public forum) and see if we can figure out what is happening here. 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,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @nathaniel45

    I think you already engaged us via the WooCommerce support desk, correct? If that is the case, you don’t need to engage us via the link provided in the previous message.

    Kind regards,
    Joost

    @joostvandevijver I was having the same problem, i started to talk to paypal team support and i guess they fixed it already, my sandbox environment started to work normally.
    I also tested the link provided by the user who open this post the day PayPal fixed it, i did a purchase normally without problem with a paypal generated card.
    this is his link, but i think its offline now: https://designstreetstudio.com/winir-wp/checkout/

    • This reply was modified 1 year, 6 months ago by vonfeuer.
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘We weren’t able to add this card error’ is closed to new replies.