#chanlk
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.
- chanlk, 16 hours ago, 14 messages
Can you share the Subscription Schedule ID (sub_sch_xxx)?
sub_sched_1OPEnmKn5c1ZzBSkVcFAOhuQ
With reference to the subscription_schedule.updated event of this subscription schedule in https://dashboard.stripe.com/test/events/evt_1OPEoHKn5c1ZzBSkWp90w2vK (2023-12-20 01:42:57 UTC), subscription is available 30 seconds after the subscription schedule creation in https://dashboard.stripe.com/test/events/evt_1OPEnmKn5c1ZzBSkRTELnVba (2023-12-20 01:42:26 UTC)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I'd recommend listening to subscription_schedule.updated event for the subscription creation instead of using API retrieval
I would like to describe my use case to you. I am using SubscriptionSchedule to create a recurring subscription with a lower price for the first month. At this point, we have not collected any payment information from the user; they are entirely new to us. Therefore, after creating the SubscriptionSchedule, we hope to be able to redirect to the payment page as soon as possible for the user to complete the payment.
I hope to obtain the clientSecret for payment use from the SubscriptionSchedule as quickly as possible. If there is a better way to achieve this, please let me know. I would be very grateful.๐
In this case, I'd recommend creating a Subscription first which will allow subscription to be created immediately, then creating a Subscription Schedule on the given subscription later for future scheduling behaviour: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#changing-subscriptions
I understand. Let me give it a try first. Thank you for your response.
No problem! Happy to help ๐
By the way, I suggest that you consider adding this type of subscription model to the session API, as it is actually a very common pattern.๐