stripe icon indicating copy to clipboard operation
stripe copied to clipboard

getPlans returning error

Open kevin-meyers opened this issue 4 years ago • 1 comments

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 avatar Nov 09 '20 01:11 kevin-meyers

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

kevin-meyers avatar Nov 09 '20 04:11 kevin-meyers