Open RudyLeetchi opened 1 week ago
Sometimes with some card in case of a direct card payment, and if MangoPay use the provider WithNext, the response API of the API path https://api.mangopay.com/v2.01/leetchi/payins/card/direct has a sub type CardInfo like:
"CardInfo": { "BIN": "46338910", "IssuingBank": null, "IssuerCountryCode": "FR", "Type": null, "Brand": "VISA", "SubType": "PURCHASING" }
The Type field is null and this is not supported by the deserializer of restSharp which throw an exception but ignored and the sdk return in this case a Dto with all property null.
Sometimes with some card in case of a direct card payment, and if MangoPay use the provider WithNext, the response API of the API path https://api.mangopay.com/v2.01/leetchi/payins/card/direct has a sub type CardInfo like:
The Type field is null and this is not supported by the deserializer of restSharp which throw an exception but ignored and the sdk return in this case a Dto with all property null.