less than a minute read • Updated 2 hours ago
Add a setup fee to a subscription
How to charge a one-time setup fee alongside a recurring subscription using Foxy's bundled product functionality.
To charge a one-time setup fee alongside a subscription, use Foxy’s bundled product functionality to link a one-off product to your subscription product. The customer pays both on the initial checkout, but only the subscription product renews going forward.
Bundling also prevents the customer from removing the setup fee product from their cart individually to avoid the charge.
How to set it up
For example, for a $20/month subscription with a $5 setup fee:
https://YOURSTORE.foxycart.com/cart? name=Monthly+subscription&price=20&sub_frequency=1m &bundled_products[0][name]=Setup+fee&bundled_products[0][price]=5
On the initial checkout the customer pays $25 ($20 + $5). On all subsequent renewals, only the $20 subscription is billed — the setup fee product is not included.
See the bundled products documentation for full details on how to set up bundled products.
Using a setup fee to set a different first-period price
You can use the same approach to charge a different price for the first billing period compared to ongoing renewals. To do this, add a sub_startdate to the subscription product that matches its frequency — this delays the subscription’s first renewal by one period, giving the bundled product time to act as the first payment.
For example, for a subscription where the first month costs $5 and all subsequent months cost $20:
https://YOURSTORE.foxycart.com/cart? name=Monthly+subscription&price=20&sub_frequency=1m&sub_startdate=1m &bundled_products[0][name]=First+month&bundled_products[0][price]=5
The customer pays $5 at checkout. One month later, the $20 subscription begins billing.