I have the following error when I try to get an extended view of a payin:
In ApiBase.php line 389:
Attempted to call an undefined method named "GetSubObjects" of class "MangoPay\PayInWebExtendedView".
My service function look like this:
public function viewExtendedPayIn($payIn) {
return ($this->mangoPayApi->PayIns->GetExtendedCardView($payIn));
}
If I run {{SERVER_URL}}/{{VERSION}}/{{CLIENT_ID}}/payins/card/web/{{PAYIN-EUR}}/extended in postman for the same Payin, it work just fine.
I am using the lasted update of the MangoPay SDK package:
mangopay/php-sdk-v2 3.1.0 PHP SDK for MANGOPAY
Running on Symfony 4.4.X but that shouldn't change anything about this.
The classic PayIns view as following is working fine too.
$this->mangoPayApi->PayIns->Get($payInId));
But I really need the information available from the extended view.
@mangomaxoasis I fixed the issue and made a PR #413
update: Can you restart the travis build test that failed in that PR as this is not an issue with the code itself. Thanks.
Hi guys,
I have the following error when I try to get an extended view of a payin:
My service function look like this:
If I run {{SERVER_URL}}/{{VERSION}}/{{CLIENT_ID}}/payins/card/web/{{PAYIN-EUR}}/extended in postman for the same Payin, it work just fine.
I am using the lasted update of the MangoPay SDK package:
mangopay/php-sdk-v2 3.1.0 PHP SDK for MANGOPAY
Running on Symfony 4.4.X but that shouldn't change anything about this.
The classic PayIns view as following is working fine too.
$this->mangoPayApi->PayIns->Get($payInId));
But I really need the information available from the extended view.Thanks for your help / feedback