Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Namespaces

Enumerations

Interfaces

Type aliases

ReactComponents Variables

Other Functions

ReactComponents Functions

Type aliases

ApplePayResult

ApplePayResult: { error?: undefined; paymentMethod: PaymentMethod } | { error: StripeError<ApplePayError>; paymentMethod?: undefined }

ConfirmPaymentResult

ConfirmPaymentResult: { error?: undefined; paymentIntent: PaymentIntent } | { error: StripeError<ConfirmPaymentError>; paymentIntent?: undefined }

ConfirmPaymentSheetPaymentResult

ConfirmPaymentSheetPaymentResult: { error?: StripeError<PaymentSheetError> }

Type declaration

ConfirmSetupIntentResult

ConfirmSetupIntentResult: { error?: undefined; setupIntent: SetupIntent } | { error: StripeError<ConfirmSetupIntentError>; setupIntent?: undefined }

CreateGooglePayPaymentMethodResult

CreateGooglePayPaymentMethodResult: { error?: undefined; paymentMethod: PaymentMethod } | { error: StripeError<GooglePayError>; paymentMethod?: undefined }

CreatePaymentMethodResult

CreatePaymentMethodResult: { error?: undefined; paymentMethod: PaymentMethod } | { error: StripeError<CreatePaymentMethodError>; paymentMethod?: undefined }

CreateTokenForCVCUpdateResult

CreateTokenForCVCUpdateResult: { error?: undefined; tokenId: string } | { error: StripeError<ConfirmSetupIntentError>; tokenId?: undefined }

CreateTokenResult

CreateTokenResult: { error?: undefined; token: Token } | { error: StripeError<CreateTokenError>; token?: undefined }

ErrorType

ErrorType: "api_connection_error" | "api_error" | "authentication_error" | "card_error" | "idempotency_error" | "invalid_request_error" | "rate_limit_error"

GooglePayInitResult

GooglePayInitResult: { error?: undefined } | { error: StripeError<GooglePayError> }

HandleCardActionResult

HandleCardActionResult: { error?: undefined; paymentIntent: PaymentIntent } | { error: StripeError<CardActionError>; paymentIntent?: undefined }

InitPaymentSheetResult

InitPaymentSheetResult: { error?: undefined; paymentOption?: PaymentOption } | { error: StripeError<PaymentSheetError>; paymentOption?: undefined }

OpenApplePaySetupResult

OpenApplePaySetupResult: { error?: undefined } | { error: StripeError<ApplePayError> }

PayWithGooglePayResult

PayWithGooglePayResult: { error?: undefined } | { error: StripeError<GooglePayError> }

PresentPaymentSheetResult

PresentPaymentSheetResult: { error?: undefined; paymentOption?: undefined } | { error?: undefined; paymentOption?: PaymentOption } | { error: StripeError<PaymentSheetError>; paymentOption?: undefined }

RetrievePaymentIntentResult

RetrievePaymentIntentResult: { error?: undefined; paymentIntent: PaymentIntent } | { error: StripeError<RetrievePaymentIntentError>; paymentIntent?: undefined }

RetrieveSetupIntentResult

RetrieveSetupIntentResult: { error?: undefined; setupIntent: SetupIntent } | { error: StripeError<RetrieveSetupIntentError>; setupIntent?: undefined }

ReactComponents Variables

Const CardField

CardField: ForwardRefExoticComponent<CardFieldProps & RefAttributes<Methods>> = ...

Card Field Component

example
<CardField
   postalCodeEnabled={false}
   onCardChange={(cardDetails) => {
   console.log('card details', cardDetails);
     setCard(cardDetails);
   }}
   style={{height: 50}}
 />
param

Props

returns

JSX.Element

Const CardForm

CardForm: ForwardRefExoticComponent<CardFormProps & RefAttributes<Methods>> = ...

Card Form Component

example
<CardForm
   onFormComplete={(cardDetails) => {
   console.log('card details', cardDetails);
     setCard(cardDetails);
   }}
   style={{height: 200}}
 />
param

Props

returns

JSX.Element

Other Functions

Const confirmApplePayPayment

Const confirmPayment

Const confirmPaymentSheetPayment

Const confirmSetupIntent

Const createGooglePayPaymentMethod

Const createPaymentMethod

Const createToken

Const createTokenForCVCUpdate

Const handleCardAction

Const handleURLCallback

Const initGooglePay

Const initPaymentSheet

Const initStripe

Const isApplePaySupported

Const openApplePaySetup

Const presentApplePay

Const presentGooglePay

Const presentPaymentSheet

Const retrievePaymentIntent

Const retrieveSetupIntent

Const updateApplePaySummaryItems

useApplePay

useConfirmPayment

useConfirmSetupIntent

useGooglePay

usePaymentSheet

useStripe

ReactComponents Functions

ApplePayButton

AuBECSDebitForm

  • BECS Debit form component

    example
     <AuBECSDebitForm
       companyName="Example Company Inc."
       onComplete={value => onComplete(value)}
       style={{ width: '100%', height: 500 }}
     />
    

    Parameters

    JSX.Element

GooglePayButton

StripeContainer

StripeProvider

  • StripeProvider Component

    example
     <StripeProvider
       publishableKey="_publishableKey"
       merchantIdentifier="merchant.com.stripe.react.native"
       threeDSecureParams={{
         backgroundColor: "#FFF",
         timeout: 5,
       }}
     >
       <App />
     </StripeProvider>
    

    Parameters

    JSX.Element

Legend

  • Property
  • Method

Generated using TypeDoc