Checkout
Add Mollie payments to my Next.js shop for space facts with @mollie/api-client: on the server, create a payment with the amount in EUR as a string with 2 decimals, a description, a redirectUrl to the order page and a webhookUrl to /api/mollie/webhook. Save the payment id with the order and send the buyer to the checkout link with a 303 redirect.
