{"id":15439642,"date":"2022-03-08T22:29:04","date_gmt":"2022-03-08T22:29:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/unable-to-complete-test-transaction\/"},"modified":"2022-03-08T22:29:04","modified_gmt":"2022-03-08T22:29:04","slug":"unable-to-complete-test-transaction","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/unable-to-complete-test-transaction\/","title":{"rendered":"Unable to complete test transaction"},"content":{"rendered":"<p>I set up a page and added form short code to make a test transaction. I set up a sandbox in Square and entered values. I&#8217;m using free version 4.0.2. I&#8217;m using WP 5.9.1. <\/p>\n<p>When I submit the transaction I get the credit card and it stays there permanently. In Chrome Developer Tool Console I get an error:<\/p>\n<p>Failed to load resource: the server responded with a status of 400 ()<\/p>\n<pre><code>{\n  &quot;errors&quot;: [\n    {\n      &quot;category&quot;: &quot;INVALID_REQUEST_ERROR&quot;,\n      &quot;code&quot;: &quot;NOT_FOUND&quot;,\n      &quot;detail&quot;: &quot;Resource not found.&quot;\n    }\n  ]\n}<\/code><\/pre>\n<pre><code>Object\ncode: &quot;INVALID_VALUE&quot;\nmessage: &quot;Invalid location id: Select Location.: undefined&quot;\ntype: &quot;INVALID_REQUEST_ERROR&quot;\n<a href=\"https:\/\/codex.wordpress.org\/Prototype\">Prototype<\/a>: Object<\/code><\/pre>\n<p>In the WP Easy Pay &#8211;&gt; Square Connect menu I can enter a notifications email and I am showing Test Payment. I also have a notification that Square is connected. The country currency defaults to USD and under location dropdown I&#8217;m not given options. <\/p>\n<p>Any help is appreciated. <\/p>\n","protected":false},"template":"","class_list":["post-15439642","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15439642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15439642\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15439642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}