Skip to main content
Back to the Table of Contents

Coupon codes

A coupon code is a discount the customer types into their cart themselves, before paying. The discount is applied to the order amount and the reduced price goes to Stripe: it is indeed the discounted sum that is charged.

The code and the discount

  • Code — what the customer types. Case does not matter, and the code must be unique within your studio (another studio may use the same one).
  • Discount type — percentage (10 = 10%) or fixed amount.
  • Maximum discount — a cap, useful to bound a percentage on large orders. Empty = no cap.
  • Description — an internal note, to remind you what the code was for. The customer does not see it.

The guardrails

  • Active from / until — the validity window. Left empty, the discount is active immediately and never expires.
  • Usage limit — how many times the code may be used, across all customers. Empty = unlimited.
  • Per-customer limit — how many times a single customer may use it. Setting 1 makes it a one-shot code per person.
  • Minimum and maximum order value — the discount only applies to carts within that range.

A code refused at the cart is always refused for one of these reasons: it does not exist, its window is closed, a limit is reached, or the cart is out of range.

Following a code

The usage count is kept up to date automatically on the code’s record: that is the measure of how well your campaign worked. The code used is also kept on the order, with the discounted amount — so you know, order by order, what the discount cost.

Rather than deleting a code whose campaign is over, close its validity window: the orders that refer to it then keep their history intact.