News:

Support the VirtueMart project and become a member

Main Menu

New paypal plugin not working.

Started by MikeEv, September 01, 2023, 16:42:28 PM

Previous topic - Next topic

MikeEv

Hello,

I hope everyone is doing well. I recently encountered a problem while trying to configure the new PayPal plugin for my website. When I logged into my PayPal account in the settings, all the necessary information was filled in, and it displayed "production" mode. However, when I attempted to make a payment, it redirected me to a PayPal screen that just kept loading indefinitely.

After some investigation, I decided to check the logs, and I noticed something peculiar. It seems that the plugin is attempting to send a request to the sandbox API instead of the production API. Has anyone else faced a similar issue with the PayPal plugin recently, or does anyone have any suggestions on how to resolve this problem? Your input would be greatly appreciated!

2023-09-01 14:33:50 VMDEBUG getCartHash  Var0: <pre>26cea0abe77b53c907dd0e563d4187bf</pre>

2023-09-01 14:36:11 VMDEBUG Getting new beartoken
2023-09-01 14:36:11 VMDEBUG PayPal sendCURL my URL https://api-m.sandbox.paypal.com/v1/oauth2/token Var0: <pre>grant_type=client_credentials</pre>

2023-09-01 14:36:11 THERE WAS AN ERROR GET/POST HTTPS://API-M.SANDBOX.PAYPAL.COM/V1/OAUTH2/TOKEN CODE: 401

Thank you in advance for your assistance.

Kind regards,

Mike

Milbo

Hello MikeEv, which version do you use currently? You get a pn. Greets
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/