ReAI test store · Checkout payments work; test the full flow
ReAI/ commerce
NO
← Learn ReAI
CHECKOUT PATTERN

Checkout that stays on the store domain.

Complete hosted checkout sends the shopper directly to ReAI. Merchant checkout supplies a registered HTTPS `merchantCheckoutUrl`. The merchant page can collect contact and delivery details while ReAI still owns price, stock, discounts and payment.

Follow the flow

  1. Choose Merchant checkout in the cart.
  2. Confirm that the URL remains nettbutikk.reai.no/checkout/merchant/.
  3. Save contact and, when relevant, fulfillment on the merchant page.
  4. Continue to payment. Only the payment step leaves the merchant page.

Two valid patterns

Hosted checkout is the smallest and safest integration. Merchant checkout gives more control over brand, contact, delivery and pickup UI, but requires no-store, origin checks, optimistic revisions and a server-side Site credential.

Merchant checkout still uses the server-held Site credential.
POST /site/v1/commerce/checkout-sessions
{
  "lines": [{ "variantId": "<uuid>", "quantity": 1 }],
  "returnUrl": "https://nettbutikk.reai.no/checkout/return/",
  "merchantCheckoutUrl": "https://nettbutikk.reai.no/checkout/merchant/"
}
Next chapterProduct data into correct JSON-LD. ↗

Cart

Product subtotal—

Live catalog from ReAI. Payment mode and recipient are shown before checkout.

View cart