Build the checkout

Build your checkout, then handle the result of each payment.

🚧

Early release

Online payments is in early development (MVP). This section may change.

Every online payment follows the same steps, whichever checkout you build.

flowchart LR
    A[Create a payment session] --> B[Shopper pays]
    B --> C[Shopper returns to your site]
    C --> D[Confirm the result:<br/>notification or status]
    D --> E[Capture, cancel<br/>or refund]
  1. Create a payment session. You get a pspReference. Keep it: every later operation on the payment uses it.
  2. The shopper pays on Aera's checkout page, in the embedded form, or directly with the method they chose in your checkout.
  3. The shopper returns to your success, cancel or error URL.
  4. Confirm the result on your server, with a notification or Get payment status. Never rely only on the return URL.
  5. Finish the payment. Capture it when you ship, or cancel it. Refund it later if needed. See Payment lifecycle.

Build your checkout

For one-click payments with a saved card, or your own Vipps MobilePay or Apple Pay button, see Direct payments.

Handle the result


Did this page help you?