<?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 using accept hosted page autofill from input in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/using-accept-hosted-page-autofill-from-input/m-p/59432#M34017</link>
    <description>&lt;P&gt;1. have written procedure to get token&lt;/P&gt;&lt;P&gt;2. Included Ordertype for orderNo&lt;/P&gt;&lt;P&gt;3. included customeraddresstype to have billing information sent to form so user will not have to retype information that is stored in a database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you have the form have the information show for the user?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 16:47:01 GMT</pubDate>
    <dc:creator>rrr944276</dc:creator>
    <dc:date>2017-08-17T16:47:01Z</dc:date>
    <item>
      <title>using accept hosted page autofill from input</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/using-accept-hosted-page-autofill-from-input/m-p/59432#M34017</link>
      <description>&lt;P&gt;1. have written procedure to get token&lt;/P&gt;&lt;P&gt;2. Included Ordertype for orderNo&lt;/P&gt;&lt;P&gt;3. included customeraddresstype to have billing information sent to form so user will not have to retype information that is stored in a database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you have the form have the information show for the user?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 16:47:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/using-accept-hosted-page-autofill-from-input/m-p/59432#M34017</guid>
      <dc:creator>rrr944276</dc:creator>
      <dc:date>2017-08-17T16:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: using accept hosted page autofill from input</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/using-accept-hosted-page-autofill-from-input/m-p/59435#M34019</link>
      <description>&lt;P&gt;First populate your token request XML or JSON with&amp;nbsp;the customer billing information within the transactionRequest ...&lt;/P&gt;&lt;PRE&gt;&amp;lt;transactionRequest&amp;gt;
		...
  &amp;lt;billTo&amp;gt;
    &amp;lt;firstName&amp;gt;Bub&amp;lt;/firstName&amp;gt;
    &amp;lt;lastName&amp;gt;Jones&amp;lt;/lastName&amp;gt;
  &amp;lt;/billTo&amp;gt;

 &amp;lt;/transactionRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Then post your token to to the appropriate endpoint with something loke the following:&lt;/P&gt;&lt;PRE&gt;&amp;lt;form target="payframe" id="send_hptoken" action="https://test.authorize.net/payment/payment" method="post"&amp;gt;
&amp;lt;input type="hidden"" name="token" value/&amp;gt;&amp;lt;input type="submit" value="Get Accept Hosted page"/&amp;gt;
&amp;lt;/form&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Aug 2017 17:46:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/using-accept-hosted-page-autofill-from-input/m-p/59435#M34019</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-08-17T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: using accept hosted page autofill from input</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/using-accept-hosted-page-autofill-from-input/m-p/59437#M34021</link>
      <description>&lt;P&gt;i am not sure where to but what you suggesed the code i am using which is c# is as follows&lt;/P&gt;&lt;P&gt;this is all the code if have to get the token.&lt;/P&gt;&lt;P&gt;Where does the billing address go&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ApiOperationBase&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ANetApiRequest&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ANetApiResponse&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;gt;.RunEnvironment = AuthorizeNet.&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;Environment&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.SANDBOX;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ApiOperationBase&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ANetApiRequest&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ANetApiResponse&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;gt;.MerchantAuthentication = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;merchantAuthenticationType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;name = &lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;""&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;ItemElementName = &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ItemChoiceType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.transactionKey,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Item = &lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;""&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;settingType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;[] settings = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;settingType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;[2];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;settings[0] = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;settingType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;settings[0].settingName = &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;settingNameEnum&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.hostedPaymentButtonOptions.ToString();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;settings[0].settingValue = &lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"{\"text\": \"Pay\"}"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;settings[1] = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;settingType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;settings[1].settingName = &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;settingNameEnum&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.hostedPaymentOrderOptions.ToString();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;settings[1].settingValue = &lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"{\"show\": false}"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; transactionRequest = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;transactionRequestType&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;transactionType = &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;transactionTypeEnum&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.authOnlyTransaction.ToString(), &lt;/FONT&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;// authorize only&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;amount = amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; order = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;orderType&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;invoiceNumber = OrderNo&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; customer = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;customerAddressType&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;email = email,&lt;/P&gt;&lt;P&gt;firstName = firstname,&lt;/P&gt;&lt;P&gt;lastName = lastname,&lt;/P&gt;&lt;P&gt;address = address,&lt;/P&gt;&lt;P&gt;city = city,&lt;/P&gt;&lt;P&gt;state = state,&lt;/P&gt;&lt;P&gt;zip = Zip&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;const&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;SslProtocols&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; _Tls12 = (&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;SslProtocols&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;)0x00000C00;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;const&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;SecurityProtocolType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; Tls12 = (&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;SecurityProtocolType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;)_Tls12;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ServicePointManager&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.SecurityProtocol = Tls12;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; request = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;getHostedPaymentPageRequest&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;request.transactionRequest = transactionRequest;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;request.hostedPaymentSettings = settings;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; controller = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;getHostedPaymentPageController&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(request);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;controller.Execute();&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; response = controller.GetApiResponse();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;string&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; token = response.token;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;return&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; token;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 18:42:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/using-accept-hosted-page-autofill-from-input/m-p/59437#M34021</guid>
      <dc:creator>rrr944276</dc:creator>
      <dc:date>2017-08-17T18:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: using accept hosted page autofill from input</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/using-accept-hosted-page-autofill-from-input/m-p/59439#M34023</link>
      <description>&lt;PRE&gt; var &lt;STRONG&gt;billingAddress&lt;/STRONG&gt; = new customerAddressType
            {
                email =email,
                firstName = firstname,
                lastName = lastname,
                address = address,
                city = city,
                state = state,
                zip = Zip
            };&lt;/PRE&gt;&lt;PRE&gt; var transactionRequest = new transactionRequestType
            {
                transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),    // authorize capture only
                amount = amount, //amount
                &lt;STRONG&gt;billTo = billingAddress&lt;/STRONG&gt;

            };&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Aug 2017 19:24:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/using-accept-hosted-page-autofill-from-input/m-p/59439#M34023</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-08-17T19:24:31Z</dc:date>
    </item>
  </channel>
</rss>

