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'm trying to implement this sdk with Laravel 5.8 using composer
composer require cdiscount/sdkphpapi
When I try to use it in a Laravel Controller it keeps showing me an error saying
Class 'Sdk\ApiClient\CDSApiClient' not found
instead autoloading I tried to require . that also fails with the same error.
require_once base_path('vendor/cdiscount/sdkphpapi/sdk/src/public/ApiClient/CDSApiClient.php');
The text was updated successfully, but these errors were encountered:
Ive found the index.php file included doesnt load the class properly but going to an example (such as /samples/Order/GetOrderList.php) endpoint, the vendor and sdk autoloaders work correctly. Never ended up digging any further to get it to work on the index level though
I'm trying to implement this sdk with Laravel 5.8 using composer
composer require cdiscount/sdkphpapi
When I try to use it in a Laravel Controller it keeps showing me an error saying
Class 'Sdk\ApiClient\CDSApiClient' not found
instead autoloading I tried to require . that also fails with the same error.
require_once base_path('vendor/cdiscount/sdkphpapi/sdk/src/public/ApiClient/CDSApiClient.php');
The text was updated successfully, but these errors were encountered: