flutter_stripe_web 2.0.0
flutter_stripe_web: ^2.0.0 copied to clipboard
Stripe sdk for Flutter web platform.
2.0.0 #
** Breaking Changes **
- Move
PaymentMethodOptions
out ofPaymentMethodparams
so interface is similar with Stripe sdk.
Before
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
),
);
Now
```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
);
- Deprecate support for Flutter 2 in order to use the new expensive Androidviews. This improves the overall experience on Android.
Other changes
- FIX: web_checkout (#973).
1.3.0 #
- Sdk updates
1.1.1 #
- Sdk updates
1.1.0 #
- Sdk updates
1.0.0 #
** Breaking changes **
- Support Flutter 3.0.0
- Only supports application running on Freezed v2.0.0 and higher
- Changed parameter structure for
createPaymentMethod
,confirmPayment
,confirmSetupIntent
in line with latest changes of the Stripe SDK. For example
Stripe.instance.confirmPayment(
clientSecret,
PaymentMethodParams.ideal(
bankName: 'revolut',
),
);
Becomes
Stripe.instance.confirmPayment(
clientSecret,
PaymentMethodParams.ideal(
paymentMethodData:
PaymentMethodDataIdeal( 'revolut'),
),
);
0.1.4 #
- Keep stripe web in sync with platform interface
2.5.0
.
0.1.3 #
- Add support for paying with Klarna.
0.1.2 #
- Small bugfixes
0.1.1 #
- Fix [#494] Make
ShippingDetails
parameters nullable - Fix [#499] Update cardnumber when using
dangerouslyGetFullCardDetails
0.1.0 #
- Beta release for Stripe web.