CaCheckoutCarismar
The Carismar Checkout frame. Used for paying with manual invoice or external payment options
SASS-path: ./styles/components/molecules/ca-checkout-carismar.scss
Props
Name | Description | Type | Required | Default |
---|
checkout | The checkout data from the endpoint | Object | true | - |
Events
Event Name | Description | Parameters |
---|
update | Data has changed | The checkout data (Object) |
place-order | All fields are valid and the order can be placed | - |
Methods
Method | Description | Parameters |
---|
placeOrder | Validate all fields and emit the place-order event if valid | - |
updateCheckoutData | Update the internal checkoutData object with data from the api | data (Object) |
checkValid | Used to hide feedback if field becomes valid after error | valid (Boolean) |
validateAllFields | Validating all input fields | - |
showErrorFeedback | Show generic error | - |
Computed
Computed | Type | Description | From Store |
---|
orderConsentChecked | Boolean | Is the order consent checked? | No |