#gecko-invoices-subs
1 messages · Page 1 of 1 (latest)
Hi there. When using Subscriptions, the Subscription automatically generates an invoice at the beginning of each billing_cycle. So yes, all invoices that are related to a Subscription will be the original Subscription.
Hi Bismarck
Great. So the subscription is same. Invoice and payment intent will be period specific values. Right?
Pretty much, yes.
Any metadata that is used from checkout session will not be preserved in future invoices. Correct?
Sorry, missed this follow up
No I don't believe so. The metadata from the Checkout Session that you pass with subscription_data.metadata will get carried down to the Subsription object's metadata. But that metadata won't appear on the invoices.
Ok I assumed so. It means that I can’t query a subscription (expand) from an invoice’s subscription ID, and expect to find the metadata preserved in future periods. Correct?
That should work just fine.
@hexed lance (tagging in case this scrolled up past your current cases. Apologies if it annoyed. )
😅
Yeah no need to tag
So metadata is preserved?
You should be able to retrieve an invoice at any point and expand the Sub and the original metadata on the Subscription will be there