#some1ataplace
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- some1ataplace, 5 days ago, 26 messages
If customer [0] on the promotion code creation is set, then only this customer can redeem this promotion code that other customers can't
If you don't specify customer, all customers can redeem this promotion code
[0] https://stripe.com/docs/api/promotion_codes/create#create_promotion_code-customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks. Another question too.. what happens if a customer uses a 100% off promo code? What would happen to a stripe connect account that normally gets a commission? Would the connect account not get a commission if the user uses the 100% off promo code? Or would it come out of reserves?
I just tried it and it seems like nothing happens. (the connect account does not get a commission).
Is there a way to programmatically mark a promo code as a +1 redemption? I don't want to attach it to a subscription. For now I decided to mark as active = False
Feel free to message me later and recommend to me if I am doing the right thing or not. If not, will come back tomorrow. Thanks.
Thanks for waiting!
Another question too.. what happens if a customer uses a 100% off promo code? What would happen to a stripe connect account that normally gets a commission? Would the connect account not get a commission if the user uses the 100% off promo code? Or would it come out of reserves?
If the discount is 100% off, then there is no application_fee to be transferred to connected account
Is there a way to programmatically mark a promo code as a +1 redemption? I don't want to attach it to a subscription. For now I decided to mark as active = False
If the promotion code has been redeemed, Stripe will compute for you and the number of redemptions can be found intimes_redeemedfield: https://stripe.com/docs/api/promotion_codes/object#promotion_code_object-times_redeemed
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
cool, i am happy about the 100% off thing
hmm I am doing this: https://stripe.com/docs/api/promotion_codes/update#update_promotion_code-active
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Doesn't look like times_redeemed will help me. I basically want to stop people from using the promo code
or mark it as +1 redemmed
Can you share the use case/scenario on what you want to do with the redemptions?