#lmifflen_api
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/1216749660279144468
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ I don't think there is prebuilt functionality available for what you're describing. Since you're using Promotion Codes, is it safe to assume you're using Checkout Sessions or Payment Links to let your customers create their Subscriptions?
Yeah, we've been using payment links and checkout sessions depending on the scenario.
In our app we want to promote users to sign up and get the 7 day trial but we have some users that we want to give a first month free option.
I'd like them to access it the same way in the app and we just give them the promo code for the first month free.
That's not possible, you would need to know before creating the Checkout Session whether to include the trial period for the Subscription it creates. Overall I don't think Promotion Codes are a good fit here. I think you'd want to determine before creating the Checkout Session whether a Coupon or trial will be used, and adjust how you craete the Checkout Session accordingly.