Subscription payment metadata is blank

74 views
Skip to first unread message

Shaun

unread,
Jul 26, 2016, 11:32:10 AM7/26/16
to Stripe API Discussion
I pass metadata when creating a subscription but the metadata is blank for a subscription payment.  Shouldn't the metadata carry over for reporting purposes?

Matthew Arkin

unread,
Jul 26, 2016, 11:33:48 AM7/26/16
to Stripe API Discussion
That is expected behavior, metadata only exists on the object it's created for. 

You could use webhooks to listen for the new charges and add metadata to them

Or your reporting could look up the subscription for the charge and grab the metadata from the subscription to avoid duplicated data.





On Tue, Jul 26, 2016 at 8:32 AM -0700, "Shaun" <sh...@tacticengine.com> wrote:

I pass metadata when creating a subscription but the metadata is blank for a subscription payment.  Shouldn't the metadata carry over for reporting purposes?

--
You received this message because you are subscribed to the Google Groups "Stripe API Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.
To post to this group, send email to api-d...@lists.stripe.com.
Visit this group at https://groups.google.com/a/lists.stripe.com/group/api-discuss/.
Reply all
Reply to author
Forward
0 new messages