<?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: AnetAPI/LineItemType setTaxable not actually setting Taxable on each line item in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AnetAPI-LineItemType-setTaxable-not-actually-setting-Taxable-on/m-p/53404#M28523</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We ust updated the sample code to show the correct usage for setting taxable on line items: &amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sample-code-php/commit/4d70fe00771593a42ab3051d0662cb8bbb5b727e&amp;nbsp;" target="_blank"&gt;https://github.com/AuthorizeNet/sample-code-php/commit/4d70fe00771593a42ab3051d0662cb8bbb5b727e&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the incorrect sample, PHP is a little too forgiving and was just accepting incorrect values as "not set" which then defaulted to true/Y.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
    <pubDate>Mon, 28 Dec 2015 23:20:36 GMT</pubDate>
    <dc:creator>brianmc</dc:creator>
    <dc:date>2015-12-28T23:20:36Z</dc:date>
    <item>
      <title>AnetAPI/LineItemType setTaxable not actually setting Taxable on each line item</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AnetAPI-LineItemType-setTaxable-not-actually-setting-Taxable-on/m-p/53373#M28496</link>
      <description>&lt;P&gt;I am using the AnetAPI/LineItemType() to set new line items on orders. I am trying to set the taxable tag on each line item to "N".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$designate = new AnetAPI\LineItemType();
$designate-&amp;gt;setItemId("Designate a Donation");
$designate-&amp;gt;setName("Designate a Donation");
$designate-&amp;gt;setDescription($designate_reason);
$designate-&amp;gt;setQuantity("1");
$designate-&amp;gt;setUnitPrice(0);
$designate-&amp;gt;setTaxable("N");

$transactionRequestType = new AnetAPI\TransactionRequestType();
$transactionRequestType-&amp;gt;addToLineItems($designate);&lt;/PRE&gt;&lt;P&gt;I've tried "N", "false", and both without quotes. No go - the line items still get returned as Taxable: "Y". Did this method change? Am I doing something wrong? Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:41:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AnetAPI-LineItemType-setTaxable-not-actually-setting-Taxable-on/m-p/53373#M28496</guid>
      <dc:creator>kellydale1</dc:creator>
      <dc:date>2015-12-21T17:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: AnetAPI/LineItemType setTaxable not actually setting Taxable on each line item</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AnetAPI-LineItemType-setTaxable-not-actually-setting-Taxable-on/m-p/53404#M28523</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We ust updated the sample code to show the correct usage for setting taxable on line items: &amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sample-code-php/commit/4d70fe00771593a42ab3051d0662cb8bbb5b727e&amp;nbsp;" target="_blank"&gt;https://github.com/AuthorizeNet/sample-code-php/commit/4d70fe00771593a42ab3051d0662cb8bbb5b727e&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the incorrect sample, PHP is a little too forgiving and was just accepting incorrect values as "not set" which then defaulted to true/Y.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 23:20:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AnetAPI-LineItemType-setTaxable-not-actually-setting-Taxable-on/m-p/53404#M28523</guid>
      <dc:creator>brianmc</dc:creator>
      <dc:date>2015-12-28T23:20:36Z</dc:date>
    </item>
  </channel>
</rss>

