#kingy
1 messages · Page 1 of 1 (latest)
Hi there!
I would recommend to try this in test mode to see how it works.
You can use Test Clocks for this: https://stripe.com/docs/billing/testing/test-clocks
But based on this, it looks like previous invoice will stay in Draft by default: https://stripe.com/docs/billing/subscriptions/pause#collect-payment-later
When you’re ready to collect payment for these invoices, set auto_advance back to true.
thanks
@upbeat marlin Is it possible for a subscription to created on a customer without any payment method attached?
Yes. That makes sense if the subscription has a free trial or a 100% off coupon.
I expected the payment_behavior=allow_incomplete to allow this. Ah, so only with trial or coupon?
What exactly is your end goal? You want to create a paid subscription without a payment method? So how will the user pay?
We essentially want the subscription to start now, and the customer will be aware of this on signup, but we don't want collection of the payment for a month or two. When we have other automated invoicing creation setup.
Then it looks like a free trial to me?
So create a Subscription with a 2 month free trial.
At that point we would invite them to add billing details, where they would pay for the previous 2 months too.
This way you don't need a PaymentMethod.
Yes:
- So create a Subscription with a 2 month free trial.
- Then later ask them for a payment method, using the
pending_setup_intenton the subscription object - Then add to the first non-zero invoice of the subscription the fee for the first two months
So the user would pay:
- first month: 0 (free trial)
- second month: 0 (free trial)
- third month (assuming they added a payment method): one-time payment for the first two month + the regular price of the subscription