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

getPlans returning error #130

Open
kevin-meyers opened this issue Nov 9, 2020 · 1 comment
Open

getPlans returning error #130

kevin-meyers opened this issue Nov 9, 2020 · 1 comment

Comments

@kevin-meyers
Copy link

I tried running stripe (StripeConfig (StripeKey stripeSecretKey) Nothing) getPlans and got the error:

Left (StripeError {errorType = ParseFailure, errorMsg = "parsing Int failed, expected Number, but encountered Null", errorCode = Nothing, errorParam = Nothing, errorHTTP = Nothing})

I have tried other endpoints like createPlan and createCustomer and they are working fine.

My stripe-haskell, stripe-core, and stripe-http-client versions are 2.6.2

I tried it with both my live and test keys.

@kevin-meyers
Copy link
Author

It's returning an error because plans got moved to products

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

1 participant