<?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: Send multiple Subscriptions in one API call in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Send-multiple-Subscriptions-in-one-API-call/m-p/37047#M20559</link>
    <description>&lt;P&gt;There isn't one. One ARB per call&lt;/P&gt;&lt;P&gt;Documentation is here&lt;/P&gt;&lt;P&gt;&lt;A href="http://developer.authorize.net/api/arb/" target="_blank"&gt;http://developer.authorize.net/api/arb/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and XML Schema&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;</description>
    <pubDate>Sat, 23 Nov 2013 21:24:38 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2013-11-23T21:24:38Z</dc:date>
    <item>
      <title>Send multiple Subscriptions in one API call</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Send-multiple-Subscriptions-in-one-API-call/m-p/37045#M20558</link>
      <description>&lt;P&gt;I am building a shopping cart that allows users to purchase multple subscriptions at the same time.&amp;nbsp; I have the code working to successfully work with one subscription.&amp;nbsp; But when I try to pass a second &amp;lt;subscription&amp;gt; tag in the XML, it gives me the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The element 'ARBCreateSubscriptionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'subscription' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sample of the XML I am trying to pass:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt; &amp;lt;ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt; &amp;lt;merchantAuthentication&amp;gt; &amp;lt;name&amp;gt;89g8aRKVR&amp;lt;/name&amp;gt; &amp;lt;transactionKey&amp;gt;5Kd9gH3A86z85Mpk&amp;lt;/transactionKey&amp;gt; &amp;lt;/merchantAuthentication&amp;gt; &amp;lt;refId&amp;gt;866FC385-546B-11&amp;lt;/refId&amp;gt; &amp;lt;subscription&amp;gt; &amp;lt;name&amp;gt;Test Product 1&amp;lt;/name&amp;gt; &amp;lt;paymentSchedule&amp;gt; &amp;lt;interval&amp;gt; &amp;lt;length&amp;gt;6&amp;lt;/length&amp;gt; &amp;lt;unit&amp;gt;months&amp;lt;/unit&amp;gt; &amp;lt;/interval&amp;gt; &amp;lt;startDate&amp;gt;2013-11-23&amp;lt;/startDate&amp;gt; &amp;lt;totalOccurrences&amp;gt;9999&amp;lt;/totalOccurrences&amp;gt; &amp;lt;/paymentSchedule&amp;gt; &amp;lt;amount&amp;gt;250&amp;lt;/amount&amp;gt; &amp;lt;payment&amp;gt; &amp;lt;creditCard&amp;gt; &amp;lt;cardNumber&amp;gt;4111111111111111&amp;lt;/cardNumber&amp;gt; &amp;lt;expirationDate&amp;gt;2015-01&amp;lt;/expirationDate&amp;gt; &amp;lt;cardCode&amp;gt;123&amp;lt;/cardCode&amp;gt; &amp;lt;/creditCard&amp;gt; &amp;lt;/payment&amp;gt; &amp;lt;order&amp;gt; &amp;lt;invoiceNumber&amp;gt;86716676-546B-11&amp;lt;/invoiceNumber&amp;gt; &amp;lt;/order&amp;gt; &amp;lt;customer&amp;gt; &amp;lt;id&amp;gt;117&amp;lt;/id&amp;gt; &amp;lt;email&amp;gt;test@yahoo.com&amp;lt;/email&amp;gt; &amp;lt;/customer&amp;gt; &amp;lt;billTo&amp;gt; &amp;lt;firstName&amp;gt;test&amp;lt;/firstName&amp;gt; &amp;lt;lastName&amp;gt;test&amp;lt;/lastName&amp;gt; &amp;lt;address&amp;gt;test&amp;lt;/address&amp;gt; &amp;lt;city&amp;gt;test&amp;lt;/city&amp;gt; &amp;lt;state&amp;gt;CA&amp;lt;/state&amp;gt; &amp;lt;zip&amp;gt;54321&amp;lt;/zip&amp;gt; &amp;lt;/billTo&amp;gt; &amp;lt;/subscription&amp;gt; &amp;lt;subscription&amp;gt; &amp;lt;name&amp;gt;Test Product 2&amp;lt;/name&amp;gt; &amp;lt;paymentSchedule&amp;gt; &amp;lt;interval&amp;gt; &amp;lt;length&amp;gt;6&amp;lt;/length&amp;gt; &amp;lt;unit&amp;gt;months&amp;lt;/unit&amp;gt; &amp;lt;/interval&amp;gt; &amp;lt;startDate&amp;gt;2013-11-23&amp;lt;/startDate&amp;gt; &amp;lt;totalOccurrences&amp;gt;9999&amp;lt;/totalOccurrences&amp;gt; &amp;lt;/paymentSchedule&amp;gt; &amp;lt;amount&amp;gt;250&amp;lt;/amount&amp;gt; &amp;lt;payment&amp;gt; &amp;lt;creditCard&amp;gt; &amp;lt;cardNumber&amp;gt;4111111111111111&amp;lt;/cardNumber&amp;gt; &amp;lt;expirationDate&amp;gt;2015-01&amp;lt;/expirationDate&amp;gt; &amp;lt;cardCode&amp;gt;123&amp;lt;/cardCode&amp;gt; &amp;lt;/creditCard&amp;gt; &amp;lt;/payment&amp;gt; &amp;lt;order&amp;gt; &amp;lt;invoiceNumber&amp;gt;86716676-546B-11&amp;lt;/invoiceNumber&amp;gt; &amp;lt;/order&amp;gt; &amp;lt;customer&amp;gt; &amp;lt;id&amp;gt;117&amp;lt;/id&amp;gt; &amp;lt;email&amp;gt;test@yahoo.com&amp;lt;/email&amp;gt; &amp;lt;/customer&amp;gt; &amp;lt;billTo&amp;gt; &amp;lt;firstName&amp;gt;test&amp;lt;/firstName&amp;gt; &amp;lt;lastName&amp;gt;test&amp;lt;/lastName&amp;gt; &amp;lt;address&amp;gt;test&amp;lt;/address&amp;gt; &amp;lt;city&amp;gt;test&amp;lt;/city&amp;gt; &amp;lt;state&amp;gt;CA&amp;lt;/state&amp;gt; &amp;lt;zip&amp;gt;54321&amp;lt;/zip&amp;gt; &amp;lt;/billTo&amp;gt; &amp;lt;/subscription&amp;gt; &amp;lt;/ARBCreateSubscriptionRequest&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the correct XML syntax for passing multiple different Subscriptions in the same call?&amp;nbsp; I have searched all around through the documentation and internet and cannot find a example similar to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks all for the help.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2013 19:15:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Send-multiple-Subscriptions-in-one-API-call/m-p/37045#M20558</guid>
      <dc:creator>elfpro</dc:creator>
      <dc:date>2013-11-23T19:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Send multiple Subscriptions in one API call</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Send-multiple-Subscriptions-in-one-API-call/m-p/37047#M20559</link>
      <description>&lt;P&gt;There isn't one. One ARB per call&lt;/P&gt;&lt;P&gt;Documentation is here&lt;/P&gt;&lt;P&gt;&lt;A href="http://developer.authorize.net/api/arb/" target="_blank"&gt;http://developer.authorize.net/api/arb/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and XML Schema&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;</description>
      <pubDate>Sat, 23 Nov 2013 21:24:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Send-multiple-Subscriptions-in-one-API-call/m-p/37047#M20559</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-11-23T21:24:38Z</dc:date>
    </item>
  </channel>
</rss>

