forked from ranjithinnergys/rest-api-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Making First Call
SirMontu edited this page May 12, 2016
·
10 revisions
Once you have completed the Installation, we could make the first call. To write an app that uses the SDK, we will create our first PHP script that will store a Credit Card in our Vault.
First, Create file first.php
in our project root location. You could alternatively copy the completed file here : first.php
-
Autoload the SDK Package. This will include all the files and classes to your autoloader. Please note, If your downloaded our SDK using composer, replace
PayPal-PHP-SDK
withvendor
. This applies for all sample code in our SDK.