<?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: Accept Hosted Form to Create Subscription in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58812#M33422</link>
    <description>&lt;P&gt;Awesome! &amp;nbsp;Looking forward to it :)&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2017 19:26:37 GMT</pubDate>
    <dc:creator>ktp925</dc:creator>
    <dc:date>2017-07-13T19:26:37Z</dc:date>
    <item>
      <title>Accept Hosted Form to Create Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58797#M33409</link>
      <description>&lt;P&gt;Hello, I am wondering if there is an option on the Accept Hosted Form to create a subscription? &amp;nbsp;In the docs there doesn't appear to be one, and I can get the create subscription call to work, but I still would have to pass along credit card information from my own form which I don't feel great about, so I was just wondering if this option exists ?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 22:19:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58797#M33409</guid>
      <dc:creator>ktp925</dc:creator>
      <dc:date>2017-07-12T22:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Form to Create Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58800#M33412</link>
      <description>&lt;P&gt;So after some more investigating, I've realized it is not availab.e . However I did find this in regards to making a call to create a subscription from the success of a payment:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"With Accept Hosted, using an IFrame and your IFrameCommunicator page, on a Request Succeeded, which is returned when the transaction is completed at Authorize.Net, transaction response parameters (such as transaction ID) are returned."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I know how to set the url for IFrameCommunicator on the Accept Hosted Form, but I don't really understand exactly what I'm listening for, and there is 0 documentation I can find on it.. so if anyone could help me out, I'd appreciate it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 23:15:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58800#M33412</guid>
      <dc:creator>ktp925</dc:creator>
      <dc:date>2017-07-12T23:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Form to Create Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58804#M33416</link>
      <description>&lt;P&gt;CommunicationHandler.onReceiveCommunication = function (argument) {&lt;BR /&gt;params = parseQueryString(argument.qstr)&lt;BR /&gt;var transResponse = JSON.parse(params['response']);&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;transResponse&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;will contain something like:&lt;/P&gt;&lt;PRE&gt;{"accountType":"Visa","accountNumber":"XXXX0027","transId":"40005350406","responseCode":"1","authorization":"WF9O4R","billTo":{"phoneNumber":"1231231234","firstName":"Ellen","lastName":"Johnson","company":"Souveniropolis","address":"14 Main Street","city":"Pecan Springs","state":"TX","zip":"44628","country":"USA"},"shipTo":{},"orderDescription":"Product Description","taxAmount":"4.26","shippingAmount":"4.26","dutyAmount":"8.55","customerId":"99999456654","totalAmount":"0.50","poNumber":"456654","orderInvoiceNumber":"INV-12345","dateTime":"7/12/2017 11:58:54 PM"}"&lt;/PRE&gt;&lt;P&gt;Then you can do a createCustomerProfileFromTransactionRequest API call with the transactionId, which would be in ...&lt;/P&gt;&lt;PRE&gt;transResponse.transId&lt;/PRE&gt;&lt;P&gt;and then create a subscription with an ARBCreateSubscriptionRequest using the customerProfileId and customerPaymentProfileId.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an alternative you could create a subscription directly with Accept.js by using:&lt;/P&gt;&lt;PRE&gt;&amp;lt;payment&amp;gt;
&amp;lt;opaqueData&amp;gt;
&amp;lt;dataDescriptor&amp;gt;COMMON.ACCEPT.INAPP.PAYMENT&amp;lt;/dataDescriptor&amp;gt;
&amp;lt;dataValue&amp;gt;PAYMENT_NONCE&amp;lt;/dataValue &amp;gt;
&amp;lt;/opaqueData&amp;gt;
&amp;lt;/payment&amp;gt;&lt;/PRE&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;PRE&gt;&amp;lt;payment&amp;gt;
&amp;lt;creditCard&amp;gt;
&amp;lt;cardNumber&amp;gt;5424000000000015&amp;lt;/cardNumber&amp;gt;
&amp;lt;expirationDate&amp;gt;1220&amp;lt;/expirationDate&amp;gt;
&amp;lt;cardCode&amp;gt;999&amp;lt;/cardCode&amp;gt;
&amp;lt;/creditCard&amp;gt;
&amp;lt;/payment&amp;gt;&lt;/PRE&gt;&lt;P&gt;in an otherwise standard API call to ARBCreateSubscriptionRequest.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 01:22:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58804#M33416</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-07-13T01:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Form to Create Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58810#M33420</link>
      <description>&lt;P&gt;Thank you, google searching those functions sent me down a rabbit hole where I eventually found this and was able to implement it in Ruby:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/43700622/how-to-implement-authorize-net-hosted-payments-iframe-laravel" target="_blank"&gt;https://stackoverflow.com/questions/43700622/how-to-implement-authorize-net-hosted-payments-iframe-laravel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leaving that here in the hopes it will help someone else. &amp;nbsp;They REALLY need to provide some documentation/examples for the client side javascript on this..&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 19:09:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58810#M33420</guid>
      <dc:creator>ktp925</dc:creator>
      <dc:date>2017-07-13T19:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Form to Create Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58811#M33421</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21593"&gt;@ktp925&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are actually working on just a solution you mention, the ability to use client-side JavaScript to present a form to obtain payment details and then submit the transactions to our server all without any sensitive card data passing through your server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stay tuned, it's coming soon :)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 19:17:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58811#M33421</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2017-07-13T19:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Form to Create Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58812#M33422</link>
      <description>&lt;P&gt;Awesome! &amp;nbsp;Looking forward to it :)&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 19:26:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/58812#M33422</guid>
      <dc:creator>ktp925</dc:creator>
      <dc:date>2017-07-13T19:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Form to Create Subscription</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/73672#M45667</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7546"&gt;@RichardH&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any api that will return a token for accept hosted page for creating an ARBsubscription ? or any api like such comming real soon ?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 10:06:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-to-Create-Subscription/m-p/73672#M45667</guid>
      <dc:creator>deepanshu16</dc:creator>
      <dc:date>2020-10-21T10:06:42Z</dc:date>
    </item>
  </channel>
</rss>

