#nerder-discounts

1 messages ยท Page 1 of 1 (latest)

faint sageBOT
hallow furnace
#

Basically promo codes are codes you give to customers to apply a discount

#

Customers should only know those codes

#

Coupons are just for you to use on the backend

wise oriole
#

so, for instance, in my app, I'm thinking about presenting a place to to insert the promo code (customer facing)

#

i want a button to "apply" the code

#

to implement "apply", which I suspect will fail already if the coupon is not valid

#

in case of success will return the coupon associated with it

faint sageBOT
hallow furnace
#

Yeah you can do that

#

If this is a custom integration, then you'll need to do the lifting to apply the code yourself

#

Checkout would already handle everything for you, for example, if you enabled promo codes

wise oriole
#

yes it's a custom integration

hallow furnace
#

Is this a subscription one I assume?

wise oriole
#

both subscription and manual invoices

#

i've seen that the API is slightly different

#

for subscription, I can simply pass the coupon_id

#

instead for invoices, i to used discounts

floral hull
wise oriole
#

ok great

#

they are basically the same tho right?

floral hull
#

Kind of. The coupon applied to the Invoice will apply the discout defined by that Coupon to a single Invoice. For Subscriptions, it depends on how often the Coupon can be redeemed but it will apply to one or more Invoices generated by that Subscription

faint sageBOT