Closed
Bug 686051
Opened 14 years ago
Closed 14 years ago
What to do when the transaction goes wrong
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
6.3.4
People
(Reporter: andy+bugzilla, Assigned: gkoberger)
References
Details
(Whiteboard: [t:muffin])
We've assumed a straight flow through to buying an addon or webapp that ends up at the thank you page. But that assumes paypal returns a 'COMPLETED' status when we check with PayPal that its been purchased.
But PayPal could come back with 'INCOMPLETE', 'CREATED', 'ERROR', 'EXPIRED' or 'PROCESSING'.
Error is easy, we need to show a nice error.
The others are little more tricky, should we poll the server until they work?
Either way, the addon / webapp should not be installed afterwards. This ticket is for making sure the front end copes correctly.
| Reporter | ||
Comment 1•14 years ago
|
||
Let's just cope with showing an error in this issue. Should just be a matter of altering the template shown back in paypal_thanks.
| Assignee | ||
Updated•14 years ago
|
Target Milestone: 6.2.6 → 6.2.8
| Reporter | ||
Comment 2•14 years ago
|
||
PROCESSING can be ignored. We are blocking payments that might produce this on the paypal end.
Updated•14 years ago
|
Priority: -- → P1
Updated•14 years ago
|
Target Milestone: 6.2.8 → 6.2.9
| Assignee | ||
Updated•14 years ago
|
Target Milestone: 6.2.9 → 6.3.0
| Assignee | ||
Comment 3•14 years ago
|
||
Andy, did we decide on polling? So, if we get "ERROR", we show an error. Anything else on the list, we poll until we get the right thing?
And since I don't even know where to start looking, what URL should I be polling? A paypal one? Or a Mozilla one?
| Reporter | ||
Comment 4•14 years ago
|
||
We are blocking any payments that result in pending. So you'll either get a pass or a fail there are no other conditions to worry about. You don't need to ping or poll paypal, theoretically the error will get passed into the template in purchase_complete.
Updated•14 years ago
|
Target Milestone: 6.3.0 → 6.3.2
| Assignee | ||
Comment 5•14 years ago
|
||
Code is written, but I can't figure out how to force PayPal to return an error so I can see if it actually works. Krupa? Andy?
| Reporter | ||
Comment 6•14 years ago
|
||
I don't know either. I do know that if you break the code and make it return an error, we can test then. It seems odd but that could become a waffle flag: break paypal. The problem is that as I understand it, the sandbox is pretty forgiving in and allows all things to work.
Updated•14 years ago
|
Target Milestone: 6.3.2 → 6.3.3
Updated•14 years ago
|
Target Milestone: 6.3.3 → 6.3.4
| Assignee | ||
Comment 7•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•