#CactusJack13 (Bryan)

1 messages · Page 1 of 1 (latest)

wicked lightBOT
umbral dust
#

Hi

little trout
#

Hi

umbral dust
#

Yep a new invoice is created at the beginning of each billing cycle

#

And if there is a PaymentIntent associated (there won't be if it is a $0 invoice) then the Invoice ID will be the value for the invoice property

little trout
#

ok, so every month a new invoice is created perfect

umbral dust
#

Yep if you are using a monthly Sub

little trout
#

I have a second question: during a SEPA direct debit, how can I pass metadata during my Checkout session creation to be able to retrieve this metadata in the "payment_intent.succeeded" webhook?

#

thank you for your help

umbral dust
#

Is this still for a Subscription?

#

Like mode: subscription or mode: payment?

little trout
#

It's a setup mode, then I get the setup_intent and I get the payment_method thanks to this setup_intent. I then make a payment with the payment_method

umbral dust
#

Oh well then you pass the metadata when you create the PaymentIntent

little trout
#

ok thank you very much

#

your doc is fantastic by the way