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'
debugIs this in debug mode.booleanfalse
errorResponseError
labelLabelstring'total'
pricesPrices{ [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