<?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 POSTING RAW XML to API in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/POSTING-RAW-XML-to-API/m-p/67883#M41188</link>
    <description>&lt;P&gt;Can someone provide an example of the order of xml to send for accepted hosts?&lt;/P&gt;&lt;P&gt;We will be using a redirect to the hosted form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We currently use SIM and my understanding of this new method is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) set options ie:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
  &amp;lt;merchantAuthentication&amp;gt;
    &amp;lt;name&amp;gt;34RZJpz5M&amp;lt;/name&amp;gt;
    &amp;lt;transactionKey&amp;gt;578k6f7q3BMaTrG5&amp;lt;/transactionKey&amp;gt;
  &amp;lt;/merchantAuthentication&amp;gt;
  &amp;lt;transactionRequest/&amp;gt;
  &amp;lt;hostedPaymentSettings&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentButtonOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"text": "Submit Payment"}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentStyleOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"bgColor": "red"}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentOrderOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"show": true,"merchantName":"Texas Girls Coaches Assoc."}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentReturnOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"url": "http://tgca_dev.jdoherty.net/php/sadispatch.php?event=renew_ccpost&amp;amp;amp;first_time=init&amp;amp;amp;invid=33:123456:71870:1626,"cancelUrl": "http://tgca_dev.jdoherty.net/php/sadispatch.php?event=renew_ccpost&amp;amp;amp;first_time=tcancel&amp;amp;amp;invid=33:123456:71870:1626", "showReceipt": true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentPaymentOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"cardCodeRequired":true,"showCreditCard": true,"showBankAccount":true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentSecurityOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"captcha":true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentBillingAddressOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"show":true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentCustomerOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"showEmail":true,"requiredEmail":true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
  &amp;lt;/hostedPaymentSettings&amp;gt;
&amp;lt;/getHostedPaymentPageRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;2) Get Token&lt;/P&gt;&lt;P&gt;3) Redirect to&amp;nbsp;&lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;&lt;/P&gt;&lt;P&gt;4) The hosted form will then redirect to our relay URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Doherty&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2019 11:25:05 GMT</pubDate>
    <dc:creator>jmd804500</dc:creator>
    <dc:date>2019-05-31T11:25:05Z</dc:date>
    <item>
      <title>POSTING RAW XML to API</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/POSTING-RAW-XML-to-API/m-p/67883#M41188</link>
      <description>&lt;P&gt;Can someone provide an example of the order of xml to send for accepted hosts?&lt;/P&gt;&lt;P&gt;We will be using a redirect to the hosted form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We currently use SIM and my understanding of this new method is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) set options ie:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
  &amp;lt;merchantAuthentication&amp;gt;
    &amp;lt;name&amp;gt;34RZJpz5M&amp;lt;/name&amp;gt;
    &amp;lt;transactionKey&amp;gt;578k6f7q3BMaTrG5&amp;lt;/transactionKey&amp;gt;
  &amp;lt;/merchantAuthentication&amp;gt;
  &amp;lt;transactionRequest/&amp;gt;
  &amp;lt;hostedPaymentSettings&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentButtonOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"text": "Submit Payment"}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentStyleOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"bgColor": "red"}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentOrderOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"show": true,"merchantName":"Texas Girls Coaches Assoc."}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentReturnOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"url": "http://tgca_dev.jdoherty.net/php/sadispatch.php?event=renew_ccpost&amp;amp;amp;first_time=init&amp;amp;amp;invid=33:123456:71870:1626,"cancelUrl": "http://tgca_dev.jdoherty.net/php/sadispatch.php?event=renew_ccpost&amp;amp;amp;first_time=tcancel&amp;amp;amp;invid=33:123456:71870:1626", "showReceipt": true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentPaymentOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"cardCodeRequired":true,"showCreditCard": true,"showBankAccount":true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentSecurityOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"captcha":true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentBillingAddressOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"show":true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
    &amp;lt;setting&amp;gt;
      &amp;lt;settingName&amp;gt;hostedPaymentCustomerOptions&amp;lt;/settingName&amp;gt;
      &amp;lt;settingValue&amp;gt;{"showEmail":true,"requiredEmail":true}&amp;lt;/settingValue&amp;gt;
    &amp;lt;/setting&amp;gt;
  &amp;lt;/hostedPaymentSettings&amp;gt;
&amp;lt;/getHostedPaymentPageRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;2) Get Token&lt;/P&gt;&lt;P&gt;3) Redirect to&amp;nbsp;&lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;&lt;/P&gt;&lt;P&gt;4) The hosted form will then redirect to our relay URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Doherty&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 11:25:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/POSTING-RAW-XML-to-API/m-p/67883#M41188</guid>
      <dc:creator>jmd804500</dc:creator>
      <dc:date>2019-05-31T11:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: POSTING RAW XML to API</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/POSTING-RAW-XML-to-API/m-p/67938#M41236</link>
      <description>&lt;P&gt;Yes, that order looks correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Thu, 06 Jun 2019 20:48:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/POSTING-RAW-XML-to-API/m-p/67938#M41236</guid>
      <dc:creator>mmcguire</dc:creator>
      <dc:date>2019-06-06T20:48:24Z</dc:date>
    </item>
  </channel>
</rss>

