<?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 Test card returning INVALID_CARD_DATA Jquery\Php in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Test-card-returning-INVALID-CARD-DATA-Jquery-Php/m-p/320916#M92864</link>
    <description>&lt;P&gt;Hey everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After spending several hours developing a backend that is connected to sqaureup payment API, I started to get errors out of nowhere. It was working, then just randomly stopped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have jquery on the front end submitting the card data and getting a token back.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then send this token to my internal API to attach the card to a customer's profile (which i've confirmed exists). Again this was working, and randomly now it's not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My internal API is now sending back&amp;nbsp;"error":[{"category":"INVALID_REQUEST_ERROR","code":"INVALID_CARD_DATA","detail":"Invalid card data.","field":"source_id"}]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been using the test card in sandbox mode: 4111 1111 1111 1111 with expiration 11/22, ccv 111 postal code 11111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried the other test cards provided in the documentation and get the same results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have confirmed that my internal api is getting the proper token from the front end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on how I can get this test card to start working again would be great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Nov 2021 21:44:21 GMT</pubDate>
    <dc:creator>jjonesdesign</dc:creator>
    <dc:date>2021-11-20T21:44:21Z</dc:date>
    <item>
      <title>Test card returning INVALID_CARD_DATA Jquery\Php</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Test-card-returning-INVALID-CARD-DATA-Jquery-Php/m-p/320916#M92864</link>
      <description>&lt;P&gt;Hey everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After spending several hours developing a backend that is connected to sqaureup payment API, I started to get errors out of nowhere. It was working, then just randomly stopped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have jquery on the front end submitting the card data and getting a token back.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then send this token to my internal API to attach the card to a customer's profile (which i've confirmed exists). Again this was working, and randomly now it's not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My internal API is now sending back&amp;nbsp;"error":[{"category":"INVALID_REQUEST_ERROR","code":"INVALID_CARD_DATA","detail":"Invalid card data.","field":"source_id"}]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been using the test card in sandbox mode: 4111 1111 1111 1111 with expiration 11/22, ccv 111 postal code 11111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried the other test cards provided in the documentation and get the same results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have confirmed that my internal api is getting the proper token from the front end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on how I can get this test card to start working again would be great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 21:44:21 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Test-card-returning-INVALID-CARD-DATA-Jquery-Php/m-p/320916#M92864</guid>
      <dc:creator>jjonesdesign</dc:creator>
      <dc:date>2021-11-20T21:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Test card returning INVALID_CARD_DATA Jquery\Php</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Test-card-returning-INVALID-CARD-DATA-Jquery-Php/m-p/321539#M92865</link>
      <description>&lt;P&gt;Welcome to the Community, &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/411880"&gt;@jjonesdesign&lt;/a&gt; -&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you for reaching out about this.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I am going to recommend &lt;A href="https://squ.re/contactsqsupport" target="_blank"&gt;reaching out to our API Team&lt;/A&gt; to get some more insight on this. They can provide a plan for you or get a ticket filed with our engineers.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 21:20:31 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Test-card-returning-INVALID-CARD-DATA-Jquery-Php/m-p/321539#M92865</guid>
      <dc:creator>Kassi_</dc:creator>
      <dc:date>2021-11-23T21:20:31Z</dc:date>
    </item>
  </channel>
</rss>

