Mangopay / mangopay2-php-sdk

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

new \MangoPay\CardRegistration() give an ID but no card on the Dashboard #463

Closed vrax-coder closed 3 years ago

vrax-coder commented 3 years ago

Hi, I want to prepart a CB card payement so I do that :

$BankCardRegistration = new \MangoPay\CardRegistration(); $BankCardRegistration->UserId = "99777223";
$BankCardRegistration->Currency = "EUR"; $BankCardRegistration->CardType = "CB_VISA_MASTERCARD"; $BankResult = $mangopayApi->CardRegistrations->Create($BankCardRegistration);

The result is an ID : 100864174 but no card was created on the dashboard of this user.
What is this ID ??? Do I miss something ???

Thanks

vrax-coder commented 3 years ago

Ok, I fixe It. It was a bug from in the ECHO , I reWrite it and it work. Thanks to the Mangopay team for helping me !!