Probably a real "nubie" question or I'm really missing something - but I'm confused by the Server Configuration steps.
I've "unpacked" the zip and got the directory structure (I don't use composer) as per GitHub article.
Now when I look at https://developer.paypal.com/docs/api/quickstart/environment/
It says create a php file with
/ Autoload SDK package for composer based installations
require 'vendor/autoload.php';
$apiContext = new \PayPal\Rest\ApiContext(
new \PayPal\Auth\OAuthTokenCredential(
'YOUR APPLICATION CLIENT ID',
'YOUR APPLICATION CLIENT SECRET'
)
); OK - but what should the file be called and and/or where do I need to reference it from? - I'm not seeing the point in having a file that is never accessed! I've done the javascript side as per the Smart Payment buttons page https://developer.paypal.com/docs/checkout/integrate and can "process" a transaction in the sandbox OK - but I'm not sure it's enough. Thanks
... View more