braintree / braintree_dotnet

Braintree .NET library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
136 stars 73 forks source link

About the CreditCard cardType #98

Closed o1298098 closed 4 years ago

o1298098 commented 4 years ago

General information

crookedneighbor commented 4 years ago

It's supposed to be an enum: https://github.com/braintree/braintree_dotnet/blob/73ba8beb42f8a56e94e15853b9c47c05aa990c74/src/Braintree/CreditCard.cs#L85-L111

My assumption is that the way it's getting serialized on your end, the enum isn't being converted to a string.

o1298098 commented 4 years ago

I get it, thanks。