Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Kris01's avatar

PayPal Integration

Hello to everyone,

I keep having the same problem over and over again. I have set up a sandbox account for paypal (testig account), I have created and app and I have client_id, client_secret and I have set the return_uri to http://127.0.0.0.1:8000.

I am trying to login with socialite but it keeps telling me that either the redirect uri or client id are not valid, but im 100% sure they are

0 likes
2 replies
Snapey's avatar

as far as Paypal is required, your return uri is invalid because its not publicly accessible and not https

You may have to use a tool like expose to create a route back to your machine

https://expose.dev/docs/introduction

Please or to participate in this conversation.