<?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 Hosted Payment page Cancel button not working in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Payment-page-Cancel-button-not-working/m-p/61866#M36265</link>
    <description>&lt;P&gt;I have set the code for the cancel button but nothing happens when it is clicked. Any suggestions why?&amp;nbsp; I thought this was the code to set it:&lt;/P&gt;&lt;PRE&gt;settings(3) = New settingType
        settings(3).settingName = settingNameEnum.hostedPaymentReturnOptions.ToString
        settings(3).settingValue = "{""url"": ""http://mysite/training-center/training-locations"", ""urlText"": ""Continue"", ""cancelUrl"": ""http://mysite/training-center/training-schedule"", ""cancelUrlText"": ""Cancel""}"
        &lt;/PRE&gt;&lt;P&gt;It works for the "Continue" button which appears on the receipt page but the "Cancel" button that is shown on the payment page ("Pay" and "Cancel" buttons are shown) does nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2018 23:52:50 GMT</pubDate>
    <dc:creator>jmorgret</dc:creator>
    <dc:date>2018-02-27T23:52:50Z</dc:date>
    <item>
      <title>Hosted Payment page Cancel button not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Payment-page-Cancel-button-not-working/m-p/61866#M36265</link>
      <description>&lt;P&gt;I have set the code for the cancel button but nothing happens when it is clicked. Any suggestions why?&amp;nbsp; I thought this was the code to set it:&lt;/P&gt;&lt;PRE&gt;settings(3) = New settingType
        settings(3).settingName = settingNameEnum.hostedPaymentReturnOptions.ToString
        settings(3).settingValue = "{""url"": ""http://mysite/training-center/training-locations"", ""urlText"": ""Continue"", ""cancelUrl"": ""http://mysite/training-center/training-schedule"", ""cancelUrlText"": ""Cancel""}"
        &lt;/PRE&gt;&lt;P&gt;It works for the "Continue" button which appears on the receipt page but the "Cancel" button that is shown on the payment page ("Pay" and "Cancel" buttons are shown) does nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 23:52:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Payment-page-Cancel-button-not-working/m-p/61866#M36265</guid>
      <dc:creator>jmorgret</dc:creator>
      <dc:date>2018-02-27T23:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Payment page Cancel button not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Payment-page-Cancel-button-not-working/m-p/62025#M36409</link>
      <description>&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 23:32:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Payment-page-Cancel-button-not-working/m-p/62025#M36409</guid>
      <dc:creator>jmorgret</dc:creator>
      <dc:date>2018-03-07T23:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Payment page Cancel button not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Payment-page-Cancel-button-not-working/m-p/62026#M36410</link>
      <description>&lt;P&gt;After looking the code it seems SettingValue&amp;nbsp;got messed up, Please&amp;nbsp;check your request when goes on network, if it&amp;nbsp;follow below structure:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JSON:-&lt;/P&gt;&lt;P&gt;"hostedPaymentSettings": {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "setting": [{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "settingName": "hostedPaymentReturnOptions",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "settingValue": "{\"showReceipt\": true, \"url\": \"&lt;A href="https://mysite.com/receipt\" target="_blank"&gt;https://mysite.com/receipt\&lt;/A&gt;", \"urlText\": \"Continue\", \"cancelUrl\": \"&lt;A href="https://mysite.com/cancel\" target="_blank"&gt;https://mysite.com/cancel\&lt;/A&gt;", \"cancelUrlText\": \"Cancel\"}"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "settingName": "hostedPaymentPaymentOptions",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "settingValue": "{\"cardCodeRequired\": false, \"showCreditCard\": true, \"showBankAccount\": true}"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;XML:-&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;lt;hostedPaymentSettings&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingName&amp;gt;hostedPaymentReturnOptions&amp;lt;/settingName&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingValue&amp;gt;{"showReceipt": true, "url":"&lt;A href="https://mysite.com/receipt" target="_blank"&gt;https://mysite.com/receipt&lt;/A&gt;&lt;/FONT&gt;&lt;FONT face="Calibri" color="#000000"&gt;","urlText":"Continue","cancelUrl":"&lt;/FONT&gt;&lt;A href="https://mysite.com/cancel" target="_blank"&gt;&lt;U&gt;&lt;FONT face="Calibri" color="#0563c1"&gt;https://mysite.com/cancel&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;FONT face="Calibri" color="#000000"&gt;","cancelUrlText":"CancelText"}&amp;lt;/settingValue&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingName&amp;gt;hostedPaymentPaymentOptions&amp;lt;/settingName&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingValue&amp;gt;{"cardCodeRequired": true, "showCreditCard": true, "showBankAccount": true}&amp;lt;/settingValue&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Calibri" color="#000000"&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;lt;/hostedPaymentSettings&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer here:-&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/features/accept_hosted.html" target="_blank"&gt;https://developer.authorize.net/api/reference/features/accept_hosted.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it will help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 01:24:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Payment-page-Cancel-button-not-working/m-p/62026#M36410</guid>
      <dc:creator>Shoagraw</dc:creator>
      <dc:date>2018-03-08T01:24:38Z</dc:date>
    </item>
  </channel>
</rss>

