#romaten1-coupon
1 messages · Page 1 of 1 (latest)
Ok, thanks!
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.
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?
well how do you accept the promo code today? Using Checkout?
No, I use api for check promocode - add in config in subscriptions->create
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!