[SOLVED] Working Sandbox not working in live
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm new in the forum and I have a problem with payments on a site made in PHP.
When I make the payment tests through Sandbox I do not have any problem, the three parameters "return", "cancel_return" and "notify_url" work well registering the orders or canceling them according to my choice.
If I disable the sandbox, it sends me correctly to the payment page and it allows me to make it, but once it is done, it sends me to the page set in the variable "cancel_return" despite the operation being successful.
Simply the only thing that changes in the code is the link to the sandbox:
'Https://www.sandbox.paypal.com/cgi-bin/webscr'
to
'Https://www.paypal.com/cgi-bin/webscr'
Can someone help me please?
Edit update: I receive a HTTP response 500 on IPN notification, this only in live.
Best regards!
- Labels:
-
IPN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've found the solution for my problem and I write it here to help:
To help me I've followed a tutorial for the IPN Listener and the link for verifing transaction was write "wrong"...
It was

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Things don’t appear to be working at the moment in PayPal Payments Standard
- p is not a function error using the example downloaded from Paypal in SDKs
- How to enable on-demand / recurring payments to existing PayPal checkout? in SDKs
- Unable to issue a refund from our business sandbox account in Sandbox Environment
- WooCommerce and PayPal GENERIC_ERROR dring CheckOut in PayPal Payments Standard