WebStripe class

An implementation of StripePlatform that uses method channels.

Inheritance

Constructors

WebStripe()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateSettingsLazily bool
no setteroverride
urlScheme String?
getter/setter pair

Methods

buildCard({Key? key, required CardEditController controller, CardChangedCallback? onCardChanged, CardFocusCallback? onFocus, CardStyle? style, CardPlaceholder? placeholder, bool enablePostalCode = false, double? width, double? height, BoxConstraints? constraints, FocusNode? focusNode, bool autofocus = false, bool dangerouslyUpdateFullCardDetails = false}) Widget
override
canAddToWallet(String last4) Future<AddToWalletResult>
override
collectBankAccount({required bool isPaymentIntent, required String clientSecret, required CollectBankAccountParams params}) Future<PaymentIntent>
Methods related to ACH payments
override
collectBankAccountToken({required String clientSecret}) Future<FinancialConnectionTokenResult>
Methods related to financial connections
override
collectFinancialConnectionsAccounts({required String clientSecret}) Future<FinancialConnectionSessionResult>
override
confirmApplePayPayment(String clientSecret) Future<void>
override
confirmPayment(String paymentIntentClientSecret, PaymentMethodParams? params, [Map<String, String> options = const {}]) Future<PaymentIntent>
override
confirmPaymentSheetPayment() Future<void>
Confirm the payment on a payment sheet.
override
confirmSetupIntent(String setupIntentClientSecret, PaymentMethodParams data, [Map<String, String> options = const {}]) Future<SetupIntent>
override
createApplePayToken(Map<String, dynamic> payment) Future<TokenData>
override
createCardPaymentMethod(PaymentMethodParams data, [Map<String, String> options = const {}]) Future<PaymentMethod>
createGooglePayPaymentMethod(CreateGooglePayPaymentParams params) Future<PaymentMethod>
override
createPaymentMethod(PaymentMethodParams data, [Map<String, String> options = const {}]) Future<PaymentMethod>
override
createToken(CreateTokenParams params) Future<TokenData>
Creates a token for card details.
override
createTokenForCVCUpdate(String cvc) Future<String>
override
dangerouslyUpdateCardDetails(CardDetails card) Future<void>
Updates the internal card details. This method will not validate the card information so you should validate the information yourself. WARNING!!! Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance
override
googlePayIsSupported(IsGooglePaySupportedParams params) Future<bool>
override
handleNextAction(String paymentIntentClientSecret, {String? returnURL}) Future<PaymentIntent>
override
handleURLCallback(String url) Future<bool>
override
initGooglePay(GooglePayInitParams params) Future<void>
override
initialise({required String publishableKey, String? stripeAccountId, ThreeDSecureConfigurationParams? threeDSecureParams, String? merchantIdentifier, String? urlScheme, bool? setReturnUrlSchemeOnAndroid}) Future<void>
override
initPaymentSheet(SetupPaymentSheetParameters params) Future<void>
Configure the payment sheet using SetupPaymentSheetParameters as config.
override
isApplePaySupported() Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openApplePaySetup() Future<void>
override
presentApplePay(ApplePayPresentParams params) Future<void>
override
presentGooglePay(PresentGooglePayParams params) Future<void>
override
presentPaymentSheet() Future<void>
Display the payment sheet.
override
retrievePaymentIntent(String clientSecret) Future<PaymentIntent>
override
toString() String
A string representation of this object.
inherited
updateApplePaySummaryItems({required List<ApplePayCartSummaryItem> summaryItems, List<ApplePayErrorAddressField>? errorAddressFields}) Future<void>
override
verifyPaymentIntentWithMicrodeposits({required bool isPaymentIntent, required String clientSecret, required VerifyMicroDepositsParams params}) Future<PaymentIntent>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

element ↔ Element?
getter/setter pair
js → StripeJS
no setter

Static Methods

registerWith(Registrar registrar) → void