#romaten1-coupon

1 messages · Page 1 of 1 (latest)

serene kiln
#

Hi! Give me a few minutes to look into this.

magic verge
#

Ok, thanks!

serene kiln
#

It looks like that when you created this coupon, you set it as "eligible for first-time orders only". Since this customers made some purchases before, this coupon cannot be applied.

#

So I would recommend creating a new promo code without this restriction.

magic verge
#

Thanks for answer! Yes, I add "eligible for first-time orders only" for this promocode. But how do I can check promocode for only first user payment without including zero invoices. Or better use our server checks for this?

sinful wasp
#

well how do you accept the promo code today? Using Checkout?

magic verge
#

No, I use api for check promocode - add in config in subscriptions->create

sinful wasp
#

ah, ok

#

well then yeah, the way we check the promo code when you pass it to promotion_code on that API checks for 0-amount invoices in the way you describe, it's how that part of the API works(and we can't change it without an API version or adding some extra parameters/config that doesn't exist today) so for now it's not really possible

#

you could try to re-implement your own logic for determining if the promotion code should apply(and special case 0-amount invoices) then directly apply the coupon when your logic says it's good), but it would be a lot of work (you basically wouldn't be using our promotion codes at all, so you may as well just implement your own in that case). Sorry!