Question

Is there any way I can be notified that someone has approved a payment through SetExpressCheckout, if they don't get redirected back to my website?

ie. After they approve the payment I would receive a callback or payment notification.

If so, how would I do it?

Thanks.

Was it helpful?

Solution

Users will always be redirected to your site when using Express Checkout. They have to because the payment isn't final until you call DoExpressCheckoutPayment which can't occur until after they've been redirected back to your site. Maybe I don't understand what you're asking here..??

In any case, take a look at IPN (Instant Payment Notification). It will POST transaction data to a listener script you have on your server so you can automate post-order processing in real-time. Again, though, no IPN would be triggered form SetExpressCheckout alone because no payment has actually been made at that point.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top