Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to filter ONLY actives cards #653

Open
MallauryGerard opened this issue Aug 25, 2024 · 0 comments
Open

Unable to filter ONLY actives cards #653

MallauryGerard opened this issue Aug 25, 2024 · 0 comments

Comments

@MallauryGerard
Copy link

MallauryGerard commented Aug 25, 2024

Hello,

Recently, we have been unable to filter only active cards using the SDK. All cards are always returned.
We are encountering this issue on production but not on the sandbox.

Here is the code :

$filter = new FilterCards();
$filter->Active = 'true';
$cards = $mangoPayApi->Users->GetCards(Auth::user()->mango_user_id, $pagination, $filter);

We also tried passing the Active filter as an array parameter, like this :

$cards = $mangoPayApi->Users->GetCards(Auth::user()->mango_user_id, $pagination, ['Active' => 'true']);

Neither of these methods is working in production. But both work using the sandbox...
The bug appeared around the same time as your documentation update. Did you make any updates?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant