#monogoto_89004
1 messages · Page 1 of 1 (latest)
Hi there
Hey
Not sure I understand exactly what you mean here
Can you elaborate or provide an example ID that I can look at?
we create a coupon and add this rule
as i understand this will effect only on customer that do not have any payment on the account correct?
Yes that's correct.
Can you share a Customer ID where you did not see that being the case?
Thanks looking
Ah okay you are applying the coupon directly here
Instead of a promo code
These restrictions are only for promo codes
i am not sure you write
take a look on this invoice
in_1Nt3WqCzEqb8pmeASLNxruSR
the promo code is what apply but it is still get the it
i have also expamle on live account
That isn't a promo code. See: https://dashboard.stripe.com/test/logs/req_N158PCte8yESAa
You are specifically passing a Coupon ID
Promotion codes aren't supported directly on Invoices
You can only use Promotion codes with Checkout or Subscriptions (https://stripe.com/docs/api/subscriptions/update#update_subscription-promotion_code)
Overall, you control the Coupon being added to the Invoice here. So if you don't want this to happen for this Customer/Invoice, then you should add validation to prevent it.
so i cannot use the API for doing that, i need to check manulay if this customer had payment/invoice and if so to prevent him reedem the coupon that correct?
If you are trying to apply a Coupon to an Invoice then yes, you would need to check this yourself.
You too