Skip to content

Latest commit

 

History

History
92 lines (52 loc) · 1.8 KB

StripeUPECustomerInitializeOptions.md

File metadata and controls

92 lines (52 loc) · 1.8 KB

@bigcommerce/checkout-sdk / StripeUPECustomerInitializeOptions

Interface: StripeUPECustomerInitializeOptions

Table of contents

Properties

Methods

Properties

container

container: string

The ID of a container which the stripe iframe should be inserted.


gatewayId

gatewayId: string

The identifier of the payment provider providing the payment method. This option is only required if the provider offers multiple payment options. i.e.: Stripeupe and Klarna.


methodId

methodId: string

The identifier of the payment method.

Methods

getStyles

Optional getStyles(): undefined | { [key: string]: string; }

get styles from store theme

Returns

undefined | { [key: string]: string; }


isLoading

isLoading(mounted): void

A callback that gets called when Stripe Link Authentication Element is Loaded.

Parameters

Name Type
mounted boolean

Returns

void


onEmailChange

onEmailChange(authenticated, email): void

A callback that gets called whenever the Stripe Link Authentication Element's value changes.

Parameters

Name Type Description
authenticated boolean if the email is authenticated on Stripe.
email string The new value of the email.

Returns

void