I believe if a developer refunds something in PayPal, it will send us an IPN to let us know that (let's check that assertion before doing anything else). In this case we need to check the the refund or chargeback is handled appropriately. It feels like there's a lot of logic that could go on here, but essentially if the refund is valid, we use the same refund API to remove the purchase. IPNs currently come in here: https://github.com/jbalogh/zamboni/blob/master/apps/amo/views.py#L75 Some sample IPN requests are: https://intranet.mozilla.org/Paypal_and_AMO
https://www.x.com/developers/paypal/forums/adaptive-payments-api/adaptive-payments-refund-ipn-sandbox-not-conforming-docs ^- this indicates that refund IPNs will be sent to the IPN URL in the original payment.
Refund IPN support added in https://github.com/mozilla/zamboni/commit/a46a87631b442c8c149e0e2829ae312ecdcc2260#apps/amo/views.py Chargeback handling is the topic of bug 695423.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.