PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Discount codes for subscriptions

  1. Is there any way to allow the customer to add a discount code for the PayPal add-on (I am doing a subscription based site). E.g. A customer would input a code like "ef091w" and then you could set a discount percentage and it would be applied with the said discount code (kind of a like a coupon)?

    - James

    Posted 11 years ago on Saturday March 2, 2013 | Permalink
  2. There is no coupon functionality built in to Gravity Forms right now, but there is a coupon add-on in development. Look for it in the coming weeks.

    In the meantime, this customer coded up something:
    https://github.com/curtismchale/Coupons-for-Gravity-Forms

    Posted 11 years ago on Saturday March 2, 2013 | Permalink
  3. Here's a workaround.

    Create two versions of your product fields with different pricing.

    Create a text field called "coupon code".

    Change the logic of your product fields to
    "hide this field if any of the following match: coupon code is XXX"
    and
    "show this field if any of the following match: coupon code is XXX"

    Right now I'm using this workaround to allow for a free product. If you enter the correct coupon code it hides the product and shows a dropdown menu instead that looks the same. The form will post and you will not get forwarded to Paypal.

    Gravity Forms has a lot of possibilities if you take the time to think your workflow through.

    Posted 11 years ago on Wednesday March 6, 2013 | Permalink
  4. Neat solution. Thank you for sharing it.

    Posted 11 years ago on Wednesday March 6, 2013 | Permalink
  5. John
    Member

    Chris,
    Thanks for the info. I'm looking forward to this coupon code add-on.

    Love Gravity Forms, thanks for the great product and support.

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  6. David Peralty

    It shouldn't be long after we release the final 1.7 version for everyone. All my best!

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  7. Looking forward to it. ;)

    Posted 11 years ago on Sunday June 2, 2013 | Permalink
  8. David Peralty

    Thanks vitamineg, it is progressing nice.

    Posted 11 years ago on Monday June 3, 2013 | Permalink