Files
openfoodnetwork/app
Matt-Yorkley e686a4f627 Move raising of errors when payment intent state != "requires_capture" out of PaymentIntentValidator service
When we're fetching the payment intent via PaymentIntentValidator in StripeSCA#purhcase (to capture it), we want it to fail loudly if it's not in "requires_capture" state. We're now also re-using the same PaymentIntentValidator service to check if payment processing was *successful*, in which case we need it *not* to fail loudly if the state == "succeeded", eg != "requires_capture".
2021-05-16 12:19:04 +01:00
..
2021-05-03 14:17:54 +01:00
2021-04-04 12:27:46 -07:00
2021-05-03 14:17:54 +01:00
2021-05-08 17:29:38 -07:00