We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried 3 ways to get the sub-accounts' Beneficiaries but it keep response the house-account's beneficiaries.
1st way:
$currencyCloud->getSession()->setOnBehalfOf($contactId); $beneficiaries = $currencyCloud->beneficiaries()->find();
2ed way: $beneficiaries = $currencyCloud->beneficiaries()->find(null, null, $contactId); 3rd way:
$beneficiaries = $currencyCloud->beneficiaries()->find(null, null, $contactId);
$beneficiaries = $currencyCloud->onBehalfOf($contactId, function($currencyCloud){ $data = $currencyCloud->beneficiaries()->find(); dd($data); });
I hard code the contact id into the sdk source code(BeneficiariesEntryPoint->convertBeneficiaryToRequest), it works fine.
The text was updated successfully, but these errors were encountered:
I have raised a PR to resolve this #161
Sorry, something went wrong.
No branches or pull requests
I tried 3 ways to get the sub-accounts' Beneficiaries but it keep response the house-account's beneficiaries.
1st way:
2ed way:
$beneficiaries = $currencyCloud->beneficiaries()->find(null, null, $contactId);
3rd way:
I hard code the contact id into the sdk source code(BeneficiariesEntryPoint->convertBeneficiaryToRequest), it works fine.
The text was updated successfully, but these errors were encountered: