Hi,
I have the following structure in my project
root/apps/classes-payment/RevenueMonsterWrapper.class.php
in the top of the file i have included the namespaces
require_once 'vendor/autoload.php';
use RevenueMonster\SDK\RevenueMonster;
use RevenueMonster\SDK\Exceptions\ApiException;
use RevenueMonster\SDK\Exceptions\ValidationException;
use RevenueMonster\SDK\Request\WebPayment;
use RevenueMonster\SDK\Request\QRPay;
use RevenueMonster\SDK\Request\QuickPay;
However, i am getting the error 'Class doesn't exist : RevenueMonster' whenever the autoload.php is loaded in. This means that any other places that uses other packages would also encounter this error.
This error only occurs on the server but not local development, and I have checked that all are using PHP 7.3 and files are in sync
Hi,
I have the following structure in my project
root/apps/classes-payment/RevenueMonsterWrapper.class.php
in the top of the file i have included the namespaces
However, i am getting the error 'Class doesn't exist : RevenueMonster' whenever the autoload.php is loaded in. This means that any other places that uses other packages would also encounter this error.
This error only occurs on the server but not local development, and I have checked that all are using PHP 7.3 and files are in sync