Quickpay is a Danish financial service and software-as-a-service (SaaS) company that offers payment processing software and application programming interfaces (APIs) for eCommerce websites and mobile applications.
To get started, you need to create a Quickpay account. The Quickpay developer documentation provides all the resources you will need to optimize your payment integration. After getting an account, you will need:
The Remix Run Furniture v2 boilerplate includes a full Quickpay integration, including a confirmation webhook.
On the checkout page, we render the Quickpay Link component, which does 3 things:
In this boilerplate, we decided to save the cart in our own service layer, so we push the order to Crystallize only when the payment is successful.
When Quickpay redirects the buyer to the shop, it goes to the `/order/cart/${cartId}` page. This page is actually waiting for the Cart to be saved as an order in Crystallize.
Indeed, while everything is happening, Quickpay will call the confirm payment endpoint. This works because we provide the callback URL to Quickpay upon Link creation. (see link above)
The endpoint, when the event concerns a `payment`:
This boilerplate is also using our Node Service API Request Handlers that include 2 handlers to speed up your Quickpay integration.