From bf3c20e694663c0241b71251b38550831234e471 Mon Sep 17 00:00:00 2001 From: Jay Patel Date: Mon, 7 Mar 2016 10:31:51 -0600 Subject: [PATCH] Disabled Caching for TlsCheck Sample - Fixes #512. --- sample/tls/TlsCheck.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sample/tls/TlsCheck.php b/sample/tls/TlsCheck.php index 3ab0a5e..c759646 100644 --- a/sample/tls/TlsCheck.php +++ b/sample/tls/TlsCheck.php @@ -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.