flutter_stripe_web 2.1.1 copy "flutter_stripe_web: ^2.1.1" to clipboard
flutter_stripe_web: ^2.1.1 copied to clipboard

Platformweb
outdated

Stripe sdk bindings for the Flutter web platform. This package contains the implementation of the platform interface for web.

2.1.1 #

  • Fix payment intent error in web (#1010).

2.1.0 #

  • Stripe on web can be loaded without
  • The internals js binding have been refactored to be more stable

2.0.1 #

  • Sdk updates

2.0.0 #

** Breaking Changes **

  • Move PaymentMethodOptions out of PaymentMethodparams 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.2.0 #

  • Several fixes by the Stripe sdk v.0.15.0.

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.
51
likes
120
points
49.3k
downloads

Publisher

verified publisherflutterstripe.io

Weekly Downloads

Stripe sdk bindings for the Flutter web platform. This package contains the implementation of the platform interface for web.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, freezed_annotation, js, stripe_js, stripe_platform_interface

More

Packages that depend on flutter_stripe_web