<?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 form gives warning, sometimes does not load in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-form-gives-warning-sometimes-does-not-load/m-p/131990#M93982</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/196514"&gt;@jsuser&lt;/a&gt;! Sorry for the delayed response.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I reached out to someone on the API team and this was what they said:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;"It sounds like they’re trying to initialize the square payment form before actually showing it. They should either:&lt;BR /&gt;
1) Initialize it only at the last step (rather than before they’re on that step)&lt;BR /&gt;
or&lt;BR /&gt;
2) Initialize it with&amp;nbsp;autoBuild: false and then call&amp;nbsp;build()&amp;nbsp;when they need to show it (see more info about that here&amp;nbsp;&lt;A href="https://slack-redir.net/link?url=https%3A%2F%2Fdeveloper.squareup.com%2Fdocs%2Fpayment-form%2Fhow-it-works%23single-page-web-applications-customizing-sqpaymentform-lifecycle" target="_blank"&gt;https://developer.squareup.com/docs/payment-form/how-it-works#single-page-web-applications-customizing-sqpaymentform-lifecycle&lt;/A&gt;)"&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 14:10:58 GMT</pubDate>
    <dc:creator>ashc</dc:creator>
    <dc:date>2019-09-04T14:10:58Z</dc:date>
    <item>
      <title>Square form gives warning, sometimes does not load</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-form-gives-warning-sometimes-does-not-load/m-p/131371#M93981</link>
      <description>&lt;P&gt;Hey guys, I have an issues implementing Square form&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- I have a stepper, and need to show the payment form as the last step for payment&lt;/P&gt;
&lt;P&gt;- I have done all the logic, and it's working, but sometimes it does not initialize the form at all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from throw the following warnings, I can see that the form needs to be visible, but, in my case I can't show it until the last step is triggered, which is not visible by default&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ElementNotVisibleError: SqPaymentForm element with id 'sq-card-number' is not visible. Does it or a parent element have 'display:none'?&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:90340" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:90340&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:89696" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:89696&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:89581" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:89581&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:87865" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:87865&lt;/A&gt;)&lt;BR /&gt;at yt.initializePaymentMethod (&lt;A href="https://js.squareup.com/v2/paymentform:1:146937" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:146937&lt;/A&gt;)&lt;BR /&gt;at yt.mainIframeLoaded (&lt;A href="https://js.squareup.com/v2/paymentform:1:147232" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:147232&lt;/A&gt;)&lt;BR /&gt;at t._onload (&lt;A href="https://js.squareup.com/v2/paymentform:1:145995" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:145995&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:86726" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:86726&lt;/A&gt;)&lt;BR /&gt;at d.onload (&lt;A href="https://js.squareup.com/v2/paymentform:1:83841" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:83841&lt;/A&gt;)&lt;BR /&gt;value @ paymentform:1&lt;BR /&gt;paymentform:1 ElementNotVisibleError: SqPaymentForm element with id 'sq-cvv' is not visible. Does it or a parent element have 'display:none'?&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:90340" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:90340&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:89696" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:89696&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:89581" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:89581&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:87865" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:87865&lt;/A&gt;)&lt;BR /&gt;at yt.initializePaymentMethod (&lt;A href="https://js.squareup.com/v2/paymentform:1:146937" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:146937&lt;/A&gt;)&lt;BR /&gt;at yt.mainIframeLoaded (&lt;A href="https://js.squareup.com/v2/paymentform:1:147232" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:147232&lt;/A&gt;)&lt;BR /&gt;at t._onload (&lt;A href="https://js.squareup.com/v2/paymentform:1:145995" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:145995&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:86726" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:86726&lt;/A&gt;)&lt;BR /&gt;at d.onload (&lt;A href="https://js.squareup.com/v2/paymentform:1:83841" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:83841&lt;/A&gt;)&lt;BR /&gt;value @ paymentform:1&lt;BR /&gt;paymentform:1 ElementNotVisibleError: SqPaymentForm element with id 'sq-expiration-date' is not visible. Does it or a parent element have 'display:none'?&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:90340" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:90340&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:89696" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:89696&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:89581" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:89581&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:87865" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:87865&lt;/A&gt;)&lt;BR /&gt;at yt.initializePaymentMethod (&lt;A href="https://js.squareup.com/v2/paymentform:1:146937" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:146937&lt;/A&gt;)&lt;BR /&gt;at yt.mainIframeLoaded (&lt;A href="https://js.squareup.com/v2/paymentform:1:147232" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:147232&lt;/A&gt;)&lt;BR /&gt;at t._onload (&lt;A href="https://js.squareup.com/v2/paymentform:1:145995" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:145995&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:86726" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:86726&lt;/A&gt;)&lt;BR /&gt;at d.onload (&lt;A href="https://js.squareup.com/v2/paymentform:1:83841" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:83841&lt;/A&gt;)&lt;BR /&gt;value @ paymentform:1&lt;BR /&gt;paymentform:1 ElementNotVisibleError: SqPaymentForm element with id 'sq-postal-code' is not visible. Does it or a parent element have 'display:none'?&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:90340" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:90340&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:89696" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:89696&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:89581" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:89581&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:87865" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:87865&lt;/A&gt;)&lt;BR /&gt;at yt.initializePaymentMethod (&lt;A href="https://js.squareup.com/v2/paymentform:1:146937" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:146937&lt;/A&gt;)&lt;BR /&gt;at yt.mainIframeLoaded (&lt;A href="https://js.squareup.com/v2/paymentform:1:147232" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:147232&lt;/A&gt;)&lt;BR /&gt;at t._onload (&lt;A href="https://js.squareup.com/v2/paymentform:1:145995" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:145995&lt;/A&gt;)&lt;BR /&gt;at t.value (&lt;A href="https://js.squareup.com/v2/paymentform:1:86726" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:86726&lt;/A&gt;)&lt;BR /&gt;at d.onload (&lt;A href="https://js.squareup.com/v2/paymentform:1:83841" target="_blank"&gt;https://js.squareup.com/v2/paymentform:1:83841&lt;/A&gt;)&lt;BR /&gt;value @ paymentform:1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help is appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 17:06:05 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-form-gives-warning-sometimes-does-not-load/m-p/131371#M93981</guid>
      <dc:creator>jsuser</dc:creator>
      <dc:date>2019-08-27T17:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Square form gives warning, sometimes does not load</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-form-gives-warning-sometimes-does-not-load/m-p/131990#M93982</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/196514"&gt;@jsuser&lt;/a&gt;! Sorry for the delayed response.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I reached out to someone on the API team and this was what they said:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;"It sounds like they’re trying to initialize the square payment form before actually showing it. They should either:&lt;BR /&gt;
1) Initialize it only at the last step (rather than before they’re on that step)&lt;BR /&gt;
or&lt;BR /&gt;
2) Initialize it with&amp;nbsp;autoBuild: false and then call&amp;nbsp;build()&amp;nbsp;when they need to show it (see more info about that here&amp;nbsp;&lt;A href="https://slack-redir.net/link?url=https%3A%2F%2Fdeveloper.squareup.com%2Fdocs%2Fpayment-form%2Fhow-it-works%23single-page-web-applications-customizing-sqpaymentform-lifecycle" target="_blank"&gt;https://developer.squareup.com/docs/payment-form/how-it-works#single-page-web-applications-customizing-sqpaymentform-lifecycle&lt;/A&gt;)"&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 14:10:58 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-form-gives-warning-sometimes-does-not-load/m-p/131990#M93982</guid>
      <dc:creator>ashc</dc:creator>
      <dc:date>2019-09-04T14:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Square form gives warning, sometimes does not load</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-form-gives-warning-sometimes-does-not-load/m-p/166699#M93983</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/196514"&gt;@jsuser&lt;/a&gt;&amp;nbsp;I am having the same issue.&amp;nbsp; Did you ever get this resolved?&amp;nbsp; If so, please share your steps with me.&amp;nbsp; Thanks, in advance for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 18:22:41 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-form-gives-warning-sometimes-does-not-load/m-p/166699#M93983</guid>
      <dc:creator>GroundedKids</dc:creator>
      <dc:date>2020-04-29T18:22:41Z</dc:date>
    </item>
  </channel>
</rss>

