Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.4.0-b1
-
Component/s: None
-
Labels:None
Description
To reproduce:
- Visit the client payment page
- Start a payment
- Use the test number "4000008400001629"
- Continue to payment confirmation
- Submit the payment
- See error "Your card was declined"
- Then view the new transaction in the widget, see that it is in the pending tab instead of the declined tab
One thing we can consider is changing StripePayments::captureStoredCc:
To
And views/default/cc_form.pdt
To
// Resubmit the form, bypassing this handler resubmitPaymentConfirmation();
This would resolve the proposed situation, but might not be ideal in every circumstance.