<?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 authorize.net arb subscription start date error in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/authorize-net-arb-subscription-start-date-error/m-p/31844#M16577</link>
    <description>&lt;P&gt;According to the documentation the subscription start date has to be in this format: &amp;nbsp;YYYY-MM-DD.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So in subscribe.php I have a hidden field in the form to collect the current date as a start date. &amp;nbsp;It looks like this: &amp;nbsp;&amp;lt;input type="hidden" id="startDate" value="&amp;lt;?php echo date('Y-m-d'); ?&amp;gt;" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I know it works because I can change type="hidden" to type="text" and it outputs correctly: &amp;nbsp;2012-12-02&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In susbscriptionCreate.php I have the following variable:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;$startDate = $_POST["startDate"];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;and below:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;$content =&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "&amp;lt;startDate&amp;gt;" . $startDate . "&amp;lt;/startDate&amp;gt;".&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is all from sample code from&amp;nbsp;&lt;A href="http://authorize.net/" target="_blank"&gt;authorize.net&lt;/A&gt;&amp;nbsp;with only minor changes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The error I get is:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Response Code: Error&amp;nbsp;&lt;BR /&gt;Response Reason Code: E00003&lt;BR /&gt;Response Text: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:startDate' element is invalid -&amp;nbsp;&lt;FONT color="#FF0000"&gt;The value '' is invalid&lt;/FONT&gt;&amp;nbsp;according to its datatype '&lt;A href="http://www.w3.org/2001/XMLSchema:date" target="_blank"&gt;http://www.w3.org/2001/XMLSchema:date&lt;/A&gt;' - The string '' is not a valid XsdDateTime value.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you notice the red portion of the Response Text you'll see that it looks like the date is not being submitted at all. &amp;nbsp;As far as I can tell after going over everything numerous times I don't have any typos or missing quotes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you much for any direction you can give!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Mike&lt;/DIV&gt;</description>
    <pubDate>Sun, 02 Dec 2012 21:54:37 GMT</pubDate>
    <dc:creator>mmcaliff01</dc:creator>
    <dc:date>2012-12-02T21:54:37Z</dc:date>
    <item>
      <title>authorize.net arb subscription start date error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/authorize-net-arb-subscription-start-date-error/m-p/31844#M16577</link>
      <description>&lt;P&gt;According to the documentation the subscription start date has to be in this format: &amp;nbsp;YYYY-MM-DD.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So in subscribe.php I have a hidden field in the form to collect the current date as a start date. &amp;nbsp;It looks like this: &amp;nbsp;&amp;lt;input type="hidden" id="startDate" value="&amp;lt;?php echo date('Y-m-d'); ?&amp;gt;" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I know it works because I can change type="hidden" to type="text" and it outputs correctly: &amp;nbsp;2012-12-02&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In susbscriptionCreate.php I have the following variable:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;$startDate = $_POST["startDate"];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;and below:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;$content =&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "&amp;lt;startDate&amp;gt;" . $startDate . "&amp;lt;/startDate&amp;gt;".&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is all from sample code from&amp;nbsp;&lt;A href="http://authorize.net/" target="_blank"&gt;authorize.net&lt;/A&gt;&amp;nbsp;with only minor changes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The error I get is:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Response Code: Error&amp;nbsp;&lt;BR /&gt;Response Reason Code: E00003&lt;BR /&gt;Response Text: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:startDate' element is invalid -&amp;nbsp;&lt;FONT color="#FF0000"&gt;The value '' is invalid&lt;/FONT&gt;&amp;nbsp;according to its datatype '&lt;A href="http://www.w3.org/2001/XMLSchema:date" target="_blank"&gt;http://www.w3.org/2001/XMLSchema:date&lt;/A&gt;' - The string '' is not a valid XsdDateTime value.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you notice the red portion of the Response Text you'll see that it looks like the date is not being submitted at all. &amp;nbsp;As far as I can tell after going over everything numerous times I don't have any typos or missing quotes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you much for any direction you can give!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Mike&lt;/DIV&gt;</description>
      <pubDate>Sun, 02 Dec 2012 21:54:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/authorize-net-arb-subscription-start-date-error/m-p/31844#M16577</guid>
      <dc:creator>mmcaliff01</dc:creator>
      <dc:date>2012-12-02T21:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: authorize.net arb subscription start date error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/authorize-net-arb-subscription-start-date-error/m-p/31846#M16578</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You forgot the name attribute for your input:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;input type="hidden" id="startDate" &lt;STRONG&gt;name="startDate"&lt;/STRONG&gt; value="&amp;lt;?php echo date('Y-m-d'); ?&amp;gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2012 23:01:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/authorize-net-arb-subscription-start-date-error/m-p/31846#M16578</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2012-12-02T23:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: authorize.net arb subscription start date error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/authorize-net-arb-subscription-start-date-error/m-p/31848#M16579</link>
      <description>&lt;P&gt;Thank you!!! &amp;nbsp;That was it.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2012 23:25:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/authorize-net-arb-subscription-start-date-error/m-p/31848#M16579</guid>
      <dc:creator>mmcaliff01</dc:creator>
      <dc:date>2012-12-02T23:25:26Z</dc:date>
    </item>
  </channel>
</rss>

