Skip to content

Commit

Permalink
fix(frm): disallow payment rejection for payment intent status - canc…
Browse files Browse the repository at this point in the history
…elled
  • Loading branch information
kashif-m committed Jan 9, 2024
1 parent defd147 commit acb2fec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ impl<F: Send + Clone, Ctx: PaymentMethodRetrieve>
helpers::validate_payment_status_against_not_allowed_statuses(
&payment_intent.status,
&[
enums::IntentStatus::Cancelled,
enums::IntentStatus::Failed,
enums::IntentStatus::Succeeded,
enums::IntentStatus::Processing,
Expand Down

0 comments on commit acb2fec

Please sign in to comment.