#Makedenge
1 messages · Page 1 of 1 (latest)
Hi there! I'll start with your second question first
No, it's not possible to have a PaymentIntent that doesn't require a PaymentMethod. A PaymentIntent is just that, a customer's intent to pay a specific amount. PaymentIntents track the state of a given payment, from having a PaymentMethod associated with it, to whether it's been confirmed, succeeded, etc.
Ok thanks for that @naive kestrel
Could you share more details about the invoice due date, how this fits into how you deliver a service, and your subscription flow overall?
Ok, so we have a subscription that allows for clients to pay later (after 21 days). When someone selects this subscription, its should become active right away. After 21 days, if the invoice is not paid, then the subscription becomes inactive
Ah got it!
I recommend using trials in this case, and specifying what should happen when the trial ends using trial_settings.end_behavior: https://stripe.com/docs/api/subscriptions/create#create_subscription-trial_settings
It sounds like you'll want to use create_invoice