Turn on checkout for a portal, connect Stripe or PayPal for the portal shop, charge tax at checkout, and follow up payments, problems and refunds in the portal's Payments tab.
A portal shop takes money through its own checkout. This page covers the money side: switching checkout on, connecting the payment accounts the shop uses, tax at checkout, and following up payments and refunds. How the shop works as a whole, and the order to set it up in, is on Sell in your portal.
To enter payment keys you need the permission to edit payment and provider settings (workspace admins have it).
Have your Stripe secret and publishable keys (Stripe Dashboard → Developers → API keys) or your PayPal Client ID, Secret and Webhook ID at hand.
Connect Stripe for the portal shop
Open Settings → Portal checkout (legacy keys)
Paste the Secret Key (starts with sk_live_ or sk_test_) and the Publishable Key (pk_live_ or pk_test_)
Turn on Sandbox / Test Mode while you test with test keys.
Click Connect & Auto-Configure
This saves the keys and registers the webhook in your Stripe account, so payments are confirmed automatically. You see "Stripe connected — webhook auto-configured", and the card shows "Webhook active — events will be received automatically".
Connect PayPal for the portal shop
In the PayPal card on the same screen, enter the Client ID and Secret, register the webhook address shown on the card in your PayPal account, and paste the Webhook ID PayPal gives you. Turn on Sandbox (test) credentials for test accounts. Click Save PayPal. Buyers are sent to PayPal to approve the payment and come back to the checkout, where the order is completed. Without the Webhook ID, PayPal's own notifications are refused (orders still complete when the buyer returns).
Turn on checkout and choose payment methods
The Checkout tab shows Checkout Configuration with an Enabled or Disabled badge. The setup is written in the Checkout Config (JSON) box, which starts with a working example; the Quick Start note on the screen lists the first keys to change. To switch checkout on, set "enabled": true and click Save Checkout Settings ("Checkout settings saved").
Under payment, list the methods buyers may use. Buyers see them as:
Method in the setup
Buyers see
What happens
stripe
Credit / Debit Card
Paid by card at checkout (needs the Stripe keys above).
paypal
PayPal
Redirect to PayPal (needs the PayPal keys above).
manual
Pay Later
The order is placed; you collect payment later.
offline
Pay on Delivery
The order is placed; payment is collected on delivery.
free
Free
No payment required.
Under postCheckout, name the module that receives each order. The buyer gets the Order confirmation e-mail, unless you list your own messages to send after checkout; then only those go out (see Portal e-mails).
Charge tax at checkout
Above the JSON box, Tax engine → Use it charges tax from Settings → Tax (rates per country, business buyers, tax on shipping) instead of the shop's own flat rate. It applies only while the workspace tax engine is on in Settings → Tax; the buyer's address re-prices the checkout before payment. Then set:
Product tax class field, and optionally the HSN / SAC field and Is-a-service field of your products;
the checkout field holding the buyer's VAT or GST number;
whether shop prices include tax: Prices with or without tax: as in Settings → Tax, Shop prices include tax or Shop prices exclude tax;
which address decides the tax (the one the buyer enters, shipping first; shipping; or billing);
Tax shipping too.
When your tax setup needs it, an EU VAT number the buyer enters is checked in the EU VAT register. See Set up tax.
Payments and refunds
The portal's Payments tab shows totals (Payments, Captured, Refunded) and a list with Date, Customer, Provider, Amount and Status. Search by e-mail, order or payment id, filter by status, provider and dates, and open a row for details: the payment id, the provider's reference, why it failed, and the refunds made (including ones made directly at the provider). Export CSV exports up to the 10,000 most recent payments. Seeing the tab needs the permission to view and export portal payments; without it the tab says "You don't have access to portal payments".
Refund: click it on a payment, enter the Amount (the full remaining amount by default; partial refunds are allowed) and an optional Reason, then confirm. Refunding needs the permission to refund portal payments. A portal payment also shows on the Payments card of the order it created, and Refund there does the same refund.
Rows marked Needs attention tell you what to do:
Note
What to do
Paid, but no order could be created
Create the order manually or refund the buyer.
Checkout was interrupted after the order was created
Check its line items, stock and confirmation e-mail.
Checkout was interrupted mid-completion
Check whether it was fulfilled, then complete or refund it.
Paid after the checkout was cancelled and the automatic refund failed
Refund the buyer.
Disputed marks a payment the buyer disputed with their bank; it cannot be refunded here while the dispute is open. Dispute lost marks one where the bank took the money back; only what is left can still be refunded.
Troubleshooting
Message or symptom
Why
What to do
"Invalid Stripe secret key format. Must start with sk_test_ or sk_live_"
The value is not a Stripe secret key.
Paste the secret key from your Stripe dashboard.
Buyers see "Card payments are not available for this store right now. Please choose another payment method or contact the store."
No Stripe keys in Portal checkout (legacy keys).
Enter the keys and click Connect & Auto-Configure.
"Webhook not configured — click Connect below to auto-register"
The Stripe webhook is missing.
Click Connect & Auto-Configure.
"Invalid JSON" / "The checkout config must be a JSON object"
The setup box has a typing mistake.
Correct the JSON and save again.
"This payment has an open dispute — respond to it at the payment provider instead of refunding"
The buyer opened a dispute.
Answer it in your Stripe or PayPal dashboard.
"Refund failed: …"
The provider refused the refund.
Check the payment in your provider's dashboard.
Buyers see "The payment received does not match the order total. Please contact the store."
The amount paid differs from the order.
Find the payment in the Payments tab; refund or complete it.