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;
06-08-2011 06:18 PM