<?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: Empty response while creating ARB Subscription in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-while-creating-ARB-Subscription/m-p/58253#M32918</link>
    <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7546"&gt;@RichardH&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I take more closer look and noticed issue is started when i set PaymentSchedule. I print out values( interval, start date) that are passed to paymentSchedule and these are all good. &amp;nbsp;same code is working in my old hosting but it is not working for Amazon AWS hosting. &amp;nbsp;Site is currently in production mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is code snippt :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$paymentSchedule = new AnetAPI\PaymentScheduleType();
$paymentSchedule-&amp;gt;setInterval($interval);
$paymentSchedule-&amp;gt;setStartDate(new DateTime($dateeffective));
$paymentSchedule-&amp;gt;setTotalOccurrences("9999");
 //$paymentSchedule-&amp;gt;setTrialOccurrences("1");
$subscription-&amp;gt;setPaymentSchedule($paymentSchedule);&lt;/PRE&gt;</description>
    <pubDate>Sat, 27 May 2017 02:12:59 GMT</pubDate>
    <dc:creator>jay71134</dc:creator>
    <dc:date>2017-05-27T02:12:59Z</dc:date>
    <item>
      <title>Empty response while creating ARB Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-while-creating-ARB-Subscription/m-p/58241#M32908</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using PHP SDK API and everything working fine, when i migrate site to Amazon AWS "ARBCreateSubscriptionController" &amp;nbsp;return empty response and subscripitons are not creating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this something with server configuration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code snippt is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$request = new AnetAPI\ARBCreateSubscriptionRequest();
$request-&amp;gt;setmerchantAuthentication($merchantAuthentication);
$request-&amp;gt;setRefId($refId);
$request-&amp;gt;setSubscription($subscription);
$controller = new AnetController\ARBCreateSubscriptionController($request);

$response = $controller-&amp;gt;executeWithApiResponse(Envir);

if (($response != null) &amp;amp;&amp;amp; ($response-&amp;gt;getMessages()-&amp;gt;getResultCode() == "Ok") ){
    $SubscriptionID = $response-&amp;gt;getSubscriptionId();
}&lt;/PRE&gt;&lt;P&gt;Any help would be great and Thanks you in advance.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 18:58:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-while-creating-ARB-Subscription/m-p/58241#M32908</guid>
      <dc:creator>jay71134</dc:creator>
      <dc:date>2017-05-25T18:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response while creating ARB Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-while-creating-ARB-Subscription/m-p/58248#M32913</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21346"&gt;@jay71134&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this only failing for this API method any API call? &amp;nbsp;Is this with your sandbox or production account?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 20:29:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-while-creating-ARB-Subscription/m-p/58248#M32913</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2017-05-26T20:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response while creating ARB Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-while-creating-ARB-Subscription/m-p/58253#M32918</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7546"&gt;@RichardH&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I take more closer look and noticed issue is started when i set PaymentSchedule. I print out values( interval, start date) that are passed to paymentSchedule and these are all good. &amp;nbsp;same code is working in my old hosting but it is not working for Amazon AWS hosting. &amp;nbsp;Site is currently in production mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is code snippt :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$paymentSchedule = new AnetAPI\PaymentScheduleType();
$paymentSchedule-&amp;gt;setInterval($interval);
$paymentSchedule-&amp;gt;setStartDate(new DateTime($dateeffective));
$paymentSchedule-&amp;gt;setTotalOccurrences("9999");
 //$paymentSchedule-&amp;gt;setTrialOccurrences("1");
$subscription-&amp;gt;setPaymentSchedule($paymentSchedule);&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 May 2017 02:12:59 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-while-creating-ARB-Subscription/m-p/58253#M32918</guid>
      <dc:creator>jay71134</dc:creator>
      <dc:date>2017-05-27T02:12:59Z</dc:date>
    </item>
  </channel>
</rss>

