I know how to make coupons, but how do I make a one-time coupon for first-time customers?
Thanks!!
I know how to make coupons, but how do I make a one-time coupon for first-time customers?
Thanks!!
There might be an easier way, but I’d place a code in this hook:
gform_stripe_charge_pre_create
That checks the users IP or email against previous entries.
You can also check with Naomi from Gravity+. Her version of Stripe might have that option.
Take a look at this solution for programmatically creating coupons:
https://gravitywiz.com/creating-coupons-for-gf-coupons-add-on-with-gravity-forms/
That was specifically written for generating a coupon for use on a future visit (not the first-time) but you can use the methods to create something.
I’ve used this approach for gift certificates that are purchased and used on a site. It works splendidly!