#cowlover_subscription-collection-method
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/1243266561033109567
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
Hello!
Have you tried this yourself? Often the easiest way to develop an understanding (especially of more complicated integrations like Subscriptions) is to build something in test mode.
Specifically this guide: https://docs.stripe.com/billing/subscriptions/build-subscriptions
provides a good overview of this process. If the sub has a collection method of charge_automatically but the customer does not have a saved payment method, then the sub starts in an incomplete state waiting for the first payment.
We have systems in place using subscriptions with send_invoice and when a payment is successful we have saved the payment method and set to chargeautomatically
I jusut wanted to ask the question before investing dev time
You can achieve something similar with the following settings
payment_behavior='default_incomplete',
payment_settings='save_default_payment_method': 'on_subscription'},
I jusut wanted to ask the question before investing dev time
Fair
If your customer doesn't have a saved payment method you can still use the charge_automatically behavior. You will just need them to be on session so you can confirm the payment intent on the latest_invoice by collecting payment method details
@inner lion do not post in a thread that is not yours
I am not sure I fully understand. Let me elaborate some more on our current situation. Right now all of our subscriptions start as send_invoice. Also, just to be clear these subscription are connect subscriptions. So, invoices are initially sent (send_invoice) and then we have a webhook listening for when the payment is complete where we save it and at that point, we can save the method and set it to charge_automatically if we'd like. Basically, I wanted to know the behavior if we set it so charge_automatically initially. You mentioned it will be set to incomplete my understanding is this will not send an invoice. I didn't fully understadn the other settings you mentioned though.
Sorry now I'm confused. If you set the Subscription to charge_automatically we don't send the invoice in an email. We expect you to have the customer on-session (e.g. on your website) to complete the purchase.
Sorry it wasn't clear initially
So basically setting it to charge_automatically at first is a bad idea if we need an email to be sent to get the payment method?
Yes
okay thank you for making that clear. Sorry it feels like a stupid question after the fact. I just wanted to be sure the behavior.
No worries! I understand wanting to be sure you had not overlooked something
Arighty I think I am all good then. Have a wonderful day!
You too ๐