#lafafm

1 messages · Page 1 of 1 (latest)

tender basinBOT
odd socket
#

Hi there

#

When you create a Sub you shouldn't be using pending_if_incomplete

#

What you want is default_incomplete

#

Then you will have 23 hours to pay the initial Invoice

still thistle
#

Subscription is created with default_incomplete

What I wrote above is about Subscription Items object

odd socket
#

Ah sorry

#

Yeah just saw that

still thistle
#

Which I want to attach to existing subscription

odd socket
#

Moving too fast 🙂

#

So the issue with the above is your proration_behavior actually

#

Overall no, you can't do what you are looking for in terms of having pending here afaik

#

Let me look if there is any workaround here for what you are trying to do

still thistle
#

Ok thanks

#

Overall what I need - is to create a subscription item for a subscription w/o payment method attached, and mark it paid out_of_band after some time

odd socket
#

Can you show me an example Sub ID so I can see exactly what you are doing?

still thistle
#

Yea, will create a clean one in a minute

odd socket
#

Thx

still thistle
#

sub_1Mf2obKbHTyAU2AT4SHbVSo9

odd socket
#

Thanks looking

#

Yeah overall this just isn't going to be possible since pending_updates with always_invoice generates a charge attempt so you hit the validation error of no paymentmethod. The workaround here would be to create a one-off invoice and associate it to the Sub and turn auto_advance to false for that one-off invoice so that it doesn't attempt to charge. Then you can mark it paid out of band.

still thistle
#

Okay, got it

Thanks