useStripe () : { retrievePaymentIntent : ( clientSecret : string , ) => Promise < RetrievePaymentIntentResult > ; retrieveSetupIntent : ( clientSecret : string , ) => Promise < RetrieveSetupIntentResult > ; confirmPayment : ( paymentIntentClientSecret : string , data ?: PaymentIntent . ConfirmParams , options ?: CreateOptions , ) => Promise < ConfirmPaymentResult > ; createPaymentMethod : ( data : PaymentMethod . CreateParams , options ?: CreateOptions , ) => Promise < CreatePaymentMethodResult > ; handleNextAction : ( paymentIntentClientSecret : string , returnURL ?: string , ) => Promise < HandleNextActionResult > ; handleNextActionForSetup : ( setupIntentClientSecret : string , returnURL ?: string , ) => Promise < HandleNextActionForSetupResult > ; confirmSetupIntent : ( paymentIntentClientSecret : string , data : PaymentIntent . ConfirmParams , options ?: CreateOptions , ) => Promise < ConfirmSetupIntentResult > ; createTokenForCVCUpdate : ( cvc : string , ) => Promise < CreateTokenForCVCUpdateResult > ; handleURLCallback : ( url : string ) => Promise < boolean > ; confirmPaymentSheetPayment : () => Promise < ConfirmPaymentSheetPaymentResult > ; presentPaymentSheet : ( options ?: PresentOptions , ) => Promise < PresentPaymentSheetResult > ; initPaymentSheet : ( params : SetupParams ) => Promise < InitPaymentSheetResult > ; createToken : ( params : Token . CreateParams ) => Promise < CreateTokenResult > ; collectBankAccountForPayment : ( clientSecret : string , params : PaymentMethod . CollectBankAccountParams , ) => Promise < CollectBankAccountForPaymentResult > ; collectBankAccountForSetup : ( clientSecret : string , params : PaymentMethod . CollectBankAccountParams , ) => Promise < CollectBankAccountForSetupResult > ; verifyMicrodepositsForPayment : ( clientSecret : string , params : VerifyMicrodepositsParams , ) => Promise < VerifyMicrodepositsForPaymentResult > ; verifyMicrodepositsForSetup : ( clientSecret : string , params : VerifyMicrodepositsParams , ) => Promise < VerifyMicrodepositsForSetupResult > ; canAddCardToWallet : ( params : CanAddCardToWalletParams , ) => Promise < CanAddCardToWalletResult > ; collectBankAccountToken : ( clientSecret : string , params ?: CollectBankAccountTokenParams , ) => Promise < FinancialConnections . TokenResult > ; collectFinancialConnectionsAccounts : ( clientSecret : string , params ?: CollectFinancialConnectionsAccountsParams , ) => Promise < SessionResult > ; resetPaymentSheetCustomer : () => Promise < null > ; isPlatformPaySupported : ( params ?: { googlePay ?: IsGooglePaySupportedParams } , ) => Promise < boolean > ; confirmPlatformPaySetupIntent : ( clientSecret : string , params : PlatformPay . ConfirmParams , ) => Promise < PlatformPay . ConfirmSetupIntentResult > ; confirmPlatformPayPayment : ( clientSecret : string , params : PlatformPay . ConfirmParams , ) => Promise < PlatformPay . ConfirmPaymentResult > ; dismissPlatformPay : () => Promise < boolean > ; createPlatformPayPaymentMethod : ( params : PaymentMethodParams , ) => Promise < PaymentMethodResult > ; createPlatformPayToken : ( params : PaymentMethodParams , ) => Promise < PlatformPay . TokenResult > ; updatePlatformPaySheet : ( params : { applePay : { cartItems : PlatformPay . CartSummaryItem [] ; shippingMethods : ShippingMethod [] ; errors : ApplePaySheetError [] ; } ; } , ) => Promise < { error ?: StripeError < PlatformPayError > } > ; openPlatformPaySetup : () => Promise < void > ; } retrievePaymentIntent : ( clientSecret : string ) => Promise < RetrievePaymentIntentResult > retrieveSetupIntent : ( clientSecret : string ) => Promise < RetrieveSetupIntentResult > handleNextAction : ( paymentIntentClientSecret : string , returnURL ?: string , ) => Promise < HandleNextActionResult > handleNextActionForSetup : ( setupIntentClientSecret : string , returnURL ?: string , ) => Promise < HandleNextActionForSetupResult > handleURLCallback : ( url : string ) => Promise < boolean > resetPaymentSheetCustomer : () => Promise < null > isPlatformPaySupported : ( params ?: { googlePay ?: IsGooglePaySupportedParams } ) => Promise < boolean > dismissPlatformPay : () => Promise < boolean > openPlatformPaySetup : () => Promise < void > Defined in src/hooks/useStripe.tsx:69
M M N E P V F C I C P M F P C P T T A A A T R
useStripe hook