Mangopay / mangopay2-php-sdk

PHP SDK for MANGOPAY
https://packagist.org/packages/mangopay/php-sdk-v2
MIT License
122 stars 133 forks source link

Unable to add Credit Cards on Android #655

Open JanTG1 opened 2 weeks ago

JanTG1 commented 2 weeks ago

Hello,

When calling tokenizeCard on Android using the mango pay sdk version 1.0.6 we get the following error "com.mangopay.android.core.exception.MangopayApiException: One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.". Parameters: card: cvv = "183" expirationDate= "1225" number = "4970107111111119"

cardRegistration: accessKey="1X0m87dmM2LiwFgxPLBJ" cardRegistrationURL = "https://homologation-webpayment.payline.com/webpayment/getToken" cardType = "CB_VISA_MASTERCARD" id = "cardreg_m_01J6MC7B3HRJKZQS20DDWQ7EW0" preRegistrationData = "dtxlzFRSvUcdNkJimn-i_NuX-c0V8FXbHXzgS9KNPBjf-Bjc9JQmhqY5lUUQcKjj2ddFLVXdicolcUIkv_kKEA"

The Envrionment is Sandbox. It was working until the 7.8.2024 for us and only stopped working after that date. We contacted mangopay support, which told us: "After investigation, we noticed that you were using the "CardHolderName" field in your API calls, but with an empty value.". The thing is that we don't add that value anywhere. It could be an issue with the SDK itself, which could have an issue with that value.