cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in updateCustomerPaymentProfile validationMode paramter in PHP SDK 1.1.5

For some reason, setting the validationMode is commented out:

 

 

diff --git a/lib/AuthorizeNetCIM.php b/lib/AuthorizeNetCIM.php
index e271ec4..05f59d7 100644
--- a/lib/AuthorizeNetCIM.php
+++ b/lib/AuthorizeNetCIM.php
@@ -251,7 +251,7 @@ class AuthorizeNetCIM extends AuthorizeNetRequest
      */
     public function updateCustomerPaymentProfile($customerProfileId, $customerPaymentProfileId, $paymentProfile, $validationMode = "testMode")
     {
-      //  $this->_validationMode = $validationMode;
+        $this->_validationMode = $validationMode;
         $this->_constructXml("updateCustomerPaymentProfileRequest");
         $this->_xml->addChild("customerProfileId", $customerProfileId);
         $paymentProfile->customerPaymentProfileId = $customerPaymentProfileId;

 

 

0 REPLIES 0