cancel
Showing results for 
Search instead for 
Did you mean: 

Strange Error

I am getting a strange error: 

 

AuthorizeNetCIM_Response Object
(
    [xml] => SimpleXMLElement Object
        (
            [messages] => SimpleXMLElement Object
                (
                    [resultCode] => Error
                    [message] => SimpleXMLElement Object
                        (
                            [code] => E00003
                            [text] => Name cannot begin with the '0' character, hexadecimal value 0x30. Line 2, position 342.
                        )

                )

        )

 

 

Any idea what could be causing this?

epikmedia
Contributor
8 REPLIES 8

that a xml parser error. check you input xml.

RaynorC1emen7
Expert
Can you be a bit more specific? I am not using XML but am sending it via PHP arrays.

which url are you sending the CIM request?

					$transaction = new AuthorizeNetTransaction;
					$transaction->amount = $order_total;
					$transaction->customerProfileId = $auth_net_cust_id;
					$transaction->customerPaymentProfileId = $paymentProfileId;
					$transaction->customerShippingAddressId = $customerAddressId;
					
					$request = new AuthorizeNetCIM;
					$response = $request->createCustomerProfileTransaction("AuthOnly", $transaction);

 this is the code i am using that is getting this error returned.

that is using the xml for the transaction. Might need to run some debug in createCustomerProfileTransaction to see which data field is having a 0.

Can you make any suggestions on the debug? I have verified that the profile/payment/shipping ids are not 0 when i pass them.

not sure, not a php developer, but since it convert the data to xml, it might be possible to get the xml from the transaction object during the send to authorize.net.