#dev-josue_docs
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1349201651738611732
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Promotion code is a user-facing code, which is meant for the customer to enter. Only coupon is available to be set on a subscription in the Dashboard
If you would like to set the promotion code in a subscription, only API is supported: https://docs.stripe.com/api/subscriptions/create#create_subscription-discounts-promotion_code
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@fierce ice , can I ask for your inputs on this use case?
Use Case:
*This feature allows existing paid users (referrers) to invite up to 5 people using a referral coupon.
Referred users (who have never subscribed to a paid plan before) can receive a 20% discount on their first paid plan subscription.
If the referred user subscribes, the referrer receives a 20% discount on their next payment, which they can choose to apply or not.*
My plan is to use promotional codes that points to coupon with 20% discount since on promotional code we can set eligible for first time users.
TEST
@analog pecan looks like you're in the wrong place, this thread is for someone else's question.
- If you have your own thread please chat there.
- If you have a question or a followup to a closed thread use one of the buttons in https://discord.com/channels/841573134531821608/842637025524842496 to get help (we don't reopen closed threads).
Note that posting inappropriate messages in other people's threads is against the rules. No worries if this was just an honest mistake, but anyone who violates the rules multiple times will be removed from this server.
@summer grail how are you going to create a subscription? Is it through dashboard or API?
Through API @fierce ice .