Skip to main content

Stripe Payment Request

<sc-stripe-payment-request></sc-stripe-payment-request>

This component let users create stripe payment request.

Component Codex​

Properties

PropertyDescriptionTypeDefault
amountAmountnumber0
countryCountrystring'US'
currencyCodeCurrencystring'usd'
debugIs this in debug mode.booleanfalse
errorResponseError
formIdThis is required to validate the form on the servernumber | string
labelLabelstring'total'
orderCheckout SessionCheckout
paymentMethodstring
prices{ [id: string]: Price; }
publishableKeyStripe publishable keystring
stripeAccountIdYour stripe connected account id.string
themePayment request themestring'dark'

Events

EventDescriptionType
scFormSubmitCustomEvent<any>
scPaidCustomEvent<void>
scPayErrorCustomEvent<any>
scPaymentRequestLoadedCustomEvent<boolean>
scSetStateCustomEvent<string>
scUpdateOrderStateCustomEvent<any>

Shadow Parts

PartDescription
button