Welcome Guest, Not a member yet? Register   Sign In
Best way to react to Paypal IPN payment_status
#1

[eluser]Iszuddin Ismail[/eluser]
Now this is not much about Paypal IPN integration or coding. I got that covered.

I am building a digital delivery script that helps people sell digital products for download. And I am not sure what I should make my script do when getting certain Paypal IPN at times.

If you've done Paypal IPN integration before, you know that you get all these codes and statuses from them. Generally, they are:

payment_status
- Completed - create temp/expiring download page
- Pending - notify customer -- download will be created when receive Completed status
- Refunded - revoke/expire download page
- Reversed - revoke/expire download page
- Failed - notify customer, previously Pending
- Denied - owner did not accept payment, previously Pending, notify customer
- Canceled_Reversal - previously Reversed? recreate download page
- Processed - ???
- Expired - owner took too long to accept, previously Pending??
- Voided - ???

Do I have that right? Or how would you handle them?





Theme © iAndrew 2016 - Forum software by © MyBB