#78_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/1407080030680645796
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
What Stripe surface are you using to collect payment method details?
Like are you using Stripe Checkout? If so, you can look at - https://docs.stripe.com/payments/checkout/free-trials?payment-ui=stripe-hosted#free-trials-without-payment-method
If you're using Payment Element + Subscriptions API then you should be able to create a Subscription with trial without needing a payment method attached to the customer.
To handle no payment methods after trial expires, you can listen to customer.subscription.trial_will_end webhook event which is fired prior to trial ending and check if the customer has a payment method saved, if not then you can handle it the way you'd like in your integration