CaCheckoutExternal
Renders the external checkout frame from a snippet given by the API. Has built in support for Klarna, SVEA and Walley Checkout
SASS-path: ./styles/components/atoms/ca-checkout-external.scss
Props
| Name | Description | Type | Required | Default |
|---|
| data | The external checkout snippet received from the api | String | false | null |
| newCheckoutSession | Is it a new checkout session? | Boolean | false | false |
| confirm | Is this the confirm page? | Boolean | false | false |
| type | What type of payment? | KLARNA, SVEA, WALLEY | true | - |
Methods
| Method | Description | Parameters |
|---|
| initialize | Initializing the checkout frame | - |
| initScript | Initializing all scripts | - |
| suspend | Suspend the checkout | - |
| resume | Resume the checkout | - |
| fetchConfirm | Fetch the confirm frame | - |
Computed
| Computed | Type | Description | From Store |
|---|
| orderId | String | The external order id | No |