#kingy

1 messages · Page 1 of 1 (latest)

radiant horizonBOT
upbeat marlin
#

Hi there!

#

I would recommend to try this in test mode to see how it works.

hasty shoal
#

thanks

#

@upbeat marlin Is it possible for a subscription to created on a customer without any payment method attached?

upbeat marlin
#

Yes. That makes sense if the subscription has a free trial or a 100% off coupon.

hasty shoal
#

I expected the payment_behavior=allow_incomplete to allow this. Ah, so only with trial or coupon?

upbeat marlin
#

What exactly is your end goal? You want to create a paid subscription without a payment method? So how will the user pay?

hasty shoal
#

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.

upbeat marlin
#

Then it looks like a free trial to me?

#

So create a Subscription with a 2 month free trial.

hasty shoal
#

At that point we would invite them to add billing details, where they would pay for the previous 2 months too.

upbeat marlin
#

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_intent on 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