<?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: Get list of subscriptions based on CustomerProfileId in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-list-of-subscriptions-based-on-CustomerProfileId/m-p/63366#M37507</link>
    <description>&lt;P&gt;That's a good question, Asim.&lt;BR /&gt;&lt;BR /&gt;You can get the same information by using the following APIs:-&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-get-customer-profile" target="_blank"&gt;GetCustomerProfile API &lt;/A&gt;- Returns the list of subscriptions for this customerProfileId as&amp;nbsp;&lt;EM&gt;subscriptionIds field in the response.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-get-customer-payment-profile" target="_self"&gt;GetCustomerPaymentProfile API&lt;/A&gt; - Also returns the list of subscriptions for a particular payment profile of a customer. A payment profile include the customer profile id, and one method of payment used by that customer profile.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-get-customer-shipping-address" target="_self"&gt;GetCustomerShippingAddress API &lt;/A&gt;- Similar to payment profiles, a shipping addresses includes the customer profile id, and one shipping address used by that customer profile.&lt;P&gt;In all the cases above, the name of this field in response is &lt;EM&gt;subscriptionIds, as you can see in the Response tab for these APIs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" alt="GetCustomerProfile API response fields" width="92" height="92" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;One sample code you can refer for case 1 is :&amp;nbsp;&lt;STRONG&gt;&lt;A title="GetCustomerProfile C# sample code" href="https://github.com/AuthorizeNet/sample-code-csharp/blob/master/CustomerProfiles/GetCustomerProfile.cs#L47&amp;nbsp;" target="_self"&gt;GetCustomerProfile C# sample code&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Other sample codes:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sample-code-csharp/blob/master/CustomerProfiles/GetCustomerPaymentProfile.cs#L54" target="_blank"&gt;Get Customer Payment Profile sample code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sample-code-csharp/blob/master/CustomerProfiles/GetCustomerShippingAddress.cs#L42" target="_blank"&gt;Get Customer Shippping Address sample code&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Mon, 11 Jun 2018 17:18:42 GMT</pubDate>
    <dc:creator>ashu8uec</dc:creator>
    <dc:date>2018-06-11T17:18:42Z</dc:date>
    <item>
      <title>Get list of subscriptions based on CustomerProfileId</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-list-of-subscriptions-based-on-CustomerProfileId/m-p/63357#M37499</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get the list of subscription based on CustomerProfileId.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to get the list based on customerProfileId?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Case Description:&lt;/P&gt;&lt;P&gt;I've list of plans and customers can subscribe to multiple plans.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way I'm trying to impelment this is my making a customer profile and creating ARB subscription using their customer profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I need to make sure customer does not subscribe to same plan twice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 17:37:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-list-of-subscriptions-based-on-CustomerProfileId/m-p/63357#M37499</guid>
      <dc:creator>asimneupane0089</dc:creator>
      <dc:date>2018-06-10T17:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of subscriptions based on CustomerProfileId</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-list-of-subscriptions-based-on-CustomerProfileId/m-p/63358#M37500</link>
      <description>&lt;P&gt;I know I can get this list by doing something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var subsrcriptions =&amp;nbsp; GetListOfSubcriptioins.Run(ApiLoginId, ApiTransactionId);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var data = (ARBGetSubscriptionListResponse)subsrcriptions;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And query data to get a list of subscription for given profile Id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if there is a better way to do this.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 18:03:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-list-of-subscriptions-based-on-CustomerProfileId/m-p/63358#M37500</guid>
      <dc:creator>asimneupane0089</dc:creator>
      <dc:date>2018-06-10T18:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of subscriptions based on CustomerProfileId</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-list-of-subscriptions-based-on-CustomerProfileId/m-p/63366#M37507</link>
      <description>&lt;P&gt;That's a good question, Asim.&lt;BR /&gt;&lt;BR /&gt;You can get the same information by using the following APIs:-&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-get-customer-profile" target="_blank"&gt;GetCustomerProfile API &lt;/A&gt;- Returns the list of subscriptions for this customerProfileId as&amp;nbsp;&lt;EM&gt;subscriptionIds field in the response.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-get-customer-payment-profile" target="_self"&gt;GetCustomerPaymentProfile API&lt;/A&gt; - Also returns the list of subscriptions for a particular payment profile of a customer. A payment profile include the customer profile id, and one method of payment used by that customer profile.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-get-customer-shipping-address" target="_self"&gt;GetCustomerShippingAddress API &lt;/A&gt;- Similar to payment profiles, a shipping addresses includes the customer profile id, and one shipping address used by that customer profile.&lt;P&gt;In all the cases above, the name of this field in response is &lt;EM&gt;subscriptionIds, as you can see in the Response tab for these APIs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" alt="GetCustomerProfile API response fields" width="92" height="92" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;One sample code you can refer for case 1 is :&amp;nbsp;&lt;STRONG&gt;&lt;A title="GetCustomerProfile C# sample code" href="https://github.com/AuthorizeNet/sample-code-csharp/blob/master/CustomerProfiles/GetCustomerProfile.cs#L47&amp;nbsp;" target="_self"&gt;GetCustomerProfile C# sample code&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Other sample codes:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sample-code-csharp/blob/master/CustomerProfiles/GetCustomerPaymentProfile.cs#L54" target="_blank"&gt;Get Customer Payment Profile sample code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sample-code-csharp/blob/master/CustomerProfiles/GetCustomerShippingAddress.cs#L42" target="_blank"&gt;Get Customer Shippping Address sample code&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 11 Jun 2018 17:18:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-list-of-subscriptions-based-on-CustomerProfileId/m-p/63366#M37507</guid>
      <dc:creator>ashu8uec</dc:creator>
      <dc:date>2018-06-11T17:18:42Z</dc:date>
    </item>
  </channel>
</rss>

