Skip to main content

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

NameDescriptionTypeRequiredDefault
dataThe external checkout snippet received from the apiStringfalsenull
newCheckoutSessionIs it a new checkout session?Booleanfalsefalse
confirmIs this the confirm page?Booleanfalsefalse
typeWhat type of payment?KLARNA, SVEA, WALLEYtrue-

Methods

MethodDescriptionParameters
initializeInitializing the checkout frame-
initScriptInitializing all scripts-
suspendSuspend the checkout-
resumeResume the checkout-
fetchConfirmFetch the confirm frame-

Computed

ComputedTypeDescriptionFrom Store
orderIdStringThe external order idNo