Skip to content

Sell from your own site, and take the payment on your store's checkout.

Headless checkout is a Novinzo app for selling from a website or app you built yourself. Your server creates a checkout session through its API with an API key, sends the buyer to the session's pay page on your store, and a signed webhook tells your server whether it was paid. It is available to every store at no charge, and Novinzo takes no percentage of a sale.

Your site keeps its own pages and cart. The payment, delivery and the order itself are the store's, as for a purchase made on the storefront, with the checks of the Fraud protection app if the store has added it. The buyer pays with every payment method the store offers.

24 hours
for a session to be paid
2 events
Checkout completed and Checkout expired
20
metadata strings of your own per session

Checked

Setting it up

  1. Add the app

    In Settings, open Apps and add Headless checkout. It asks to prepare checkouts and to read the orders they end in. It is not one of the apps a new store starts with.

  2. Create an app API key

    In Settings, open Developers, choose Create API key, pick the App API key type and tick Headless checkout. Only the store owner can create one, and it is shown once.

  3. Subscribe a webhook endpoint

    On the same page, add a webhook endpoint and select Checkout completed and Checkout expired. The app's own page in the dashboard lists these two events and says where to add them.

  4. Create a session when the buyer pays

    Your server posts the cart's variants and quantities, a success URL and a cancel URL to your store's domain. The answer has the session's id, its pay page URL and when it expires. Send the buyer to that URL.

  5. Fulfil from the webhook

    Checkout completed names the order the buyer paid with. Act on it, or on a read of the session from your server, never on the buyer arriving at your success URL, which anyone can open.

What the app does

Sessions on your store's domain
Calls go to the store's mynovinzo.com subdomain or its custom domain, and a key works only for the store it was issued for.
Prices checked again
The pay page prices the lines again, so the totals your server receives are what the lines cost when the session was made. Tax, shipping and a payment method's fee, where the store charges them, are added on the pay page.
Safe to retry
Send an Idempotency-Key, and the same request sent again returns the session it first made. Lines that cannot be sold as asked are refused with the reason for each one, and no session is made.
Affiliates for sales on your site
If the store runs Affiliates, your server can record a visitor's arrival on a link and pass the same visitor id when it makes the session, so the sale counts for that link.
Completed can follow expired
A payment started before a session expired, such as crypto that confirms late, can still complete it, so Checkout completed can follow Checkout expired.

What it does not do

No payment form on your site
The buyer pays on the store's pay page, not inside your page. The email you send is kept for your reference, and the pay page asks the buyer for theirs.
No coupons and no checkout questions
A session is paid at the prices of its lines: coupon codes and volume discounts from the Coupons app do not apply on its pay page. Questions set in the Checkout questions app are not asked there either.
No settings of its own
The app keeps no settings. How a session ends reaches you through the store's webhooks, which you manage under Developers.
No session that waits
A session can be paid for 24 hours. A buyer who comes back later needs a new one.

Who it is for

It suits a seller with a website or an app of their own who wants Novinzo's payments and delivery without its storefront. If you would rather build the whole frontend yourself, the store also has a JSON storefront API your site can call for the catalog, cart and checkout, and the developer docs describe it. If you have no site, a Novinzo theme is the simpler path.

Questions people ask

What is a headless checkout?
Your site handles the pages and the cart, and a separate checkout takes the payment. On Novinzo, your server creates the checkout session and the buyer pays on your store's pay page, then returns to your site.
Does the buyer leave my website to pay?
Yes. The pay page is on your store, and the URL a session answers with is on the store's mynovinzo.com subdomain, also when the store has a custom domain. Once paid, the buyer is sent to your success URL.
Does headless checkout cost anything?
No. The app is available to every store at no charge, and Novinzo takes no percentage of a sale. Your payment provider charges its own fee. Pricing.
How does my server learn the order was paid?
Through the Checkout completed webhook, which names the order, or by reading the session, whose status is open, completed, expired or cancelled. The checkout docs have the request and answer shapes.

Read on

More in Features

Your first sale is close make a shop, add a product, pick how you get paid.

We never hold your money. See how