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?
11-23-2012 10:07 AM
that a xml parser error. check you input xml.
11-23-2012 11:57 AM
11-23-2012 12:27 PM
which url are you sending the CIM request?
11-23-2012 01:01 PM
11-23-2012 03:23 PM
$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.
11-23-2012 03:25 PM
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.
11-23-2012 04:20 PM
11-24-2012 09:03 AM
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.
11-24-2012 02:06 PM