Closed Bug 739438 Opened 13 years ago Closed 10 years ago

Fail gracefully when PayPal is down

Categories

(addons.mozilla.org Graveyard :: Public Pages, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: krupa.mozbugs, Unassigned)

References

Details

Attachments

(1 file)

Attached image screenshot (deleted) β€”
Fail gracefully when PayPal is down. We should just show notify something similar to what we show for Contributions ("There was an error communicating with PayPal.Please try again later")
Is there anything we can do to catch this?
Priority: -- → P1
There are two steps in the PayPal purchase process. We call PayPal's API to get a payment key. If that fails a PayPal error is raised. We can simulate this easily by throwing in an error.

For example try a raise PaypalError at the beginning of this method:

https://github.com/mozilla/zamboni/blob/master/apps/paypal/__init__.py#L131

It would be worth doing that just to double check.

And see also:

https://bugzilla.mozilla.org/show_bug.cgi?id=710798

If that passes we fire up the iframe. Once we've started the PayPal flow we are at paypals's mercy and there's almost we can do with errors at this point. Unless you can find a way to monitor the status of an iframe across a domain. I think yesterday this is the error we were seeing and I've no idea what we can do with it.
Depends on: 710798
bug 710798 covers what we need for the beta.
No longer blocks: 735054, 741557
Priority: P1 → P3
Severity: normal → enhancement
Thanks for filing this.  Due to resource constraints we are closing bugs which we won't realistically be able to fix.  If you have a patch that applies to this bug please reopen.

For more info see http://micropipes.com/blog/2014/09/24/the-great-add-on-bug-triage/
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: