Apply coupon to existing subscription?

Hey guys,

Is there a way to apply a coupon to an existing subscription?

(One of our customer forgot to enter the coupon during checkout)
Comments
  • fc_adamfc_adam FoxyCart Team
    edited April 21
    @Epotratz,

    Good question. There is - and there are two ways you could approach it, depending on your needs.

    If you want your customer to receive an email notification that it was added - you can load the subscription using the subtoken URL and log in on the checkout using your Unified Order Entry password to login as the customer. You can then add the coupon on the checkout and complete it to update the subscription to include the coupon. The customer will then receive an email receipt showing that you've added the coupon - but they won't be charged anything today (all future charges).

    If you don't want to trigger an email notification, you can use the advanced edit within the administration. To access that, find the subscription in the administration, click edit, and then click the "advanced edit" button. A textarea will then appear containing a summary of the subscription. One without a coupon attached will have a node that looks like this:
    <discounts/>
    Replace that with code like this - assuming your coupon code has a code of mycode1:
    <discounts>
    <discount>
    <code><![CDATA[mycode1]]></code >
    </discount>
    </discounts>
    After saving, it will show a summary of the subscription, and you should see the coupon applied.
  • @fc_adam, great. Thank you.
Sign In or Register to comment.