Skip to main content

Shopping Cart

Customers browsing your shop can add multiple products to a cart and pay for everything in a single checkout, instead of buying one product at a time. The cart lives in the visitor’s session — no account or login required to start one.
The cart is separate from single-product PayRequest Page checkouts, which are for one product (or one product plus custom fields) at a time.

How It Works

1

Add a product

Customers add a product from the shop or a product page. If the product has custom fields (options, add-ons), those are stored per cart line along with the quantity.
2

Quantity behavior depends on the product

For products with quantity selection enabled, adding the same product again increases its quantity. For products with quantity selection disabled, the product can only appear once in the cart — adding it again just updates its custom field values instead of creating a duplicate line.
3

Review and edit in checkout

On the checkout page, customers can edit quantity and custom fields per line, or remove an item entirely, before paying.
4

Checkout

Checkout collects billing details and payment method once for the whole cart — see Checkout Customization.

How Totals Are Calculated

Each cart line’s price is (product price + custom field markup) × quantity. The cart then adds up all lines plus any setup fees:
Subtotal      = Σ (line totals across all products)
Setup Fees    = Σ (one-time setup fee per recurring/service product with a setup fee, not multiplied by quantity)
Tax           = Σ (line tax + setup fee tax, calculated per product's tax rate — skipped entirely if the customer is tax-exempt)
Total         = Subtotal + Setup Fees + Tax
Custom field markups follow the field’s own pricing configuration — a fixed markup for toggles/select options, or quantity × per-unit price for number fields with per-unit pricing (see Custom Fields).
Setup fees are only counted once per order line, not once per unit — a €10 setup fee on a product with quantity 3 still only adds €10, not €30.

Cart Persistence & Recovery

  • The cart is stored in the browser session, not tied to a customer account — it survives page reloads but not across devices or after the session expires.
  • Adding a product via a dynamic link (a URL with ?product= and quantity/custom-field parameters) adds it to the cart automatically when the checkout page loads.
  • If a customer abandons checkout, PayRequest can send a recovery link that restores their exact cart contents — see Checkout Recovery.
  • The cart auto-migrates from any older stored format, so nothing breaks if the cart structure changes between visits.

FAQ

Yes. If any product in the cart is recurring, checkout switches to collecting a payment mandate (new or existing) instead of a one-time payment. See Checkout Customization.
Checkout re-loads live product data on every visit, so removed or price-changed products reflect current data. An empty cart automatically redirects the customer back to the shop.
Yes — if a logged-in customer is marked tax-exempt, tax is excluded from every line and the setup fee for that cart.
Yes, for products where that’s needed (e.g. domain products with different pricing per option), the cart can add the same product as distinct lines rather than merging them.

Next Steps

Checkout Customization

What happens after “Checkout”

Checkout Recovery

Recover abandoned carts automatically

Quantity-Based Pricing

Configure per-product quantity selection

Custom Fields

Add priced options to products