<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: negative value line item (showing credits on invoice) in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/negative-value-line-item-showing-credits-on-invoice/m-p/32716#M17261</link>
    <description>&lt;P&gt;Is it possible to tell the gateway to not send the customer an email? That way I could build my own invoice and send it myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, on the extraoptions add x_email_customer&amp;nbsp; = false&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jan 2013 21:20:57 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2013-01-25T21:20:57Z</dc:date>
    <item>
      <title>negative value line item (showing credits on invoice)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/negative-value-line-item-showing-credits-on-invoice/m-p/32713#M17258</link>
      <description>&lt;P&gt;What is the recommended procedure for showing credits on the invoice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using PHP:&lt;/P&gt;&lt;P&gt;$transactionRequest = new AuthorizeNetCIM;&lt;BR /&gt;return $transactionRequest-&amp;gt;createCustomerProfileTransaction("AuthCapture", $transaction);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$transaction contains lineItems array. Would like to create line item that looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$discountItem = new AuthorizeNetLineItem;&lt;BR /&gt;$discountItem-&amp;gt;name = "Subscription Discount";&lt;BR /&gt;$discountItem-&amp;gt;description= '[coupon] "FALL05 - 5% off Purchases over $100"'&lt;BR /&gt;$discountItem-&amp;gt;quantity = 1;&lt;BR /&gt;$discountItem-&amp;gt;unitPrice = -5.25;&lt;BR /&gt;$transaction-&amp;gt;lineItems[] = $discountItem;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But documentation and other posts on the forums allude that unitPrice can't be negative.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What other strategies can I employ? My client would really like to show credits as a line item. I've suggested that maybe we could list them in a line item's description... but which one, when the discount applies to the total, and not one particular item?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to entertain any of your suggestions. I've seen this question asked several times, but never any real solutions presented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to tell the gateway to not send the customer an email? That way I could build my own invoice and send it myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 20:18:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/negative-value-line-item-showing-credits-on-invoice/m-p/32713#M17258</guid>
      <dc:creator>codasaurus</dc:creator>
      <dc:date>2013-01-25T20:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: negative value line item (showing credits on invoice)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/negative-value-line-item-showing-credits-on-invoice/m-p/32716#M17261</link>
      <description>&lt;P&gt;Is it possible to tell the gateway to not send the customer an email? That way I could build my own invoice and send it myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, on the extraoptions add x_email_customer&amp;nbsp; = false&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:20:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/negative-value-line-item-showing-credits-on-invoice/m-p/32716#M17261</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-01-25T21:20:57Z</dc:date>
    </item>
  </channel>
</rss>

