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

Event data returns a customer with object value of "invoice" #18

Closed
joshsmith opened this issue Nov 22, 2017 · 1 comment
Closed

Event data returns a customer with object value of "invoice" #18

joshsmith opened this issue Nov 22, 2017 · 1 comment

Comments

@joshsmith
Copy link

joshsmith commented Nov 22, 2017

The following lines:

"id": "cus_BduknQgwaIDYER",

"object": "invoice",

...show that we're returning customer data for an event which has an object: "invoice", when it should be object: "customer".

This is causing an unexpected parsing of the object into an invoice, rather than a customer, in our tests.

@pakrym-stripe
Copy link
Contributor

I apologize for the extremely delayed response. The fixture have since been fixed to return a plan object with the correct id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants