#elianbraja

1 messages · Page 1 of 1 (latest)

blissful pondBOT
mellow hawk
#

You'd just create a Price object with unit_amount: 0 and then use that price_xxx when subscribing

modest plaza
#

Is a must for the customer to provide a payment method for the invoice to be paid?

#

in case of a $0.0 price

mellow hawk
#

How are you integrating?

modest plaza
#

I am using custom integration with code

#

And I am using CreateSubscription API call

mellow hawk
#

Otherwise if you're using a custom flow then the Subscription will just transition immediately to an active state as there'll be no payment due

#

Is that not the case?

blissful pondBOT
modest plaza
#

The price specified is set to type=one_time but this field only accepts prices with `type=recurring

I get this error when I try to create a subscription and passing subscrption items

#

I want to create a subscription but make it "Forever"

mellow hawk
#

The Subscription expects a recurring Price, yes

#

You'd just create it as a free, annual recurring Price I guess

modest plaza
#

But his way a charge will be attempted every year, eventhought the price is 0

#

Subscription current_period_start and current_period_end will be in a one year interval and not forever