<?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 AIM ARB: Update Total Occurrences &amp;amp; Amount in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-ARB-Update-Total-Occurrences-amp-Amount/m-p/27906#M14731</link>
    <description>&lt;P&gt;Using the Java SDK, is it possible to update the total occurrences and amount for a subscription? I don't have a need to modify any of the other fields of the subscription. The ARB doc states that, using ARBUpdateSubscription:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="column"&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class="column"&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;The subscription start date (subscription.paymentSchedule.startDate) may only be updated if no successful payments have been completed. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;The subscription interval information (subscription.paymentSchedule.interval.length and subscription.paymentSchedule.interval.unit) may not be updated. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;The number of trial occurrences (subscription.paymentSchedule.trialOccurrences) may only be updated if the subscription has not yet begun or is still in the trial period. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;If the start date is the 31st, and the interval is monthly, the billing date is the last day of each month (even when the month does not have 31 days). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All other fields are optional.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;which seems to imply that I should be able to update total occurrences and amount, but the update fails with:&lt;/P&gt;&lt;P&gt;The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:startDate' element is invalid - The value '' is invalid according to its datatype '&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema:date'"&gt;http://www.w3.org/2001/XMLSchema:date'&lt;/A&gt; - The string '' is not a valid XsdDateTime value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jul 2012 19:39:34 GMT</pubDate>
    <dc:creator>rbm</dc:creator>
    <dc:date>2012-07-12T19:39:34Z</dc:date>
    <item>
      <title>AIM ARB: Update Total Occurrences &amp; Amount</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-ARB-Update-Total-Occurrences-amp-Amount/m-p/27906#M14731</link>
      <description>&lt;P&gt;Using the Java SDK, is it possible to update the total occurrences and amount for a subscription? I don't have a need to modify any of the other fields of the subscription. The ARB doc states that, using ARBUpdateSubscription:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="column"&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class="column"&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;The subscription start date (subscription.paymentSchedule.startDate) may only be updated if no successful payments have been completed. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;The subscription interval information (subscription.paymentSchedule.interval.length and subscription.paymentSchedule.interval.unit) may not be updated. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;The number of trial occurrences (subscription.paymentSchedule.trialOccurrences) may only be updated if the subscription has not yet begun or is still in the trial period. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;If the start date is the 31st, and the interval is monthly, the billing date is the last day of each month (even when the month does not have 31 days). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All other fields are optional.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;which seems to imply that I should be able to update total occurrences and amount, but the update fails with:&lt;/P&gt;&lt;P&gt;The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:startDate' element is invalid - The value '' is invalid according to its datatype '&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema:date'"&gt;http://www.w3.org/2001/XMLSchema:date'&lt;/A&gt; - The string '' is not a valid XsdDateTime value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 19:39:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-ARB-Update-Total-Occurrences-amp-Amount/m-p/27906#M14731</guid>
      <dc:creator>rbm</dc:creator>
      <dc:date>2012-07-12T19:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: AIM ARB: Update Total Occurrences &amp; Amount</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-ARB-Update-Total-Occurrences-amp-Amount/m-p/28054#M14799</link>
      <description>&lt;P&gt;The total occurrences cannot be updated on a subscription, but the error you are receiving seems to indicate that you are not entering a startDate. If the subscription that you are trying to update has not yet started, you must include the start date in any update request.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2012 18:34:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-ARB-Update-Total-Occurrences-amp-Amount/m-p/28054#M14799</guid>
      <dc:creator>Trevor</dc:creator>
      <dc:date>2012-07-19T18:34:10Z</dc:date>
    </item>
  </channel>
</rss>

