Disabled Caching for TlsCheck Sample

- Fixes #512.
This commit is contained in:
Jay Patel
2016-03-07 10:31:51 -06:00
parent 82971057e1
commit bf3c20e694

View File

@@ -20,7 +20,8 @@ use PayPal\Api\Transaction;
// the following steps.
// 1. Create an APIContext object as usual. (No Change Required).
// 2. Add Configs as shown below to your apiContext object
$apiContext->setConfig(array('service.EndPoint'=>"https://test-api.sandbox.paypal.com"));
// Note: Explicitly disabling caching for specific testing.
$apiContext->setConfig(array('service.EndPoint'=>"https://test-api.sandbox.paypal.com", 'cache.enabled'=>false));
// 3. Thats it. Run your code, and see if it works as normal.
// 4. You can check sdk logs to verify it is infact pointing to the above URL instead of default sandbox one.