Inheritance
Object
PlatformInterface
StripePlatform
Implementers
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
buildPaymentRequestButton ({Key ? key , required VoidCallback onPressed , required PlatformPayWebPaymentRequestCreateOptions paymentRequestCreateOptions , BoxConstraints ? constraints , PlatformButtonType ? type , PlatformButtonStyle ? style })
→ Widget
canAddCardToWallet (CanAddCardToWalletParams params )
→ Future <CanAddCardToWalletResult >
canAddToWallet (String last4 )
→ Future <AddToWalletResult >
collectBankAccount ({required bool isPaymentIntent , required String clientSecret , required CollectBankAccountParams params })
→ Future <PaymentIntent >
Methods related to ACH payments
collectBankAccountToken ({required String clientSecret })
→ Future <FinancialConnectionTokenResult >
Methods related to financial connections
collectFinancialConnectionsAccounts ({required String clientSecret })
→ Future <FinancialConnectionSessionResult >
configurePlatformOrderTracking ({required PlatformPayOrderDetails orderDetails })
→ Future <void >
confirmPayment (String paymentIntentClientSecret , PaymentMethodParams ? params , PaymentMethodOptions ? options )
→ Future <PaymentIntent >
confirmPaymentSheetPayment ()
→ Future <void >
Confirm the payment on a payment sheet.
confirmSetupIntent (String setupIntentClientSecret , PaymentMethodParams data , PaymentMethodOptions ? options )
→ Future <SetupIntent >
createApplePayToken (Map <String , dynamic > payment )
→ Future <TokenData >
createGooglePayPaymentMethod (CreateGooglePayPaymentParams params )
→ Future <PaymentMethod >
createPaymentMethod (PaymentMethodParams data , [PaymentMethodOptions ? options ])
→ Future <PaymentMethod >
createToken (CreateTokenParams params )
→ Future <TokenData >
Creates a token for card details.
createTokenForCVCUpdate (String cvc )
→ Future <String >
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
googlePayIsSupported (IsGooglePaySupportedParams params )
→ Future <bool >
handleNextAction (String paymentIntentClientSecret , {String ? returnURL })
→ Future <PaymentIntent >
handleNextActionForSetupIntent (String setupIntentClientSecret , {String ? returnURL })
→ Future <SetupIntent >
handleURLCallback (String url )
→ Future <bool >
initCustomerSheet (CustomerSheetInitParams params )
→ Future <CustomerSheetResult ? >
Configure the payment sheet using CustomerSheetInitParams as config.
initGooglePay (GooglePayInitParams params )
→ Future <void >
initialise ({required String publishableKey , String ? stripeAccountId , ThreeDSecureConfigurationParams ? threeDSecureParams , String ? merchantIdentifier , String ? urlScheme , bool ? setReturnUrlSchemeOnAndroid })
→ Future <void >
initPaymentSheet (SetupPaymentSheetParameters params )
→ Future <PaymentSheetPaymentOption ? >
Configure the payment sheet using SetupPaymentSheetParameters as config.
intentCreationCallback (IntentCreationCallbackParams params )
→ Future <void >
Method used to confirm to the user that the intent is created successfull
or not successfull when using a defferred payment method.
isCardInWallet (String cardLastFour )
→ Future <IsCardInWalletResult >
isPlatformPaySupported ({IsGooglePaySupportedParams ? params , PlatformPayWebPaymentRequestCreateOptions ? paymentRequestOptions })
→ Future <bool >
Check if either google pay or apple pay is supported on device.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openApplePaySetup ()
→ Future <void >
platformPayConfirmPaymentIntent ({required String clientSecret , required PlatformPayConfirmParams params })
→ Future <PaymentIntent >
Start native Payment sheet to confirm payment intent
platformPayConfirmSetupIntent ({required String clientSecret , required PlatformPayConfirmParams params })
→ Future <SetupIntent >
Start native Payment sheet to confirm setup intent
platformPayCreatePaymentMethod ({required PlatformPayPaymentMethodParams params , bool usesDeprecatedTokenFlow = false })
→ Future <PlatformPayPaymentMethod >
Use native payment sheet to create payment method
presentCustomerSheet ({CustomerSheetPresentParams ? options })
→ Future <CustomerSheetResult ? >
Display the customersheet sheet.
presentGooglePay (PresentGooglePayParams params )
→ Future <void >
presentPaymentSheet ({PaymentSheetPresentOptions ? options })
→ Future <PaymentSheetPaymentOption ? >
Display the payment sheet.
resetPaymentSheetCustomer ()
→ Future <void >
Reset the payment sheet.
retrieveCustomerSheetPaymentOptionSelection ()
→ Future <CustomerSheetResult ? >
retrievePaymentIntent (String clientSecret )
→ Future <PaymentIntent >
retrieveSetupIntent (String clientSecret )
→ Future <SetupIntent >
toString ()
→ String
A string representation of this object.
inherited
updatePlatformSheet ({required PlatformPaySheetUpdateParams params })
→ Future <void >
verifyPaymentIntentWithMicrodeposits ({required bool isPaymentIntent , required String clientSecret , required VerifyMicroDepositsParams params })
→ Future <PaymentIntent >