#rogerfelt_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/1404828193906757704
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
This is the hosted page where I'd like to inform the customer about the subscription schedule
Hi there, no subscription schedules are not supported direcrtly via Checkout currently, though its feedback e've heard before and something I'd like to see us add in future!
For now, to achieve this you need to create the schedule for the subscriptions after its created without one via Checkout
That indeed sounds like something lots of people would want :)
Thanks for the quick reply, we'll make do with making it very clear on our website about the introductory price and maybe add a custom_text as well for the time being
What kind of scheduled change are you trying to make in this case?
Introductory pricing discounts "for a limited time subscribe for $discount_price per month for the first 3 months then $full_price going forward"
Hmm ok, there might be a way to get a similar result if you want to look at workarounds
briefly, you could set the sub to use the full price, but pre-apply a discount/promo that applies for 3 months to reduce to your promo price.
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-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.
If you create a coupon using amount_off for the price discount, duration=repeating and duration_in_months=3 then it would apply for the first 3 months
https://docs.stripe.com/api/coupons/create#create_coupon-duration_in_months
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can apply the coupon directly, too, but a promo code has a nicer customer-facing view with a code you can pick (eg INTRO-OFFER-THREE-MONTHs etc)
https://docs.stripe.com/api/promotion_codes/create#create_promotion_code-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.
Oh very nice, that should be easier to implement as well
I'll give this a try tomorrow, thanks a lot! ๐