Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional metadata to a charge #158

Open
benjamindell opened this issue Apr 8, 2015 · 2 comments
Open

Add optional metadata to a charge #158

benjamindell opened this issue Apr 8, 2015 · 2 comments

Comments

@benjamindell
Copy link

When making a one off charge (though I suspect this could also be the case for subscription payments too), it is often useful to send a custom field to Stripe so that it is attached to that specific charge (i.e. such as the ID of the product that you have charged the customer for). Your customer.charge method does not allow the metadata argument to be passed. Is this something you'd consider adding? Right now it looks like we'll have to add this in ourselves which i'd ideally prefer not to do.

@paltman
Copy link
Contributor

paltman commented Nov 28, 2015

👍 on supporting metadata access

@paltman paltman modified the milestone: post-16.04 Mar 18, 2016
@jtauber jtauber modified the milestones: post-16.04, post-16.07 Jul 28, 2016
@paltman paltman removed this from the post-16.07 milestone Oct 20, 2017
@blueyed
Copy link
Contributor

blueyed commented Aug 28, 2018

Metadata should be supported for all objects.
There is some WIP in #536, where it has been done for subscriptions, but it should really be done in a generic way.

@blueyed blueyed mentioned this issue Oct 9, 2018
@paltman paltman added this to the Next milestone Oct 9, 2018
@paltman paltman removed this from the Next milestone Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants