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

Platformweb

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

4.6.0 #

  • Support Flutter 3.16
  • Fix invalid argument requires_capture on web (#1431).

4.5.0 #

  • Make sure Stripe web is compatible with Stripe platform interface 9.5.0+1

4.4.0 #

  • Make sure Stripe web is compatible with Stripe platform interface 9.4.0

4.3.0 #

FIXES

  • PaymentConfirmationRedirect enum value (#1221).
  • Confirmation redirect and stripeAccountId (#1201).
  • Multiple fixes in (#1270).

4.2.0 #

Fixes for web

  • Makes WebStripe a singleton accessible by WebStripe.instance
  • Allows to change the layout for the payment element. Closes #1260
  • Allows to change the full appearance for the payment element. It is possible to fully customize it by adding any of the values from the appearance api.
  • Fixes parsing PaymentMethod to contain dates and last4 digits. Closes #1212
  • Fixes parsing Address to not add empty strings if null. Closes #1208
  • Adds support for confirmAcssDebitPayment on web WebStripe.instance.confirmAcssDebitPayment. Ref #794
  • Fixes text color not sync with CardStyle on the web card field. Closes #541
  • Adds independent method for confirmIdealPayment: WebStripe.instance.confirmIdealPayment, that allows to pass a custom returnUrl. Ref #1075

4.1.1 #

Fixes

  • Move amount value to GooglePayPaymentMethodParams #1255
  • iOS: Apple Pay updatePlatformSheet now pass the errors #1230
  • iOS: Fixes styling parameter for ApplePayButton #1231
  • Android: Fixes bug that to display image in card form #1254
  • Sync with Stripe 0.27.1.

4.1.0 #

  • Update to platform interface 9.2.0.
  • Small fixes for the web

4.0.1 #

  • Adds support for SetupIntent
  • Adds support for Tokens Api
  • Adds support for PaymentElement
  • Allows to dynamically change the stripeAccountId for Connect users
  • Fixes PaymentConfirmationRedirect.ifRequired parsing error
  • Bump "stripe_js" to 3.0.0.

3.0.0 #

  • Comply to breaking changes in platform interface. No changes further.

2.1.1 #

  • Bump "flutter_stripe_web" to 2.1.1.

2.1.0+1 #

  • FIX: payment intent error in web (#1010).
  • FEAT: stripe js (#1052).

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

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)
View/report issues

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