#SciAndy

1 messages · Page 1 of 1 (latest)

spiral walrusBOT
steep condor
#

Metadata in Subscription won't be populated into Invoice object in invoice.paid event. If you wish to retrieve Subscription metadata from Invoice object, an additional Subscription Retrieval API with the subscription field in invoice.paid event

#

I tested using the reset billing cycle button on the dashboard with proration enabled and disabled. (and in the billing portal sessions but they were always prorated)
Can you share the subscription ID (sub_xxx) which you tried to change the billing cycle from the Dashboard?

You may disable proration on customer portal here: https://dashboard.stripe.com/test/settings/billing/portal

indigo rover
#

Thanks for that link I was going crazy trying to find it earlier.

So I looked again and we actually are receiving the metadata in both cases, it's just that lines.data now has 2 objects instead of 1 in proration cases.

The first one is "Unused time for etc" and the 2nd one is the actual new subscription with the metadata in it.

Weird. I'll try now with prorations disabled and see how that goes.

steep condor
#

Sure, feel free to let me know if you need more help