Skip to content

Commit

Permalink
fix: PaymentConfirmationRedirect enum value (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesblasco authored Apr 30, 2023
1 parent 909d069 commit 9cbc9a7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/stripe_js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 3.0.1
Fixes PaymentConfirmationRedirect.ifRedirect enum value parsing
## 3.0.0
- Adds support for SetupIntent
- Adds support for Tokens Api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ class ConfirmPaymentParams with _$ConfirmPaymentParams {
/// will only redirect if your user chooses a redirect-based payment method.
enum PaymentConfirmationRedirect {
always,
@JsonKey(name: 'if_required')
@JsonValue('if_required')
ifRequired,
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/stripe_js/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stripe_js
description: Stripe.js bindings for dart. This package is used by Stripe web so that the Stripe js sdk can be invoked directly.
version: 3.0.0
version: 3.0.1
homepage: https://github.com/flutter-stripe/flutter_stripe

environment:
Expand Down

0 comments on commit 9cbc9a7

Please sign in to comment.