#chanlk

1 messages ยท Page 1 of 1 (latest)

kind spearBOT
#

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
manic snow
#

Can you share the Subscription Schedule ID (sub_sch_xxx)?

chilly herald
#

sub_sched_1OPEnmKn5c1ZzBSkVcFAOhuQ

manic snow
#

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)

#

I'd recommend listening to subscription_schedule.updated event for the subscription creation instead of using API retrieval

chilly herald
#

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.๐Ÿ˜†

manic snow
chilly herald
#

I understand. Let me give it a try first. Thank you for your response.

manic snow
#

No problem! Happy to help ๐Ÿ˜„

chilly herald
#

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.๐Ÿ˜†