dmjio / stripe

:moneybag: Stripe API
http://hackage.haskell.org/package/stripe-haskell
177 stars 74 forks source link

getPlans returning error #130

Open kevin-meyers opened 3 years ago

kevin-meyers commented 3 years ago

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 commented 3 years ago

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