Author Topic: New paypal plugin not working.  (Read 444 times)

MikeEv

  • Beginner
  • *
  • Posts: 2
  • A beginner
New paypal plugin not working.
« on: September 01, 2023, 16:42:28 PM »
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!
Code: [Select]
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10663
  • VM4.0.232 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 4 on joomla 3
Re: New paypal plugin not working.
« Reply #1 on: September 27, 2023, 19:25:12 PM »
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/