#Дмитрий Кузьмин
1 messages · Page 1 of 1 (latest)
e.g. cs_test_a1ZA57kDndowBp6qEjdmVEGnPsJp4Jsj9QUfeqdCcfJHB9CgtVuDqVCf5H
But it's a test one.
The client_reference_id lives on the Checkout Session object, but the invoice.paid event contains an Invoice object instead. You can get the related Subscription object by expanding the Invoice.subscription property: https://stripe.com/docs/api/invoices/object#invoice_object-subscription
Please, let me know if you have any other questions.