We recently starting having trouble with unchanged PHP code during the checkout process. I'm finding this in the apache logs:
PHP Fatal error: SOAP-ERROR: Encoding: object has no 'validationMode' property in /var/www/html/includes/authnet/cim/api_authorize_net_soap_v1.php on line 1926
Line 1926 is inside CreateCustomerProfile(). That's fine, I went ahead and added $req->validationMode = "liveMode"; to my code where I'm building the args.
However, when I do that, it tells me that's not an allowed without Payment Profiles. But I can't create a Payment Profile without having a Customer Profile first!
Has anybody else had this pop up on them?
CreateCustomerProfileResponse Object ( [CreateCustomerProfileResult] => CreateCustomerProfileResponseType Object ( [customerProfileId] => 0 [resultCode] => Error [messages] => stdClass Object ( [MessagesTypeMessage] => MessagesTypeMessage Object ( [code] => E00013 [text] => Validation Mode is invalid without Payment Profiles. ) ) ) )
05-16-2014 02:38 PM
http://developer.authorize.net/api/cim/
doc said it can be none, testMode, or liveMode
Since there isn't any payment profile with your create customer profile, so try setting validationmode = none
05-17-2014 09:13 AM