Mangopay / mangopay2-php-sdk

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

Wallet Report Issue #467

Closed ashok-kr closed 2 years ago

ashok-kr commented 3 years ago

Hello,

We are using the mangopay SDK to communicate with the api and here is our code.

$reportRequest = new \MangoPay\ReportRequest();
$reportRequest->ReportType = \MangoPay\ReportType::Wallets;
$reportRequest->CallbackURL = $adminurl."/MangopayUsersExportUpdate.php";
$reportRequest->DownloadFormat = "CSV";
$reportRequest->Sort = "CreationDate:DESC";
$reportRequest->Preview = false;
$reportRequest->Filters = new \MangoPay\FilterReports();
$reportRequest->Filters->MinBalanceAmount = (int)$amount;

But it is fetching the empty resultset. And when we add afterDate filter, it is not giving some wallets which have balance. For example the wallet 500382824 has 808 euros but is not included in the wallets report. Please check and do the needful.

dduwoyemgp commented 3 years ago

Hello @ashok-kr Thank you, we'll look into it

ashok-kr commented 3 years ago

Hello @ashok-kr Thank you, we'll look into it

Any update on this?

fredericdelordm commented 3 years ago

Hello @ashok-kr,

Do you still have the issue?