#Дмитрий Кузьмин
1 messages · Page 1 of 1 (latest)
Hi! It's best to get it from the invoice.paid webhook event.
But how would you get an Invoice ID before creating a Subscription?
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
But how can I get it if client_reference_id is not passed to invoice.paid.
That is, I create a checkout with the data that I would like to receive at invoice.paid, to mark them with myself. But I couldn't find any way to transfer the data via checkout.
Hi. Please answer the question above
reference: #dev-help message
But I couldn't find any way to transfer the data via checkout.
Data can't be transferred from one object to another in general when using Stripe APIs.
Can I pass the identifier through "checkout" in subscription_data.metadata and then get it in invoice.subscription ?
You can set metadata in checkout's subscription_data.metadata and get it from the Subscription object
Okay. Thank you.