Files
openfoodnetwork/app/models/spree
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
..
2020-08-07 13:45:25 +01:00
2020-11-27 13:59:46 +00:00
2021-04-21 18:17:20 +01:00
2020-12-10 15:33:34 +11:00
2021-04-29 08:56:17 +01:00