You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use \packages\Stripe.net.11.9.0\lib\net45\Stripe.net.dll, nuget, version=11.9.0.0, IIS, Windows.
Call stack:
Newtonsoft.Json.JsonTextReader in ParseNumber at line 553:0
Void ParseNumber(Newtonsoft.Json.ReadType)
Newtonsoft.Json.JsonTextReader in ReadNumberValue at line 522:0
Newtonsoft.Json.JsonTextReader in ReadAsInt32
Newtonsoft.Json.Serialization.JsonSerializerInternalReader in ReadForType at line 74:0
Newtonsoft.Json.Serialization.JsonSerializerInternalReader in PopulateObject at line 615:0
Newtonsoft.Json.Serialization.JsonSerializerInternalReader in CreateObject at line 353:0
Newtonsoft.Json.Serialization.JsonSerializerInternalReader in Deserialize at line 217:0
Newtonsoft.Json.JsonSerializer in DeserializeInternal at line 69:0
Newtonsoft.Json.JsonConvert in DeserializeObject at line 44:0
Newtonsoft.Json.JsonConvert in DeserializeObject
Stripe.Mapper`1 in MapFromJson at line 27:0
Stripe.StripeCustomerService in Get
Hi @manaxname, thanks for the report. Attributes that can hold amounts should be declared as long, but it looks like we forgot about StripeCustomer.AccountBalance and declared it as an int instead. We'll fix this in the next release.
We use \packages\Stripe.net.11.9.0\lib\net45\Stripe.net.dll, nuget, version=11.9.0.0, IIS, Windows.
Call stack:
Newtonsoft.Json.JsonTextReader in ParseNumber at line 553:0
Void ParseNumber(Newtonsoft.Json.ReadType)
Newtonsoft.Json.JsonTextReader in ReadNumberValue at line 522:0
Newtonsoft.Json.JsonTextReader in ReadAsInt32
Newtonsoft.Json.Serialization.JsonSerializerInternalReader in ReadForType at line 74:0
Newtonsoft.Json.Serialization.JsonSerializerInternalReader in PopulateObject at line 615:0
Newtonsoft.Json.Serialization.JsonSerializerInternalReader in CreateObject at line 353:0
Newtonsoft.Json.Serialization.JsonSerializerInternalReader in Deserialize at line 217:0
Newtonsoft.Json.JsonSerializer in DeserializeInternal at line 69:0
Newtonsoft.Json.JsonConvert in DeserializeObject at line 44:0
Newtonsoft.Json.JsonConvert in DeserializeObject
Stripe.Mapper`1 in MapFromJson at line 27:0
Stripe.StripeCustomerService in Get
We can change account balance and set value more than is used in
https://github.com/stripe/stripe-dotnet/blob/master/src/Stripe.net/Entities/StripeCustomer.cs
for AccountBalance property.
So, please, add validation or change int to other type.
Thanks.
The text was updated successfully, but these errors were encountered: