Closed Bug 714907 Opened 13 years ago Closed 12 years ago

Refund failure possibly due to currencies.

Categories

(addons.mozilla.org Graveyard :: Code Quality, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

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

References

Details

gkoberger didn't get a refund from me. I don't feel too bad about that. I feel a bit bad that it might happen to others:

 File "/data/www/apps-preview.allizom.org/zamboni/vendor/src/django-radagast/radagast/wizard.py", line 56, in dispatch
   return self.steps[self.step](request, *args, **kw)

 File "/data/www/apps-preview.allizom.org/zamboni/apps/users/views.py", line 863, in refund_reason
   paypal.refund(contribution.paykey)

 File "/data/www/apps-preview.allizom.org/zamboni/apps/paypal/__init__.py", line 156, in refund
   d['refundStatus']))

PaypalError: Bad refund status for andy@clearwind.ca: INSUFFICIENT_BALANCE

Attached my Paypal balance, which is more than sufficient, but note the difference between CA and USD.

http://cl.ly/110r0P053c0Y2J2r1N38
Blocks: 710074
p2 to investigate at least
Blocks: 718560
No longer blocks: 710074
Priority: -- → P2
For insufficient balances we should expose the error on the page to the developer as well as drop it into our log files.

If the consumer asked for a refund, I guess we deny it, even though that's pretty lame from their point of view.  In cases like that I imagine they'll want to hit up marketplace support and people can sort it out in person.  Hopefully it will happen never.

I'd be curious if paypal had a flag to draw from other currencies but that may be a pipe dream.
Blocks: 735054
No longer blocks: 718560
Priority: P2 → P3
Assignee: nobody → amckay
Target Milestone: Q1 2012 → 6.4.8
Not this week @cvan :)
Target Milestone: 6.4.8 → 6.4.9
Target Milestone: 6.4.9 → 6.5.0
https://github.com/mozilla/zamboni/commit/c08e86
Status: NEW → RESOLVED
Closed: 12 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.