<?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: Charge Credit Card - Displaying Discount Line Item on a Transaction in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Charge-Credit-Card-Displaying-Discount-Line-Item-on-a/m-p/87992#M55420</link>
    <description>&lt;P&gt;I am running in to the same problem. the model seems to indicate that the fields: discountAmount, taxAmount, taxIncludedInTotal,&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;taxIsAfterDiscount are available, and I am writing to these fields but they don't show up on the other end when I read the resulting transaction. They just show as 0.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Whats the deal?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 06 Nov 2023 20:00:54 GMT</pubDate>
    <dc:creator>boylec</dc:creator>
    <dc:date>2023-11-06T20:00:54Z</dc:date>
    <item>
      <title>Charge Credit Card - Displaying Discount Line Item on a Transaction</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Charge-Credit-Card-Displaying-Discount-Line-Item-on-a/m-p/83917#M52906</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently testing adding a discount amount to the transaction line item.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Class shows that it's available to use and it does not throw an error. When I view the transaction through the portal, the line items appear as they should but no discount rate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd" target="_blank"&gt;https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd&lt;/A&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;XSD Type: lineItemType&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I also checked the sample code on Github and can't locate an example there.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Aug 2022 21:24:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Charge-Credit-Card-Displaying-Discount-Line-Item-on-a/m-p/83917#M52906</guid>
      <dc:creator>devray</dc:creator>
      <dc:date>2022-08-25T21:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Charge Credit Card - Displaying Discount Line Item on a Transaction</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Charge-Credit-Card-Displaying-Discount-Line-Item-on-a/m-p/83918#M52907</link>
      <description>&lt;P&gt;After continuing to dig around, I came across this solution:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/45112004/add-a-negative-price-line-item-or-discount" target="_blank"&gt;https://stackoverflow.com/questions/45112004/add-a-negative-price-line-item-or-discount&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It doesn't work the way that I had envisioned but I can at least create a line item with the discount code and pricing to reflect what happened to generate the total charge.&lt;/P&gt;&lt;P&gt;The API doesn't calculate the total charge, so this will work for what I needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 22:17:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Charge-Credit-Card-Displaying-Discount-Line-Item-on-a/m-p/83918#M52907</guid>
      <dc:creator>devray</dc:creator>
      <dc:date>2022-08-25T22:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Charge Credit Card - Displaying Discount Line Item on a Transaction</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Charge-Credit-Card-Displaying-Discount-Line-Item-on-a/m-p/87992#M55420</link>
      <description>&lt;P&gt;I am running in to the same problem. the model seems to indicate that the fields: discountAmount, taxAmount, taxIncludedInTotal,&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;taxIsAfterDiscount are available, and I am writing to these fields but they don't show up on the other end when I read the resulting transaction. They just show as 0.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Whats the deal?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Nov 2023 20:00:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Charge-Credit-Card-Displaying-Discount-Line-Item-on-a/m-p/87992#M55420</guid>
      <dc:creator>boylec</dc:creator>
      <dc:date>2023-11-06T20:00:54Z</dc:date>
    </item>
  </channel>
</rss>

