stripe
stripe copied to clipboard
getPlans returning error
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.
It's returning an error because plans got moved to products