Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 1
Registered: ‎01-14-2011

XML error E00003

I am integrating ARB with my site. For create an account its working fine and returns Ok in response.
Now for updating that same subscriber id i am getting XMl error

“The ‘AnetApi/xml/v1/schema/AnetApiSchema.xsd:subscriptionId’ element is invalid – The value ” is invalid according to its datatype ‘AnetApi/xml/v1/schema/AnetApiSchema.xsd:numericString’ – The Pattern constraint failed.”

This is my request

$arb = new AuthnetARB($config['logingid'], $config['transkey'], $config['testmode']);

$arb->setParameter(‘subscriptionId’, $subscription_id);
$arb->setParameter(‘cardNumber’, $_POST['ccnumber']);
$arb->setParameter(‘expirationDate’, $_POST['ccexpiry_year'].”-”.$_POST['ccexpiry_month']);
$arb->setParameter(‘email’,$email );

$subscription_id is same as it was returned in create account process.

I am using developer test account.

Please kindly help me out of this.


Trusted Contributor
Posts: 451
Registered: ‎08-21-2009

Re: XML error E00003

Do you find this subscription in your account when you search for it in your merchant interface? That would be the first place I would verify that the subscription ID I'm using is valid.



Thank you,



Posts: 2
Registered: ‎01-04-2011

Re: XML error E00003

The value ” is invalid


The error string seems to incidicate that one of your variables is an empty string - have you verified that this is not the case? 

Posts: 1
Registered: ‎01-15-2013

Re: XML error E00003

<?xml version="1.0" encoding="utf-8"?>
<createCustomerShippingAddressRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication>

<name>5Ct97Jmg2p</name><transactionKey>43f7QCvP5gZ5x6VZ</transactionKey></merchantAuthentication><customerProfileId>11758846</customerProfileId><address><firstName>johno</firstName><lastName>Doeo</lastName><company>John Doe Companyo</company><address>1 Main Streeto</address><city>Bostono</city><state>Mohali</state><zip>02412</zip></address><validationMode>testMode</validationMode></createCustomerShippingAddressRequest>

Posts: 4,525
Registered: ‎03-08-2010

Re: XML error E00003

If you read or post the error message

<?xml version="1.0" encoding="utf-8"?><ErrorResponse xmlns:xsi="" xmlns:xsd="" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Error</resultCode><message><code>E00003</code><text>The element 'createCustomerShippingAddressRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'validationMode' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.</text></message></messages></ErrorResponse>

You would see that there is no validationMode for createCustomerShippingAddressRequest

the documentation is here