Hello, I have been trying to implement the PayPal REST API for taking in payments. Everything works fine when I run the code from the API folder, but it does not work from outside. I suppose the reason for this are the lines: use PayPal\Api\Address; use PayPal\Api\Amount; use PayPal\Api\CreditCard; use PayPal\Api\Payer; use PayPal\Api\Payment; use PayPal\Api\FundingInstrument; use PayPal\Api\Transaction; I am not sure how they work. Does anyone have any idea? Thanks.
Hello, hmm. this does not seem to help... "PP_CONFIG_PATH" was correct I suppose that is why it works when called from within the directory. The problems are the "use PayPal\Api\Address" lines, how to use them? Do I need to change them in all the files? or there is some short way to do it??