1

I've enabled PDT, AUTO return, IPN, sent notify_url, success and return_url.

Even with the above set of I make a payment and it's successful, if the user closes the browser before being redirected to my site the payment isn't recorded.

I read IPN should resolve this and I can see the IPN history in my sandbox account but I don't know what causing the payment not to be recorded if the browser is closed before the user is redirected back to my site?

4
  • sounds like it is how your website is implemented. Your server needs to record the payment during the IPN callback but it sounds like it is recording it on the page the user is redirected to
    – Geoduck
    Dec 7, 2019 at 6:15
  • When you say "record the payment", what do you mean? Is there a particular value I need to set? At present I use the thank you URL as the IPN page as well so if the payment is successful it displays thank you or if it's a payment already processed then it redirects to a decline page.
    – Computer
    Dec 8, 2019 at 21:17
  • well, what do YOU mean by "payment not recorded"? If paypal shows it as paid, it is paid. If not, then it didn't complete
    – Geoduck
    Dec 10, 2019 at 18:48
  • By that I mean in on PayPal's website when i make a payment, if it's authorised it asks me to wait to be redirected. I deliberately close my browser and the successful payment is not recorded i.e. the details are NOT saved to my database. IF I leave the browser open at the same stage then the payment is recorded (so the user is redirected back to a thank you page)
    – Computer
    Dec 11, 2019 at 8:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.