#ctodan

1 messages · Page 1 of 1 (latest)

half ivyBOT
polar sonnet
#

In what sense? Can you say more about the flow here?

chilly tundra
#

ya, trying to add discounts for our subscriptions

#

user would enter a referral code

#

want to validate the code is valid, and then apply the discount to the subscrption

polar sonnet
#

That would be up to your system, if there's validation to perform beyond the coupon code itself

chilly tundra
#

ya more so just want to check it actually exists in stripe

#

so user cant just pass garbage

polar sonnet
#

So i would expect you to implement the referral validation/checks, then apply an appropriate discount coupon on the subscription according to your plan structure

chilly tundra
#

right, how do i search for the promocode by its name i guess?

polar sonnet
#

Listing promo code by customer-facing code

chilly tundra
#

oh i see

#

i can filter by code right

#

and does that always expand the coupon by default?

half ivyBOT
chilly tundra
#

in the response