CIM :: Authorization Only

Results

Response Error
code E00003
Successful? no
Error? yes

Raw Input/Output

Class Parameters
API Login ID3cL9T4xD
Transaction Key5588es6BM7hJbT5V
Authnet Server URLhttps://api.authorize.net/xml/v1/request.api
Request XML
XML:
<?xml version="1.0"?>
<createCustomerProfileTransactionRequest>
  <merchantAuthentication>
    <name>3cL9T4xD</name>
    <transactionKey>5588es6BM7hJbT5V</transactionKey>
  </merchantAuthentication>
  <transaction>
    <profileTransAuthOnly>
      <amount>10.95</amount>
      <tax>
        <amount>1.00</amount>
        <name>WA state sales tax</name>
        <description>Washington state sales tax</description>
      </tax>
      <shipping>
        <amount>2.00</amount>
        <name>ground based shipping</name>
        <description>Ground based 5 to 10 day shipping</description>
      </shipping>
      <lineItems>
        <lineItem>
          <itemId>1</itemId>
          <name>vase</name>
          <description>Cannes logo</description>
          <quantity>18</quantity>
          <unitPrice>45.00</unitPrice>
        </lineItem>
        <lineItem>
          <itemId>2</itemId>
          <name>desk</name>
          <description>Big Desk</description>
          <quantity>10</quantity>
          <unitPrice>85.00</unitPrice>
        </lineItem>
      </lineItems>
      <customerProfileId>5427896</customerProfileId>
      <customerPaymentProfileId>4796541</customerPaymentProfileId>
      <customerShippingAddressId>4907537</customerShippingAddressId>
      <order>
        <invoiceNumber>INV000001</invoiceNumber>
        <description>description of transaction</description>
        <purchaseOrderNumber>PONUM000001</purchaseOrderNumber>
      </order>
      <taxExempt>false</taxExempt>
      <recurringBilling>false</recurringBilling>
      <cardCode>000</cardCode>
    </profileTransAuthOnly>
  </transaction>
  <extraOptions>&lt;![CDATA[x_customer_ip=100.0.0.1]]&gt;</extraOptions>
</createCustomerProfileTransactionRequest>

Response XML
XML:
<?xml version="1.0" encoding="utf-8"?>
<ErrorResponse>
  <messages>
    <resultCode>Error</resultCode>
    <message>
      <code>E00003</code>
      <text>The element 'lineItems' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'lineItem' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'itemId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.</text>
    </message>
  </messages>
</ErrorResponse>