문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top