#bubonicpestilence

1 messages ยท Page 1 of 1 (latest)

light harborBOT
static moon
#

(or past_due)

bronze anchor
#

You mean every Invoices instantly goes to failed payment?

#

Why would you do that ๐Ÿ˜…

static moon
#

to force user to pay for first month

#

INSTANTLY

#

let's assume, i decide if a user have access if HIS SUB IS ACTIVE

if i create sub with "send_invoice", and want to provide him 7 days to pay, i have to use "allow_incomplete", but user WILL HAVE 24h of ACTIVE SUB ๐Ÿ™‚

bronze anchor
#

Sorry didn't follow that part. Where does 24h come from?

static moon
#

i did some testing with "default_incomplete", and sub became "incomplete_expired" after 24h of not being paid iirc, if i'm wrong here, please correct me.

i tried to make a sub in test environment with "invoice due_date 0 days", after finalizing it manually, it shows: "Due in 5 hours" and sub is active for next 5 hours

bronze anchor
#

Ah yes the incomplete_expires is 24h, you are correct

static moon
#

i need some way to create sub not in "active" state, and let user to pay it within next ... 7 days or so ๐Ÿ™‚

#

including invoices that "requests payment methods from user"

bronze anchor
#

But in that 24 hours window, its status is still incomplete, isn't it?

#

24 hours is for incomplete to become incomplete_expired

#

So it is never active in the first place

static moon
#

hm.... oh.... i think we had setting that was caused cancellations to subs if it's incomplete_expired

bronze anchor
#

So you want to set a Subscription to not active, until 7 days later, which is the payment deadline you want to give your customer, correct?

static moon
#

or once it will be paid

#

overall: correct

bronze anchor
#

Um I have searched internally but that 23 hours is fixed and not customizable at this moment. It may due to some finance industry standard thingy

#

I guess you would want to build a logic yourself then, create your own system Sub, give the customer 7 days, and only after that you create a real Subscription with Stripe

static moon
#

that's why i was thinking about triggering invoice into "past_due" state, to let it change sub to "past_due"

bronze anchor
#

You can use SetupIntent to collect your customer payment method, separately with creating Subscription

static moon
#

tried to stay away from SetupIntents ๐Ÿ˜‰