Handles payment for ecommerce orders.
(orderObject) ⇒ void
Callback function called when the user orders succesfully.
(errorObject) ⇒ void
Callback function called when the order fails.
Displays the relevant errors or success messages.
When added, if authentication is required, the user will be redirected to the card issuer's website where they will be required to complete the card authentication.
Learn how 3D secure layer works.
Displays the selected payment method if the user has selected one.
Input field to receive the card's number.
Input field to receive the card's expiration date.
Input field to receive the card's CVC.
The coupon section.
Shows the discounted price when a coupon is applied.
A button component that submits the payment. Accepts any prop that HTML button element supports.