#saahil_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/1407725594405371915
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, looking into this now
Just to clarify, can you let me know specifically why you want to go from automatic to manual payments? Are you using usage based billing?
Mainly to support stablecoin payments in a similar fashion as card with charge automatically.
I don't mind paying invoices out of band either but it doesn't seem like subscriptions lifecycle management on stripe will play nice with the product requirement of gating access until payment.
Hey taking over here
We're not super familiar with stablecoin payments in here so I can't advise on that portion
But you could do a send_invoice subscription instead of charge_automatically so that each invoice is sent to customers for payment
The problem with send invoice is that the subscription is moved into an active state even without payment
The flow I currently use is subscription creation --> payment from payment sheet --> entitlement gain --> access to product.
Couldn't you start with charge_automatically for initial payment?
Then move to send_invoice?
Or is the concern for the recurring payments as well
I considered moving from charge_automatically to send_invoice but the payment method that I want to support is not allowed for charge_automatically.
I see
Well in your system you could keep track of successful payments
And not provision the access to the user unless they pay that first send_invoice subscription invoice
I'm okay with doing that as well, the problem then is that a send_invoice subscription needs an hour to finalize an invoice.
subscription creation --> user has to wait an hour --> payment from payment sheet --> provision based on payment --> access to product
If you have a recomendation for getting around step 2 above that'll unblock me
Cool, trying this out now.
So the final flow should look something like:
subscription creation --> finalize invoice --> payment from payment sheet --> provision based on payment --> access to product