Fixing handling of PPConnectionException in sample code

This commit is contained in:
aydiv
2013-08-20 15:49:40 +05:30
parent 975afcda1b
commit 6126997abf
29 changed files with 612 additions and 601 deletions

View File

@@ -22,6 +22,7 @@ use PayPal\Auth\OAuthTokenCredential;
$apiContext = new ApiContext(new OAuthTokenCredential(
'EBWKjlELKMYqRNQ6sYvFo64FtaRLRR5BdHEESmha49TM',
'EO422dn3gQLgDbuwqTjzrFgFtaRLRR5BdHEESmha49TM'));
// Uncomment this step if you want to use per request
// dynamic configuration instead of using sdk_config.ini
/*
@@ -34,6 +35,7 @@ $apiContext->setConfig(array(
));
*/
/**
* ### getBaseUrl function
* // utility function that returns base url for