Stripe Payment Request
<sc-stripe-payment-request></sc-stripe-payment-request>
This component let users create stripe payment request.
Component Codex
Properties
| Property | Description | Type | Default |
|---|---|---|---|
| amount | Amount | number | 0 |
| country | Country | string | 'US' |
| currencyCode | Currency | string | 'usd' |
| debug | Is this in debug mode. | boolean | false |
| error | ResponseError | ||
| formId | This is required to validate the form on the server | number | string | |
| label | Label | string | 'total' |
| order | Checkout Session | Checkout | |
| paymentMethod | string | ||
| prices | { [id: string]: Price; } | ||
| publishableKey | Stripe publishable key | string | |
| stripeAccountId | Your stripe connected account id. | string | |
| theme | Payment request theme | string | 'dark' |
Events
| Event | Description | Type |
|---|---|---|
scFormSubmit | CustomEvent<any> | |
scPaid | CustomEvent<void> | |
scPayError | CustomEvent<any> | |
scPaymentRequestLoaded | CustomEvent<boolean> | |
scSetState | CustomEvent<string> | |
scUpdateOrderState | CustomEvent<any> |
Shadow Parts
| Part | Description |
|---|---|
button |