Search code examples
phpxmlcodeigniterauthorize.netauthorize.net-cim

How to get lineItem information in email receipt using Authorize.net (CIM XML)


I am using Authorize.net CIM XML method to make payment in one of my websites. I have successfully implemented this payment gateway and receiving the email receipt as well.

But the problem is, email receipt doesn't show the itemized information. I have also included the below code for item detail :

<lineItems>
  <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>
</lineItems>
<lineItems>
   <itemId>ITEM00002</itemId>
   <name>name of other item sold</name>
   <description>Description of other item sold</description>
   <quantity>1</quantity>
   <unitPrice>1.00</unitPrice>
   <taxable>true</taxable>
</lineItems>

So can someone help me out ? Thanks in advance.


Solution

  • If you are referring to the merchant receipt, it will never include the line item details. Instead, you will need to use the transaction details api or login to the merchant interface to access that information.

    For customer email receipts, you can configure those in the Merchant Interface or through the API: http://goo.gl/bGHX9X