#birdy247

1 messages ยท Page 1 of 1 (latest)

sick oreBOT
frozen vigil
#

Hello ๐Ÿ‘‹
Let's chat here

nocturne matrix
#

I note customer is optional, but in this use case, can we assume that its somewhat mandatory

frozen vigil
nocturne matrix
#

so create customer

frozen vigil
#

yup

nocturne matrix
#

attach to subscription_schedule

#

then how do we attach the payment method?

#

In a more typical subscription, we take the first invoice items payment intent I think

frozen vigil
#

yup on a schedule, you'd still find a subscription object where you can locate the latest_invoice.payment_intent

nocturne matrix
#

ok cool

#

So as soon as thats paid, then the schedule starts?

frozen vigil
#

I believe so, would recommend testing it out to be 100% certain

nocturne matrix
#

ok cool

#

and do these generate invoice likes subscriptions?

#

So we can expect invoice.xx webhooks?

frozen vigil
#

you mean renewal invoices?

#

yes

nocturne matrix
#

Yea, so lets say the schedule has 6 iterations

#

presumably we would get webhooks each time an iterative payment is made

frozen vigil
#

that's correct, yes.

nocturne matrix
#

Great

#

will we be able to different these webhooks from "regular" subscription

frozen vigil
#

sorry missed your question, do you mean if you receive invoice.paid you want to know if they came from a scheduled subscription?

nocturne matrix
#

yes

frozen vigil
#

regular subscription wouldn't have a value ther