#daley_best-practices
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/1346597887609405531
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, that depends on your skillset and your use case. Since you're creating subscriptions I recommend, https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements
I highly recommend that you toggle through the Stripe-hosted page, Embedded form and Custom flow to better understand how you'd integrate with Stripe. Once you've decided on that, you can use Customer Portal to collect payment method details: https://docs.stripe.com/billing/collection-method
After reviewing the above, let me know what specific questions you may have
I already finished the steps to create subscription with free trail. My problem is which one to use just to update the card without purchasing a new subscription.
I want to embed a Stripe UI to my web app for updating the card.
I know there is a Customer Portal but I don't want to redirect the user to other site if possible.
I see, you'd then want this: https://docs.stripe.com/payments/checkout/save-and-reuse?payment-ui=embedded-form
Thanks I'll give it a try.
Sure, you can also use https://docs.stripe.com/payments/checkout/free-trials?payment-ui=embedded-form#collect-payment which you can choose to automatically send a reminder email when a customer’s trial is about to expire. If you do not want to use Stripe Checkout and looking for a more customized option, you can use https://docs.stripe.com/payments/save-and-reuse flow
Also could you share me the embedded way to show the last 4 digits of the card on my web app?
I got this, thank you so much for the help.
Hi! Did you figure it out?
I'm working on something else, will try it tonight