<?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 and Integration Testing in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/63435#M37561</link>
    <description>&lt;P&gt;This might be too late, but I would add a response for clarity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;securePaymentContainerRequest&lt;/EM&gt; does not create a transaction.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When data type is passed as TOKEN (see request above), it generates a token that can be used for creating transactions by any of the APIs that allow tokens in&amp;nbsp;&lt;EM&gt;payment&lt;/EM&gt;&amp;nbsp;field in the request. For example: &lt;A href="https://developer.authorize.net/api/reference/index.html#payment-transactions-create-an-accept-payment-transaction" target="_self"&gt;Create an Accept Payment Transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;{same-login-id as the one used to create the token}&amp;lt;/name&amp;gt;
    &amp;lt;transactionKey&amp;gt;{same-transaction-key}&amp;lt;/transactionKey&amp;gt;
  &amp;lt;/merchantAuthentication&amp;gt;
  &amp;lt;refId&amp;gt;123456&amp;lt;/refId&amp;gt;
  &amp;lt;transactionRequest&amp;gt;
    &amp;lt;transactionType&amp;gt;authCaptureTransaction&amp;lt;/transactionType&amp;gt;
    &amp;lt;amount&amp;gt;5&amp;lt;/amount&amp;gt;
    &amp;lt;payment&amp;gt;&lt;BR /&gt;&lt;EM&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;{sample-data-value} 1234567890ABCDEF1111AAAA2222BBBB3333CCCC4444DDDD5555EEEE6666FFFF7777888899990000&amp;lt;/dataValue&amp;gt;
      &amp;lt;/opaqueData&amp;gt;&lt;/EM&gt;  
    &amp;lt;/payment&amp;gt;
    &amp;lt;lineItems&amp;gt;
      &amp;lt;lineItem&amp;gt;
        &amp;lt;itemId&amp;gt;1&amp;lt;/itemId&amp;gt;
        &amp;lt;name&amp;gt;vase&amp;lt;/name&amp;gt;
        &amp;lt;description&amp;gt;Cannes logo &amp;lt;/description&amp;gt;
        &amp;lt;quantity&amp;gt;18&amp;lt;/quantity&amp;gt;
        &amp;lt;unitPrice&amp;gt;45.00&amp;lt;/unitPrice&amp;gt;
      &amp;lt;/lineItem&amp;gt;
    &amp;lt;/lineItems&amp;gt;
    &amp;lt;poNumber&amp;gt;456654&amp;lt;/poNumber&amp;gt;
    &amp;lt;billTo&amp;gt;
      &amp;lt;firstName&amp;gt;Ellen&amp;lt;/firstName&amp;gt;
      &amp;lt;lastName&amp;gt;Johnson&amp;lt;/lastName&amp;gt;
      &amp;lt;company&amp;gt;Souveniropolis&amp;lt;/company&amp;gt;
      &amp;lt;address&amp;gt;14 Main Street&amp;lt;/address&amp;gt;
      &amp;lt;city&amp;gt;Pecan Springs&amp;lt;/city&amp;gt;
      &amp;lt;state&amp;gt;TX&amp;lt;/state&amp;gt;
      &amp;lt;zip&amp;gt;44628&amp;lt;/zip&amp;gt;
      &amp;lt;country&amp;gt;USA&amp;lt;/country&amp;gt;
    &amp;lt;/billTo&amp;gt;
    &amp;lt;shipTo&amp;gt;
      &amp;lt;firstName&amp;gt;China&amp;lt;/firstName&amp;gt;
      &amp;lt;lastName&amp;gt;Bayles&amp;lt;/lastName&amp;gt;
      &amp;lt;company&amp;gt;Thyme for Tea&amp;lt;/company&amp;gt;
      &amp;lt;address&amp;gt;12 Main Street&amp;lt;/address&amp;gt;
      &amp;lt;city&amp;gt;Pecan Springs&amp;lt;/city&amp;gt;
      &amp;lt;state&amp;gt;TX&amp;lt;/state&amp;gt;
      &amp;lt;zip&amp;gt;44628&amp;lt;/zip&amp;gt;
      &amp;lt;country&amp;gt;USA&amp;lt;/country&amp;gt;
    &amp;lt;/shipTo&amp;gt;
    &amp;lt;customerIP&amp;gt;192.168.1.1&amp;lt;/customerIP&amp;gt;
  &amp;lt;/transactionRequest&amp;gt;
&amp;lt;/createTransactionRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would normally use the entire &lt;EM&gt;opaqueData&lt;/EM&gt; element from the response of&amp;nbsp;&lt;EM&gt;securePaymentContainerRequet,&lt;/EM&gt; which includes the dataDescriptor (is the value for Accept)&amp;nbsp; and the &lt;EM&gt;dataValue&lt;/EM&gt; (the token) for the purpose of making the next API call for the transaction.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jun 2018 17:27:18 GMT</pubDate>
    <dc:creator>ashu8uec</dc:creator>
    <dc:date>2018-06-19T17:27:18Z</dc:date>
    <item>
      <title>Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/57232#M31961</link>
      <description>&lt;P&gt;I am trying to set up an integration test for a workflow that uses Accept.JS but have run into an issue. Since the dataDescriptor and dataValue are retrieved using Accept.JS, I can't seem to figure out how to run a test transaction to our sandbox strictly using PHP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone had any success&amp;nbsp;settong up testing for an Accept.JS workflow?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2017 03:53:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/57232#M31961</guid>
      <dc:creator>greckers</dc:creator>
      <dc:date>2017-03-12T03:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/57244#M31973</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21366"&gt;@greckers&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You've got a couple of options here. For a complete end to end test running in PHP, you could look into something like&amp;nbsp;&lt;STRONG&gt;v8js,&lt;/STRONG&gt; which is an extension to access the Chrome V8 interpreter from within PHP. Your test scripts could run independent of the browser, and get the dataDescriptor and dataValue by interacting with our accept.js script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't promise this would work as I've not tried it myself. Our script does some checking to make sure it's being called from a page served from a secure connection, so you'd have to set up the v8js environment to make sure the protocol and window.location and everything looked right to our script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option 2: If you step through the Accept.js script and the AcceptCore.js script, you can see what they're actually doing is making a call to our API with the card data and getting a payment token back. This API request isn't documented anywhere, but if you follow every step through the scripts, and reference the schema XSD, you can see how it's constructed. I'll save a step and just post a sample request here:&lt;/P&gt;&lt;PRE&gt;&amp;lt;securePaymentContainerRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
    &amp;lt;merchantAuthentication&amp;gt;
        &amp;lt;name&amp;gt;{{loginId}}&amp;lt;/name&amp;gt;
        &amp;lt;clientKey&amp;gt;{{clientKey}}&amp;lt;/clientKey&amp;gt;
    &amp;lt;/merchantAuthentication&amp;gt;
    &amp;lt;refId&amp;gt;12345&amp;lt;/refId&amp;gt;
    &amp;lt;data&amp;gt;
    	&amp;lt;type&amp;gt;TOKEN&amp;lt;/type&amp;gt;
    	&amp;lt;id&amp;gt;{{$guid}}&amp;lt;/id&amp;gt;
    	&amp;lt;token&amp;gt;
    		&amp;lt;cardNumber&amp;gt;5424000000000015&amp;lt;/cardNumber&amp;gt;
    		&amp;lt;expirationDate&amp;gt;122020&amp;lt;/expirationDate&amp;gt;
    		&amp;lt;cardCode&amp;gt;900&amp;lt;/cardCode&amp;gt;
    		&amp;lt;fullName&amp;gt;Testy McTesterson&amp;lt;/fullName&amp;gt;
    	&amp;lt;/token&amp;gt;
    &amp;lt;/data&amp;gt;
&amp;lt;/securePaymentContainerRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;Sending a request like this gets a response like so:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;securePaymentContainerResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
    &amp;lt;messages&amp;gt;
        &amp;lt;resultCode&amp;gt;Ok&amp;lt;/resultCode&amp;gt;
        &amp;lt;message&amp;gt;
            &amp;lt;code&amp;gt;I00001&amp;lt;/code&amp;gt;
            &amp;lt;text&amp;gt;Successful.&amp;lt;/text&amp;gt;
        &amp;lt;/message&amp;gt;
    &amp;lt;/messages&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;eyJjb2RlIjoiNTBfMl8wNjAwMDUzRUE2QkJENEIzRUE2QzEyRDFEODFFQUZFQjYzMkRENUZCQkFEQzAwQTUyRjgxRUY2NDM1QTk2RDBEQTg2RjI3QkExQjY5MTJBRjFGMzRBMzI3MDQ2QjI2RDEwNURDNERBIiwidG9rZW4iOiI5NDg5NDM0NDk5MTExMzA0NzA0NjA0IiwidiI6IjEuMSJ9&amp;lt;/dataValue&amp;gt;
    &amp;lt;/opaqueData&amp;gt;
&amp;lt;/securePaymentContainerResponse&amp;gt;&lt;/PRE&gt;&lt;P&gt;Using this format, you could write a script to get the payment nonce/token for your tests without interacting with JavaScript at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's no guarantee that this would continue to work. It would be a hack on your part with no official support from us. But, it's what our scripts are doing currently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 19:53:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/57244#M31973</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-03-13T19:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/57263#M31992</link>
      <description>&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is perfect. Option 2 was exactly what I was hoping for. I tried to read through the scripts but&amp;nbsp;figured somebody may have already figured out what the request would need to be and I didn't need to bang my head against the wall for hours figuring out the right request info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure I will get some failed tests if the script changes but I think I can live with that for now and I'm sure its not going to change too often (hopefully).&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 17:36:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/57263#M31992</guid>
      <dc:creator>greckers</dc:creator>
      <dc:date>2017-03-14T17:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/57837#M32524</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21366"&gt;@greckers&lt;/a&gt;, did you have any luck with this, or do you have any advice to share on your experience or things to keep an eye out for?&amp;nbsp; I'm trying to do the same thing.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:51:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/57837#M32524</guid>
      <dc:creator>crcarter</dc:creator>
      <dc:date>2017-04-28T11:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60546#M35071</link>
      <description>&lt;P&gt;What's the API endpoint that you are calling to retrieve the nonce?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 02:35:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60546#M35071</guid>
      <dc:creator>hatboyzero1</dc:creator>
      <dc:date>2017-11-17T02:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60549#M35074</link>
      <description>Hi &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/22669"&gt;@hatboyzero1&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;API endpoints are listed in the “API endpoint” tab here: &lt;A href="https://developer.authorize.net/api/reference/#authentication" target="_blank"&gt;https://developer.authorize.net/api/reference/#authentication&lt;/A&gt;</description>
      <pubDate>Fri, 17 Nov 2017 06:40:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60549#M35074</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-11-17T06:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60555#M35080</link>
      <description>&lt;P&gt;Maybe I'm missing something here and it's going completely over my head, but to quote you in a previous post, "&lt;SPAN&gt;This API request isn't documented anywhere".&amp;nbsp; I need to generate a payment nonce in a sandbox account for unit tests - I see the request and response in your post, but I don't see any mention of the specific endpoint to which you make the RESTful call.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 17:43:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60555#M35080</guid>
      <dc:creator>hatboyzero1</dc:creator>
      <dc:date>2017-11-17T17:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60557#M35082</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/22669"&gt;@hatboyzero1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry if it's not clear. The sample code I gave in my first response is what the request to our API would look like. That particular method (securePaymentContainerRequest) is not documented anywhere, and is not officially supported. But, it's what Accept.js itself uses to get a nonce, so it's the only programmatic way to get a nonce at this time, short of controlling Accept.js directly in some sort of headless browser.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To use this API request, you'd send the request just like any other request to our API. The endpoints for our API are listed in the "API Endpoints" tab here:&amp;nbsp;&lt;A href="https://developer.authorize.net/api/reference/#authentication" target="_blank"&gt;https://developer.authorize.net/api/reference/#authentication&lt;/A&gt;. If you click on that tab, you'll see the endpoints, but I'll list them here for convenience:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Sandbox URL: https://apitest.authorize.net/xml/v1/request.api

Production URL: https://api.authorize.net/xml/v1/request.api&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to send the request to the sandbox in an XML format (like in my example above), you'd do a HTTP POST to&amp;nbsp;&lt;EM&gt;&lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;&lt;/EM&gt;, with the &lt;EM&gt;Content-type:&lt;/EM&gt; header set to&amp;nbsp;&lt;EM&gt;text/xml&lt;/EM&gt;. The body of the post would be the XML from my example above, with your sandbox login ID and transaction key inserted, and a GUID of your choice inserted between the &amp;lt;id&amp;gt; tags.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you do that post you'll receive a response like my response example containing the nonce.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 18:11:59 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60557#M35082</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-11-17T18:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60569#M35094</link>
      <description>&lt;P&gt;Awesome, thanks.&amp;nbsp; That cleared everything up.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2017 17:25:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/60569#M35094</guid>
      <dc:creator>hatboyzero1</dc:creator>
      <dc:date>2017-11-18T17:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/62225#M36587</link>
      <description>&lt;P&gt;how do&amp;nbsp; i get trasnasction response int that?i got what u mentioned.. but not transactionid and merchantemail&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 07:43:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/62225#M36587</guid>
      <dc:creator>rahulbandi123</dc:creator>
      <dc:date>2018-03-21T07:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.JS and Integration Testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/63435#M37561</link>
      <description>&lt;P&gt;This might be too late, but I would add a response for clarity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;securePaymentContainerRequest&lt;/EM&gt; does not create a transaction.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When data type is passed as TOKEN (see request above), it generates a token that can be used for creating transactions by any of the APIs that allow tokens in&amp;nbsp;&lt;EM&gt;payment&lt;/EM&gt;&amp;nbsp;field in the request. For example: &lt;A href="https://developer.authorize.net/api/reference/index.html#payment-transactions-create-an-accept-payment-transaction" target="_self"&gt;Create an Accept Payment Transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;{same-login-id as the one used to create the token}&amp;lt;/name&amp;gt;
    &amp;lt;transactionKey&amp;gt;{same-transaction-key}&amp;lt;/transactionKey&amp;gt;
  &amp;lt;/merchantAuthentication&amp;gt;
  &amp;lt;refId&amp;gt;123456&amp;lt;/refId&amp;gt;
  &amp;lt;transactionRequest&amp;gt;
    &amp;lt;transactionType&amp;gt;authCaptureTransaction&amp;lt;/transactionType&amp;gt;
    &amp;lt;amount&amp;gt;5&amp;lt;/amount&amp;gt;
    &amp;lt;payment&amp;gt;&lt;BR /&gt;&lt;EM&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;{sample-data-value} 1234567890ABCDEF1111AAAA2222BBBB3333CCCC4444DDDD5555EEEE6666FFFF7777888899990000&amp;lt;/dataValue&amp;gt;
      &amp;lt;/opaqueData&amp;gt;&lt;/EM&gt;  
    &amp;lt;/payment&amp;gt;
    &amp;lt;lineItems&amp;gt;
      &amp;lt;lineItem&amp;gt;
        &amp;lt;itemId&amp;gt;1&amp;lt;/itemId&amp;gt;
        &amp;lt;name&amp;gt;vase&amp;lt;/name&amp;gt;
        &amp;lt;description&amp;gt;Cannes logo &amp;lt;/description&amp;gt;
        &amp;lt;quantity&amp;gt;18&amp;lt;/quantity&amp;gt;
        &amp;lt;unitPrice&amp;gt;45.00&amp;lt;/unitPrice&amp;gt;
      &amp;lt;/lineItem&amp;gt;
    &amp;lt;/lineItems&amp;gt;
    &amp;lt;poNumber&amp;gt;456654&amp;lt;/poNumber&amp;gt;
    &amp;lt;billTo&amp;gt;
      &amp;lt;firstName&amp;gt;Ellen&amp;lt;/firstName&amp;gt;
      &amp;lt;lastName&amp;gt;Johnson&amp;lt;/lastName&amp;gt;
      &amp;lt;company&amp;gt;Souveniropolis&amp;lt;/company&amp;gt;
      &amp;lt;address&amp;gt;14 Main Street&amp;lt;/address&amp;gt;
      &amp;lt;city&amp;gt;Pecan Springs&amp;lt;/city&amp;gt;
      &amp;lt;state&amp;gt;TX&amp;lt;/state&amp;gt;
      &amp;lt;zip&amp;gt;44628&amp;lt;/zip&amp;gt;
      &amp;lt;country&amp;gt;USA&amp;lt;/country&amp;gt;
    &amp;lt;/billTo&amp;gt;
    &amp;lt;shipTo&amp;gt;
      &amp;lt;firstName&amp;gt;China&amp;lt;/firstName&amp;gt;
      &amp;lt;lastName&amp;gt;Bayles&amp;lt;/lastName&amp;gt;
      &amp;lt;company&amp;gt;Thyme for Tea&amp;lt;/company&amp;gt;
      &amp;lt;address&amp;gt;12 Main Street&amp;lt;/address&amp;gt;
      &amp;lt;city&amp;gt;Pecan Springs&amp;lt;/city&amp;gt;
      &amp;lt;state&amp;gt;TX&amp;lt;/state&amp;gt;
      &amp;lt;zip&amp;gt;44628&amp;lt;/zip&amp;gt;
      &amp;lt;country&amp;gt;USA&amp;lt;/country&amp;gt;
    &amp;lt;/shipTo&amp;gt;
    &amp;lt;customerIP&amp;gt;192.168.1.1&amp;lt;/customerIP&amp;gt;
  &amp;lt;/transactionRequest&amp;gt;
&amp;lt;/createTransactionRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would normally use the entire &lt;EM&gt;opaqueData&lt;/EM&gt; element from the response of&amp;nbsp;&lt;EM&gt;securePaymentContainerRequet,&lt;/EM&gt; which includes the dataDescriptor (is the value for Accept)&amp;nbsp; and the &lt;EM&gt;dataValue&lt;/EM&gt; (the token) for the purpose of making the next API call for the transaction.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 17:27:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-and-Integration-Testing/m-p/63435#M37561</guid>
      <dc:creator>ashu8uec</dc:creator>
      <dc:date>2018-06-19T17:27:18Z</dc:date>
    </item>
  </channel>
</rss>

