You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was about to implement the currency cloud API and after some debugging I realised, if I call the $this->client->beneficiaries()->find($beneficiary, null, $payout->getOnBehalfOf()); function, the find method doesn't consider the on_behalf_of value (3rd argument). It always searches in the main account, not in the sub account.
After I changed the following line, it worked, but I'm not sure if it would create some error in other places:
I was about to implement the currency cloud API and after some debugging I realised, if I call the
$this->client->beneficiaries()->find($beneficiary, null, $payout->getOnBehalfOf());
function, the find method doesn't consider the on_behalf_of value (3rd argument). It always searches in the main account, not in the sub account.After I changed the following line, it worked, but I'm not sure if it would create some error in other places:
AbstractEntityEntryPoint::doFind
functionfrom this
to this
Creating a beneficiary on behalf of functions.
Could you please check this issue, for the time being, I will add a custom request to our code.
The text was updated successfully, but these errors were encountered: