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' |
| debug | Is this in debug mode. | boolean | false |
| error | ResponseError | ||
| label | Label | string | 'total' |
| prices | 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 |