#mymodian_best-practices

1 messages ¡ Page 1 of 1 (latest)

zealous yewBOT
untold ravineBOT
#

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.

zealous yewBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1256208169965846579

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

waxen fractal
#

Yes the schedule obviously automates the creation of the subscription to the desired date, so there's an assumption there that you've provided the payment details ahead of time. So you'll need to collect them via a Setup Intent, and then use the generated pm_xxx with the schedule

tribal ember
#

so there's only one way to achieve this, that is: create a setup checkout session to collect the customer's payment method, then pass it to param SubscriptionScheduleDefaultSettingsParams.DefaultPaymentMethod when create the subscription schedule. Is this correct?

waxen fractal
tribal ember
waxen fractal
#

i found that stripe will not collect the payment method too
What do you mean by that?

tribal ember
#

when i create a subscription, set TrialPeriodDays to 2, it will not generate a LatestInvoice to the subscription.

waxen fractal
waxen fractal
tribal ember
#

can you tell me the field name which contains the pending_setup_intent? i didn't find it in the object Invoice

waxen fractal
#

Oops, fixed the link

tribal ember
#

oh yes, i found it