<?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: multiple buy now buttons not working in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/multiple-buy-now-buttons-not-working/m-p/68700#M41859</link>
    <description>&lt;P&gt;from the AcceptUI javascript link (&lt;A href="https://jstest.authorize.net/v3/AcceptUI.js" target="_blank"&gt;https://jstest.authorize.net/v3/AcceptUI.js&lt;/A&gt;). it get's only the first button with&amp;nbsp;AcceptUI class as this document.getElementsByClassName("AcceptUI")[0]&lt;/P&gt;&lt;P&gt;This should be a loop of all items because many wants to have multiple buttons with differant options (differant merchant/credit card/bank account/top and bottom of checkout page, etc)&lt;/P&gt;</description>
    <pubDate>Sat, 10 Aug 2019 02:38:21 GMT</pubDate>
    <dc:creator>sctech949</dc:creator>
    <dc:date>2019-08-10T02:38:21Z</dc:date>
    <item>
      <title>multiple buy now buttons not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/multiple-buy-now-buttons-not-working/m-p/67653#M41020</link>
      <description>&lt;P&gt;On my page, I have 2 - 3 buy now buttons which pop up the payment modal created by&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;AcceptUI.js. The problem is, it only binds to the first button. So a couple of questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;1) First and foremost, is there a way to have multiple buttons?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;2) If the answer to #1 is no, can I dynamically create a button after they chose the option they want or&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;do I have to have the button exist when the page is rendered.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;I know there is an option where I can have authorize.net create up to 100 buttons, but I have to have the products managed in our own CMS&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 18:50:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/multiple-buy-now-buttons-not-working/m-p/67653#M41020</guid>
      <dc:creator>ProdegeLLC</dc:creator>
      <dc:date>2019-05-08T18:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: multiple buy now buttons not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/multiple-buy-now-buttons-not-working/m-p/68700#M41859</link>
      <description>&lt;P&gt;from the AcceptUI javascript link (&lt;A href="https://jstest.authorize.net/v3/AcceptUI.js" target="_blank"&gt;https://jstest.authorize.net/v3/AcceptUI.js&lt;/A&gt;). it get's only the first button with&amp;nbsp;AcceptUI class as this document.getElementsByClassName("AcceptUI")[0]&lt;/P&gt;&lt;P&gt;This should be a loop of all items because many wants to have multiple buttons with differant options (differant merchant/credit card/bank account/top and bottom of checkout page, etc)&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2019 02:38:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/multiple-buy-now-buttons-not-working/m-p/68700#M41859</guid>
      <dc:creator>sctech949</dc:creator>
      <dc:date>2019-08-10T02:38:21Z</dc:date>
    </item>
  </channel>
</rss>

