<?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 ARBGetSubscriptionStatus for nonexisting subscriptionID in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARBGetSubscriptionStatus-for-nonexisting-subscriptionID/m-p/58220#M32904</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While calling "ARBGetSubscriptionStatus" method of web service for any dummy subscriptionid eg: 123 and we call&amp;nbsp;&lt;SPAN&gt;ARBGetSubscriptionStatus(123), it returns Messeage as "active" while there is no such subscriptionid existing in authorize.net.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What is the solution to weather a subscriptionid exists or not?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2017 05:33:32 GMT</pubDate>
    <dc:creator>ruchi_s</dc:creator>
    <dc:date>2017-05-25T05:33:32Z</dc:date>
    <item>
      <title>ARBGetSubscriptionStatus for nonexisting subscriptionID</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARBGetSubscriptionStatus-for-nonexisting-subscriptionID/m-p/58220#M32904</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While calling "ARBGetSubscriptionStatus" method of web service for any dummy subscriptionid eg: 123 and we call&amp;nbsp;&lt;SPAN&gt;ARBGetSubscriptionStatus(123), it returns Messeage as "active" while there is no such subscriptionid existing in authorize.net.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What is the solution to weather a subscriptionid exists or not?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 05:33:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARBGetSubscriptionStatus-for-nonexisting-subscriptionID/m-p/58220#M32904</guid>
      <dc:creator>ruchi_s</dc:creator>
      <dc:date>2017-05-25T05:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: ARBGetSubscriptionStatus for nonexisting subscriptionID</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARBGetSubscriptionStatus-for-nonexisting-subscriptionID/m-p/58263#M32928</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21530"&gt;@ruchi_s&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you give an example request and response? In my testing, passing a subscription ID that doesn't match an existing one returns &lt;A href="http://developer.authorize.net/api/reference/responseCodes.html?code=E00035" target="_self"&gt;error E00035&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 17:24:59 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARBGetSubscriptionStatus-for-nonexisting-subscriptionID/m-p/58263#M32928</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-05-30T17:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: ARBGetSubscriptionStatus for nonexisting subscriptionID</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARBGetSubscriptionStatus-for-nonexisting-subscriptionID/m-p/58269#M32933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20843"&gt;@Aaron&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. Yeah I got this error code using following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;response.messages.FirstOrDefault().code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I was matching only status of response "response.status.ToString()" which returns "Active" for such non-existing subscriptions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually I had a check in my code that if status of subscription is "Canceled" or "Suspended" then to create new subscription but status of&amp;nbsp;&lt;SPAN&gt;non-existing subscriptions is returned as "Active". Now I had to add extra check of "response.messages.FirstOrDefault().code=="E00035".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 04:21:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARBGetSubscriptionStatus-for-nonexisting-subscriptionID/m-p/58269#M32933</guid>
      <dc:creator>ruchi_s</dc:creator>
      <dc:date>2017-05-31T04:21:23Z</dc:date>
    </item>
  </channel>
</rss>

