Build the checkout
Build your checkout, then handle the result of each payment.
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]
- Create a payment session. You get a
pspReference. Keep it: every later operation on the payment uses it. - The shopper pays on Aera's checkout page, in the embedded form, or directly with the method they chose in your checkout.
- The shopper returns to your success, cancel or error URL.
- Confirm the result on your server, with a notification or Get payment status. Never rely only on the return URL.
- 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
Updated 4 days ago
Did this page help you?