I am trying to implement PayPal checkout integration in a project. For that I used composer to install paypal-checkout-sdk v1.0.0. And now when I am trying to use the use
keyword, it is giving me an syntax error. Can anyone tell me what I am doing wrong or how can I find a work around for this issue?
I have tried using single as well as double quotes with the path.
use vendor\paypal\paypal-checkout-sdk\lib\PayPalCheckoutSdk\Core\PayPalHttpClient;
After running the application and accessing it from browser I get following error:
Parse error: syntax error, unexpected '-', expecting ',' or ';'