cancel
Showing results for 
Search instead for 
Did you mean: 

What is InvoiceNumber?

  hi

     Use TransactionID get TransactionDetails.

But I can get Amount ,InvoiceNumber but don't  get Order Message or OrderItem message.

why? have any idea?

thanks 

what means of  the InvoiceNumber,

 and why can't get OrderMessage or OrderitemMessage.

 

 

david-jiang
Contributor
1 REPLY 1

I'm not familiar with the eBay integration, so I do not know if they assign invoice numbers or whether that's left up to you, but invoiceNumber is whatever is filled in for invoice number, not a value assigned by Authorize.net. I don't know if that helps you or not.

 

As for the response format for Transaction Details, order contains the following:

 

    <order> 
      <invoiceNumber>INV00001</invoiceNumber> 
      <description>some description</description> 
      <purchaseOrderNumber>PO000001</purchaseOrderNumber> 
    </order> 

 If you want line item info, it's formatted like so:

 

    <lineItems> 
      <lineItem> 
        <itemId>ITEM00001</itemId> 
        <name>name of item sold</name> 
        <description>Description of item sold</description> 
        <quantity>1</quantity> 
        <unitPrice>6.95</unitPrice> 
        <taxable>true</taxable> 
      </lineItem> 
      <lineItem> 
        <itemId>ITEM00001</itemId> 
        <name>name of item sold</name> 
        <description>Description of item sold</description> 
        <quantity>1</quantity> 
        <unitPrice>6.95</unitPrice> 
        <taxable>true</taxable> 
      </lineItem> 
    </lineItems> 

Obviously, the API's will return these as parts of a data structure, not this XML representation, but I thought this might be helpful for understanding the structure.

TJPride
Expert