We currently have limited customer service staffing due to Coronavirus (COVID-19) safety precautions. We encourage you to find quick answers to your questions by searching the community forum, visiting our Help Center, or messaging us (message response times will be delayed). Thank you for your patience.
New to the community? Welcome! Please read our Community Rules and Guidelines
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:
Can someone help me please?
Edit update: I receive a HTTP response 500 on IPN notification, this only in live.
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"...