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
nawaelkim's avatar

A 404 response typically indicates that the PayPal endpoint or route being accessed is either nonexistent or incorrect. It is advisable to thoroughly verify the PayPal API URL, confirm that you are utilizing the appropriate sandbox or live credentials, and ensure that the package configuration aligns with the current version of the PayPal API.

Additionally, examine your redirect URL and callback routes, as an invalid endpoint can result in this error even if the code appears to be correct. Providing the specific PayPal package and configuration details would significantly facilitate the troubleshooting process.

Please or to participate in this conversation.