hafizur-rahman's avatar

Ppaypal payment gateway : Got Http response code 404 when accessing

Hello seniors, I was trying to integrate paypal payment gateway in my laravel project. But facing an issue.

here first I tried to redirect with these code: pls check https://i.postimg.cc/LsH5LYFx/explaination.png

"Got Http response code 404 when accessing " error. https://i.postimg.cc/nhVMQ9J0/error01.png

what can be the solution here?

Thanks in advance.

0 likes
5 replies
georgekeys11's avatar

A 404 response usually means the PayPal endpoint or route being called does not exist or is incorrect. Double-check the PayPal API URL, verify whether you're using the correct sandbox/live credentials, and ensure the package configuration matches the current PayPal API version. Also review your redirect URL and callback routes, as an invalid endpoint can trigger this error even when the code looks correct. Sharing the exact PayPal package and configuration details would make troubleshooting much easier....

Please or to participate in this conversation.