<?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.js help. Newbie questions... in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-help-Newbie-questions/m-p/56370#M31168</link>
    <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for that. Do I place the XML in my current PHP page that has my form? Or do I place it in it's own file and call it from the JavaScript function that gets the nonce?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2016 16:25:02 GMT</pubDate>
    <dc:creator>atomicimprints</dc:creator>
    <dc:date>2016-12-08T16:25:02Z</dc:date>
    <item>
      <title>Accept.js help. Newbie questions...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-help-Newbie-questions/m-p/56343#M31143</link>
      <description>&lt;P&gt;I'm in need of some help with accept.js. I've created a basic form and included the accept.js library link and have the javascript in place (just like the example shows). When I submit the form, I can see in my console the dataDescriptor and dataValue. Now what do I do with it??? I looked at the sample application on GitHub, but it makes no sense to me.....In my sandbox account, I don't see any unsettled transactions. I'm assuming this is because the dataValue actually holds the transaction information, but I don't know what to do with it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be appreciated. Like I said, this is new to me (accepting credit card payments, that is).&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 00:37:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-help-Newbie-questions/m-p/56343#M31143</guid>
      <dc:creator>atomicimprints</dc:creator>
      <dc:date>2016-12-07T00:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js help. Newbie questions...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-help-Newbie-questions/m-p/56369#M31167</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20952"&gt;@atomicimprints&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After you have the nonce, you will use createTransactionRequest and use the Nonce for payment data as shown below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
   &amp;lt;merchantAuthentication&amp;gt;
     &amp;lt;name&amp;gt;yours&amp;lt;/name&amp;gt;
     &amp;lt;transactionKey&amp;gt;yours&amp;lt;/transactionKey&amp;gt;
   &amp;lt;/merchantAuthentication&amp;gt;
   &amp;lt;transactionRequest&amp;gt;
      &amp;lt;transactionType&amp;gt;authCaptureTransaction&amp;lt;/transactionType&amp;gt;
      &amp;lt;amount&amp;gt;75.00&amp;lt;/amount&amp;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;nonce_here&amp;lt;/dataValue &amp;gt;
         &amp;lt;/opaqueData&amp;gt;
      &amp;lt;/payment&amp;gt;
   &amp;lt;/transactionRequest&amp;gt;
&amp;lt;/createTransactionRequest&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Dec 2016 16:03:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-help-Newbie-questions/m-p/56369#M31167</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-12-08T16:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js help. Newbie questions...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-help-Newbie-questions/m-p/56370#M31168</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for that. Do I place the XML in my current PHP page that has my form? Or do I place it in it's own file and call it from the JavaScript function that gets the nonce?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 16:25:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-help-Newbie-questions/m-p/56370#M31168</guid>
      <dc:creator>atomicimprints</dc:creator>
      <dc:date>2016-12-08T16:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js help. Newbie questions...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-help-Newbie-questions/m-p/56379#M31175</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20952"&gt;@atomicimprints&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While it may be possible to do this on a single page, it is more likely that you'll take the results from your call to Accept.js POST them to a separate page that will perform the actual API submission to ANET.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 03:18:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-help-Newbie-questions/m-p/56379#M31175</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-12-09T03:18:06Z</dc:date>
    </item>
  </channel>
</rss>

