Skip to Content
Subscriptions

Coupons

Create Altruon Billing coupons that customers redeem with a code at checkout, or that you apply to a subscription from the backoffice.

A coupon is a discount your customers redeem with a code, or that you apply to a subscription. It takes a percentage or a fixed amount off the whole invoice or off selected products, for the first invoice, for a limited period or forever. You create coupons in the backoffice and use them on every checkout.

Where a coupon is used
  1. You
    Create the coupon
    Discount, eligible products, duration and limits.
  2. Checkout
    Redeem the code
    Pre-applied, typed by the shopper, or sent in the session.
  3. Invoice
    Discount line
    Shown with the coupon's name on invoices.
The coupon code is what customers type and what you pass to a session.

Before you start

  • Your catalog has pricesTo limit a coupon to some products, their prices must exist first. See Product catalog.
  • You are an adminOnly admins can open Settings > Altruon Billing.

Create a coupon

Name the coupon and choose its code

Go to Settings > Altruon Billing, open the Coupons tab and click New coupon.

FieldWhat to enter
NameYour internal name, up to 50 characters.
CodeWhat customers enter at checkout, up to 50 characters. A code in capitals is suggested from the name, for example LAUNCH20. It cannot be changed later.
Name on invoicesOptional. Shown on the discount line. Leave it empty to use the name.

Set the discount

Under Type, choose Percentage and enter the Percentage off, from 0.01% to 100%. Or choose Fixed amount and enter the Amount off and its Currency.

Under Applied to, choose where the discount is taken off:

  • The whole invoice: taken off the invoice total.
  • Each eligible product: taken off each product you select. Under Eligible products, set Plans, Add-ons and One-off charges to All, Selected or None. With Selected, tick the prices the discount applies to. At least one must be eligible.

Set the duration and limits

Under How long the discount applies, choose:

OptionThe discount applies to
First invoiceThe first invoice only.
Limited periodEvery invoice for a set number of days, weeks, months or years.
ForeverEvery invoice, for the life of the subscription.

Two limits are optional:

  • Expires on is the last day the coupon can be redeemed. It must be in the future.
  • Maximum redemptions caps how many times the coupon can be redeemed. Leave it empty for no limit.

Click Create coupon.

Use a coupon at checkout

A coupon is identified by its Code everywhere:

  • Hosted pages. Pre-apply it in the hosted page editor, under Coupon codes.
  • Shopper entry. Enable Coupon code in Settings > Checkout > Fields to let shoppers type their own code on hosted pages and on dynamic hosted checkout.
  • Sessions. Pass the code in billingData.couponCodes.

The Coupons guide covers each checkout in detail, including how to let shoppers enter a code with Altruon.js.

To apply a coupon to a subscription from the backoffice, select it under Discounts when you create or edit the subscription. See Subscriptions.

Track and remove coupons

The Coupons tab lists coupons under Active, Expired and Archived. Each row shows the discount, the duration, how many times it was redeemed and when it expires.

To stop a coupon from being redeemed, click Remove coupon. A coupon that was never redeemed is deleted. One that was redeemed is archived, and you can restore it from Archived with Restore coupon.

Notes and limits

  • Codes are permanent. The code of a coupon cannot be changed after you create it.
  • Fixed amounts have a currency. A fixed amount coupon is only offered on a subscription in the same currency.
  • Eligible products are prices. With Selected, the coupon applies to the prices you tick, not to every price of a product.

Next steps