I am trying to follow the instructions here: https://github.com/paypal/PayPal-PHP-SDK#--direct-download-without-using-composer
I put the PayPal-PHP-SDK folder into my root, then added include 'PayPal-PHP-SDK/autoload.php'; to my index file. That seems to work. But I cannot utilize any of the components.
When I try to follow these instructions: https://devtools-paypal.com/guide/openid/php?interactive=OFF&env=sandbox
I get a 500 Internal Server Error after adding the first line of code: $apicontext = new PPApiContext(array('mode' => 'sandbox'));
What am I doing wrong? Why do the integration docs mention a 'vender' folder if there is no vender folder included in the direct download? All the sample applications use composer, so I can't get any demos working. I'm using PHP 5.5
该提问来源于开源项目:paypal/PayPal-PHP-SDK