<?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 Magento store - payments not working in Hardware Setup &amp; Troubleshooting</title>
    <link>https://community.squareup.com/t5/Hardware-Setup-Troubleshooting/Magento-store-payments-not-working/m-p/840925#M9336</link>
    <description>&lt;P&gt;Hey&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a Magento store. We are trying to connect Square as a payment method&lt;BR /&gt;&lt;SPAN&gt;We created the API credentials in the Square panel:&lt;BR /&gt;&lt;SPAN&gt;Production Application ID&lt;BR /&gt;&lt;SPAN&gt;Production Application Secret&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then pasted these creds in Magento admin panel. But the payments are not working, we have the console error -&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Uncaught TypeError: Cannot read properties of undefined (reading 'uid')&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;Does anyone know what the reason may be?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Apr 2026 12:05:08 GMT</pubDate>
    <dc:creator>Serh1o</dc:creator>
    <dc:date>2026-04-16T12:05:08Z</dc:date>
    <item>
      <title>Magento store - payments not working</title>
      <link>https://community.squareup.com/t5/Hardware-Setup-Troubleshooting/Magento-store-payments-not-working/m-p/840925#M9336</link>
      <description>&lt;P&gt;Hey&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a Magento store. We are trying to connect Square as a payment method&lt;BR /&gt;&lt;SPAN&gt;We created the API credentials in the Square panel:&lt;BR /&gt;&lt;SPAN&gt;Production Application ID&lt;BR /&gt;&lt;SPAN&gt;Production Application Secret&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then pasted these creds in Magento admin panel. But the payments are not working, we have the console error -&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Uncaught TypeError: Cannot read properties of undefined (reading 'uid')&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;Does anyone know what the reason may be?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2026 12:05:08 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Hardware-Setup-Troubleshooting/Magento-store-payments-not-working/m-p/840925#M9336</guid>
      <dc:creator>Serh1o</dc:creator>
      <dc:date>2026-04-16T12:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Magento store - payments not working</title>
      <link>https://community.squareup.com/t5/Hardware-Setup-Troubleshooting/Magento-store-payments-not-working/m-p/841059#M9347</link>
      <description>&lt;DIV&gt;&lt;DIV class=""&gt;Hi &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/765282"&gt;@Serh1o&lt;/a&gt;,&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I’ve seen this a few times with Magento + Square, and that console error is usually a symptom rather than the root cause.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;A few things worth checking:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;1) Application secret vs access token&lt;/STRONG&gt;&lt;BR /&gt;Some Magento Square extensions label the field as ‘Production Application Secret’, but they don’t always mean the access token. A lot of them actually expect the &lt;STRONG&gt;OAuth application secret&lt;/STRONG&gt; instead. If the wrong one is pasted in, Square can’t fully initialise and checkout JS starts failing, which can surface as errors like uid being undefined.&lt;BR /&gt;It’s worth double checking which credential your specific extension expects in that field.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;2) Location ID not loading&lt;/STRONG&gt;&lt;BR /&gt;Square’s Web Payments SDK needs a valid &lt;STRONG&gt;Location ID&lt;/STRONG&gt;. If the Magento config screen is meant to auto-populate a location dropdown and it’s empty or stuck on ‘please select location’, that usually means authentication isn’t working correctly.&lt;BR /&gt;You can confirm the Location ID in the Square Developer Dashboard and make sure Magento is pointing at the correct production location.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;3) First error in the console matters most&lt;/STRONG&gt;&lt;BR /&gt;The uid error often shows up after something earlier fails. Have a look for any errors above it like:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;invalid configuration&lt;/LI&gt;&lt;LI&gt;locationId missing or invalid&lt;/LI&gt;&lt;LI&gt;square.js failing to load&lt;BR /&gt;Those usually point much more clearly to what’s actually wrong.&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;4) Cache, JS and theme checks&lt;/STRONG&gt;&lt;BR /&gt;Magento can make this harder than it needs to be:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;Flush cache and redeploy static content after changing Square settings&lt;/LI&gt;&lt;LI&gt;Temporarily disable JS bundling or minification to rule out load order issues&lt;/LI&gt;&lt;LI&gt;If you’re using a custom checkout or theme, try testing briefly on Luma or default checkout to see if the issue disappears&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Also worth mentioning that different Magento Square extensions expect credentials slightly differently. Knowing exactly which extension you’re using helps narrow this down very quickly.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Hope that helps you get pointed in the right direction.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Apr 2026 22:04:28 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Hardware-Setup-Troubleshooting/Magento-store-payments-not-working/m-p/841059#M9347</guid>
      <dc:creator>tomven</dc:creator>
      <dc:date>2026-04-17T22:04:28Z</dc:date>
    </item>
  </channel>
</rss>

