Skip to content

parseStripeException: log unrelated errors

bgm requested to merge bgm/stripe:logUnknownError into master

I encountered a scenario where a user was getting a "Unknown error 9000" from the Stripe processing, but I had nothing in the logs to help me understand the underlying issue.

With this log, I could see:

Stripe(9): doPayment (unknown error): BadMethodCallException: Property 'paymentIntentID' has not been set

It also helps to see (in the logs) how many people are having the same problem.

(about the specific error: we are on CiviCRM 5.65.x, was Stripe 6.9.1, event participant payment; I updated now to 6.9.3)

related issue: marketing/civicrm-website#303 (closed)

Edited by bgm

Merge request reports