<?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>thread Re: Square doesn't work with Magento 2 in Payments Troubleshooting</title>
    <link>https://community.squareup.com/t5/Payments-Troubleshooting/Square-doesn-t-work-with-Magento-2/m-p/105258#M27675</link>
    <description>&lt;P&gt;Are you on the latest version? Looking at their Github issues, I notice there has been a &lt;A href="https://github.com/mage2pro/square/issues/30" target="_self"&gt;fix&lt;/A&gt; with the same error you posted. If you're already on the latest version, you'd probably get better results posting an &lt;A href="https://github.com/mage2pro/square/issues?utf8=%E2%9C%93&amp;amp;q=" target="_self"&gt;issue&lt;/A&gt; in their Github page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using &lt;A href="https://marketplace.magento.com/square-module-squareup-omni.html" target="_self"&gt;Square's Magento 2 module&lt;/A&gt; in the Magento Marketplace?&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jan 2019 15:04:31 GMT</pubDate>
    <dc:creator>samweber</dc:creator>
    <dc:date>2019-01-04T15:04:31Z</dc:date>
    <item>
      <title>Square doesn't work with Magento 2</title>
      <link>https://community.squareup.com/t5/Payments-Troubleshooting/Square-doesn-t-work-with-Magento-2/m-p/105254#M27674</link>
      <description>&lt;P&gt;&amp;nbsp;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using Magento 2. I bought Square plugin from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/mage2pro/square" target="_blank"&gt;https://github.com/mage2pro/square&lt;/A&gt;, installed it, signed up for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://squareup.com/login" target="_blank"&gt;https://squareup.com/login&lt;/A&gt; and set it all up for sandbox mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When inspecting the code, I can see&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SqPaymentForm initialized in Sandbox Mode. See https://docs.connect.squareup.com/articles/using-sandbox/&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;message which is good.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the errors happen when -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. I add test values to form on checkout&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Card number: 4111 1111 1111 1111
Expiration date: 12/21
CVV: 111&lt;/PRE&gt;
&lt;P&gt;and add post code to Postal Code field, it give me error in paymentform:1&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Uncaught TypeError: Cannot read property 'element' of undefined
    at C.sendIframeMessage (paymentform:1)
    at C.setPostalCode (paymentform:1)
    at I.setPostalCode (paymentform:1)
    at UiClass.&amp;lt;anonymous&amp;gt; (main.js:390)
    at Function.notifySubscribers (knockout.js:1103)
    at Function.observable.valueHasMutated (knockout.js:1300)
    at observable (knockout.js:1285)
    at Object.writeValueToProperty (knockout.js:2337)
    at HTMLInputElement.valueUpdateHandler (shipping.js:304)
    at HTMLInputElement.dispatch (jquery.js:4624)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. I click on Buy button on checkout page, I'm getting&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"Cannot call SqPaymentForm#requestCardNonce before SqPaymentForm is ready."&lt;/PRE&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;error message when I try to place an order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anybody have any idea what is wrong with this and how I can sort it, please? Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 20 Sep 2025 15:00:14 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Payments-Troubleshooting/Square-doesn-t-work-with-Magento-2/m-p/105254#M27674</guid>
      <dc:creator>veronika</dc:creator>
      <dc:date>2025-09-20T15:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Square doesn't work with Magento 2</title>
      <link>https://community.squareup.com/t5/Payments-Troubleshooting/Square-doesn-t-work-with-Magento-2/m-p/105258#M27675</link>
      <description>&lt;P&gt;Are you on the latest version? Looking at their Github issues, I notice there has been a &lt;A href="https://github.com/mage2pro/square/issues/30" target="_self"&gt;fix&lt;/A&gt; with the same error you posted. If you're already on the latest version, you'd probably get better results posting an &lt;A href="https://github.com/mage2pro/square/issues?utf8=%E2%9C%93&amp;amp;q=" target="_self"&gt;issue&lt;/A&gt; in their Github page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using &lt;A href="https://marketplace.magento.com/square-module-squareup-omni.html" target="_self"&gt;Square's Magento 2 module&lt;/A&gt; in the Magento Marketplace?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 15:04:31 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Payments-Troubleshooting/Square-doesn-t-work-with-Magento-2/m-p/105258#M27675</guid>
      <dc:creator>samweber</dc:creator>
      <dc:date>2019-01-04T15:04:31Z</dc:date>
    </item>
  </channel>
</rss>

