Closed Bug 704376 Opened 13 years ago Closed 13 years ago

Refund IPNs

Categories

(addons.mozilla.org Graveyard :: API, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: andy+bugzilla, Assigned: andy+bugzilla)

Details

Aren't what I expected. It comes in as this:

Nov 21 17:12:08 dev1.addons.phx1.mozilla.com: [<anon>][173.0.82.126] z.paypal:INFO IPN received: transaction%5B0%5D.refund_id=5R2127863K612604J&payment_request_date=Mon+Nov+21+15%3A23%3A02+PST+2011&return_url=https%3A//apps-preview-dev.allizom.org/en-US/apps/app/sinuous/purchase/complete%3Frealurl%3DNone%26uuid%3D79d12bb795f51076fdabc4469fa63c27&fees_payer=EACHRECEIVER&ipn_notification_url=https%3A//apps-preview-dev.allizom.org/services/paypal&sender_email=andy_1314044418_per%40gmail.com&verify_sign=AZaEavLPR5zSUXtRTTmChFWQGo0KA1HSqQzztoRbzzNCBM5AgDdhqD3c&test_ipn=1&transaction%5B0%5D.id_for_sender_txn=4LF75010405294253&transaction%5B0%5D.receiver=test-2_1296594913_per%40gmail.com&cancel_url=https%3A//apps-preview-dev.allizom.org/en-US/apps/app/sinuous/purchase/cancel%3Frealurl%3DNone%26uuid%3D79d12bb795f51076fdabc4469fa63c27&transaction%5B0%5D.is_primary_receiver=false&reason_code=Refund&pay_key=AP-65Y74544U7005101H&action_type=PAY&transaction%5B0%5D.id=6V9417167P586054V&memo=Purchase+of+Sinuous&transaction%5B0%5D.refund_account_charged=test-2_1296594913_per%40gmail.com&transaction%5B0%5D.refund_amount=USD+0.01&transaction%5B0%5D.status=Refunded&transaction%5B0%5D.paymentType=DIGITALGOODS&transaction%5B0%5D.status_for_sender_txn=Refunded&transaction%5B0%5D.pending_reason=NONE&transaction_type=Adjustment&tracking_id=79d12bb795f51076fdabc4469fa63c27&transaction%5B0%5D.amount=USD+0.01&status=COMPLETED&log_default_shipping_address_in_transaction=false&charset=windows-1252&notify_version=UNVERSIONED&reverse_all_parallel_payments_on_error=false :/data/www/apps-preview-dev.allizom.org/zamboni/apps/paypal/views.py:69

That's the IPN from PayPal that someone refunded in the PayPal API. The kicker is that the status is COMPLETED. Which is not what hte other bits said.

So we'll have to figure out what to do with the above to process the refund correctly.
https://github.com/mozilla/zamboni/commit/fe8e772
Status: NEW → RESOLVED
Closed: 13 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.