GiveToken / GiftBox

Repository for Sizzle
0 stars 0 forks source link

/payments 500 error #1167

Closed wogsland closed 7 years ago

wogsland commented 7 years ago

Expected behavior

Should show table of payments

Actual behavior

Shows 500 error:

screen shot 2016-08-09 at 4 40 32 pm

Steps to reproduce

Log into an account with a payer for their org. In the Account dropdown click Payments.

wogsland commented 7 years ago

This was an artifact of a difference in the dev environment from production:

Stripe\Error\InvalidRequest Object ( [message:protected] => No such customer: cus_6RhEIt89wfz2mz; a similar object exists in live mode, but a test mode key was used to make this request.

Now catching Stripe exceptions on this page and ignoring them rather than letting them bubble up.