• Resolved mrprainx

    (@mrprainx)


    Hello.

    It’s been days since I started trying to connect the PayPal Sandbox. It’s not the first time (nor the first website) on which I set up GiveWP.

    Days ago there was an issue on PayPal’s side. Then the pop-up windows that opens when you click on “connect sandbox” gave a 404 error for a few days.

    Now everything works, but when you complete the process and click on “Back to John Doe Test Site”…a critical error on the website happens and the process fails.

    What’s going on? Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mrprainx

    (@mrprainx)

    Here’s the datailed error I get in my inbox:

    Versione di WordPress 6.4.3Tema attivo: Hello Elementor Child (versione 3.0.0.1705480004)Plugin corrente: Give - Donation Plugin (versione 3.4.2)Versione PHP 7.4.33Dettagli dell'errore====================Un errore di E_ERROR è stato causato nella linea 253 del file /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Repositories/PayPalAuth.php. Messaggio di errore: Uncaught UnexpectedValueException: PayPal Commerce: Error retrieving access token in /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Repositories/PayPalAuth.php:253Stack trace:#0 /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Repositories/PayPalAuth.php(81): Give\PaymentGateways\PayPalCommerce\Repositories\PayPalAuth->validateAccessToken()#1 /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/onBoardingRedirectHandler.php(174): Give\PaymentGateways\PayPalCommerce\Repositories\PayPalAuth->getTokenFromClientCredentials()#2 /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/onBoardingRedirectHandler.php(115): Give\PaymentGateways\PayPalCommerce\onBoardingRe

    Plugin Support alexwcoleman

    (@alexwcoleman)

    [EDITED]

    Hi! I’ve just confirmed this issue and can replicate this. There was an issue with PayPal late last week that was resolved, and right now we think this is similar – the only difference is that it’s happening with Sandbox PayPal accounts. We’re chatting with PayPal and reply here when there’s more information. Have a good day!

    • This reply was modified 9 months ago by alexwcoleman. Reason: updated information regarding an actual issue with PayPal
    Thread Starter mrprainx

    (@mrprainx)

    Thank you Alex. I was indeed replying that I’ve already excluded every relevant GiveWP URL from caching (I don’t use single view, I don’t use legacy confirmation and failed pages and my hosting doesn’t allow parameters in URL exclusions)

    Plugin Support alexwcoleman

    (@alexwcoleman)

    Hi!
    I wanted pop back in here. I’ve been communicating with PayPal about this. There’s been no fix yet, but I’ve sent more information over to them this morning.

    Have a good day!

    Plugin Support alexwcoleman

    (@alexwcoleman)

    GiveWP has released version 3.5.1 of the core plugin. It fixes the issue of PayPal Donations not being able to connect.

    The issue was that PayPal had changed something on their end and not notified anyone of this. After collaborating with PayPal Engineers, GiveWP and PayPal found the issue and the fix.

    Before taking any steps for troubleshooting or updating, I highly recommend taking a good backup of the site you can confidently restore from. Having a backup of your site is essential to a solid workflow, and will allow you to restore to a previous version of the site if you run into any issues. You can read more about our top recommendations for taking a backup here: https://givewp.com/backup-for-faster-troubleshooting/

    Then, update GiveWP to version 3.5.1 and connect to PayPal. On some servers/hosts you might have to clear all the cache in both plugins and in your hosting account.

    Let us know if you have any issues and we’ll assist you. Have a good day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical error connecting PayPal Sandbox’ is closed to new replies.