forked from ranjithinnergys/rest-api-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Going Live
Jason Ziaja edited this page Mar 24, 2015
·
2 revisions
In order to point your application to live payments to PayPal API endpoints, you need to follow two steps:
Enabled Live Credentials for the appropriate service, by completing the process on your developer dashboard -> Your App as shown below.
- If using sdk_config.ini, add
mode = live
in the[Service]
section (a complete example can be found here):
...
;Service Configuration
[Service]
; can be set to sandbox / live
mode = live
...
- If using code based configurations, add
mode
as follows:
$apiContext->setConfig(
array(
...
'mode' => 'live',
...
)
);
... with PayPal !