#achilles_best-practices

1 messages ¡ Page 1 of 1 (latest)

latent geyserBOT
#

👋 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/1238195135301288059

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

indigo void
#

@dry cliff hello! I'm not sure I understand the question you have. If you use our Billing product and our Subscriptions API we do the automatic payment attempt for you

dry cliff
#

yes but if all retries fail, you either move the subscription to cancelled or leave the invoice due

indigo void
dry cliff
#

But I want this to be a on session payment flow , with stripe hosted ui to enter new payment method details if necessary. is there a way to do this?

indigo void
#

If you really want to do this on your own website/app then you look at the Invoice, it has payment_intent: 'pi_123' and that PaymentIntent has a client_secret that you can then use to render the PaymentElement client-side on your app

dry cliff
#

cool will check this out , if every invoice has a hosted url even after all retries fail , it'll work for me