<?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: Python: Charge-Credit-Card using Nonce from Accept.JS in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57396#M32117</link>
    <description>&lt;P&gt;Thanks for the quick reply&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7546"&gt;@RichardH&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;Sorry for missing that, I'll give it a shot and let you know how it goes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2017 21:40:33 GMT</pubDate>
    <dc:creator>ar090</dc:creator>
    <dc:date>2017-03-24T21:40:33Z</dc:date>
    <item>
      <title>Python: Charge-Credit-Card using Nonce from Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57388#M32109</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I am looking for an example or some guidance on charging a card in python via the nonce received from Accept.JS&lt;BR /&gt;&lt;BR /&gt;I see within apicontractsv1.paymentType(), opagueData, which based on the xml example posted&amp;nbsp;&lt;A href="http://developer.authorize.net/api/reference/features/acceptjs.html" target="_blank"&gt;here&lt;/A&gt;: im guessing is where the magic happens. I'm just not sure how to set it.&lt;/P&gt;&lt;P&gt;Does it take a dictionary with 'dataDescriptor' and 'dataValue' where dataValue = nonce?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or example would be greatly appreciated. Realistically the same script found &lt;A href="https://github.com/AuthorizeNet/sample-code-python/blob/master/PaymentTransactions/charge-credit-card.py" target="_blank"&gt;here&lt;/A&gt;, just sub credit card info for nonce.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 16:54:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57388#M32109</guid>
      <dc:creator>ar090</dc:creator>
      <dc:date>2017-03-24T16:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Python: Charge-Credit-Card using Nonce from Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57393#M32114</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21438"&gt;@ar090&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using this sample:&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sample-code-python/blob/master/MobileInappTransactions/create-an-accept-transaction.py" target="_blank"&gt;https://github.com/AuthorizeNet/sample-code-python/blob/master/MobileInappTransactions/create-an-accept-transaction.py&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 19:58:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57393#M32114</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2017-03-24T19:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Python: Charge-Credit-Card using Nonce from Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57396#M32117</link>
      <description>&lt;P&gt;Thanks for the quick reply&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7546"&gt;@RichardH&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;Sorry for missing that, I'll give it a shot and let you know how it goes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 21:40:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57396#M32117</guid>
      <dc:creator>ar090</dc:creator>
      <dc:date>2017-03-24T21:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Python: Charge-Credit-Card using Nonce from Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57401#M32120</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7546"&gt;@RichardH&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again for the help! Was able to put together a working script utilizing the example you linked. I did find one error however with the sample incase you are interested. May help the next guy:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Line 44&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sample-code-python/blob/master/MobileInappTransactions/create-an-accept-transaction.py" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;is producing an attribute error:&lt;BR /&gt;&lt;SPAN class="pl-c1"&gt;print&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;'&lt;/SPAN&gt;AUTH Code : &lt;SPAN class="pl-c1"&gt;%s&lt;/SPAN&gt;&lt;SPAN class="pl-pds"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="pl-k"&gt;%&lt;/SPAN&gt;&lt;SPAN&gt; response.authCode)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;I believe it should be response.transactionResponse.authCode which works for me:&lt;BR /&gt;print ('AUTH Code : %s' % response.transactionResponse.authCode)&lt;BR /&gt;&lt;BR /&gt;Best,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2017 17:11:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57401#M32120</guid>
      <dc:creator>ar090</dc:creator>
      <dc:date>2017-03-26T17:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Python: Charge-Credit-Card using Nonce from Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57447#M32165</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21438"&gt;@ar090&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cleaned up the Python sample a little bit and made the correction you suggested. Just FYI.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 18:15:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Python-Charge-Credit-Card-using-Nonce-from-Accept-JS/m-p/57447#M32165</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-03-28T18:15:00Z</dc:date>
    </item>
  </channel>
</rss>

