<?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: INVALID_REQUEST_ERROR (nonce issue) when switching from Sandbox to Live in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/INVALID-REQUEST-ERROR-nonce-issue-when-switching-from-Sandbox-to/m-p/7174#M95184</link>
    <description>&lt;P&gt;Sorry to hear about the trouble.&amp;nbsp;I'll share this with our developer team and report back shortly. Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2016 22:36:37 GMT</pubDate>
    <dc:creator>Spenser</dc:creator>
    <dc:date>2016-06-14T22:36:37Z</dc:date>
    <item>
      <title>INVALID_REQUEST_ERROR (nonce issue) when switching from Sandbox to Live</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/INVALID-REQUEST-ERROR-nonce-issue-when-switching-from-Sandbox-to/m-p/6963#M95183</link>
      <description>&lt;P&gt;I have been trying to get my web site set up integrating the ecommerce form into the site. &amp;nbsp;I managed to get it working using Sandbox credentials but as soon as I switched it to "live", replacing the location ID, application ID and access tokens for live data, and attempted to charge myself $1.00, I began to receive the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Caught exception!&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Response body:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;object&lt;/STRONG&gt;(&lt;I&gt;stdClass&lt;/I&gt;)[&lt;I&gt;6&lt;/I&gt;]
  &lt;I&gt;public&lt;/I&gt; 'errors' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; 
    &lt;STRONG&gt;array&lt;/STRONG&gt; &lt;I&gt;(size=1)&lt;/I&gt;
      0 &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; 
        &lt;STRONG&gt;object&lt;/STRONG&gt;(&lt;I&gt;stdClass&lt;/I&gt;)[&lt;I&gt;7&lt;/I&gt;]
          &lt;I&gt;public&lt;/I&gt; 'category' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'INVALID_REQUEST_ERROR'&lt;/FONT&gt; &lt;I&gt;(length=21)&lt;/I&gt;
          &lt;I&gt;public&lt;/I&gt; 'code' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'NOT_FOUND'&lt;/FONT&gt; &lt;I&gt;(length=9)&lt;/I&gt;
          &lt;I&gt;public&lt;/I&gt; 'detail' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'Resource not found.'&lt;/FONT&gt; &lt;I&gt;(length=19)&lt;/I&gt;
          &lt;I&gt;public&lt;/I&gt; 'field' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'card_nonce'&lt;/FONT&gt; &lt;I&gt;(length=10)&lt;/I&gt;
&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Response headers:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;array&lt;/STRONG&gt; &lt;I&gt;(size=12)&lt;/I&gt;
  0 &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'HTTP/1.1 404 Not Found'&lt;/FONT&gt; &lt;I&gt;(length=22)&lt;/I&gt;
  'Content-Type' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'application/json'&lt;/FONT&gt; &lt;I&gt;(length=16)&lt;/I&gt;
  'Vary' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'Accept-Encoding'&lt;/FONT&gt; &lt;I&gt;(length=15)&lt;/I&gt;
  'X-Content-Type-Options' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'nosniff'&lt;/FONT&gt; &lt;I&gt;(length=7)&lt;/I&gt;
  'X-Download-Options' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'noopen'&lt;/FONT&gt; &lt;I&gt;(length=6)&lt;/I&gt;
  'X-Frame-Options' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'SAMEORIGIN'&lt;/FONT&gt; &lt;I&gt;(length=10)&lt;/I&gt;
  'X-Permitted-Cross-Domain-Policies' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'none'&lt;/FONT&gt; &lt;I&gt;(length=4)&lt;/I&gt;
  'X-Xss-Protection' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'1; mode=block'&lt;/FONT&gt; &lt;I&gt;(length=13)&lt;/I&gt;
  'Date' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'Sun, 12 Jun 2016 22:20:11 GMT'&lt;/FONT&gt; &lt;I&gt;(length=29)&lt;/I&gt;
  'Content-Length' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'121'&lt;/FONT&gt; &lt;I&gt;(length=3)&lt;/I&gt;
  'Keep-Alive' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'timeout=60'&lt;/FONT&gt; &lt;I&gt;(length=10)&lt;/I&gt;
  'Strict-Transport-Security' &lt;FONT color="#888a85"&gt;=&amp;gt;&lt;/FONT&gt; string &lt;FONT color="#cc0000"&gt;'max-age=631152000'&lt;/FONT&gt; &lt;I&gt;(length=17)&lt;/I&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I know the nonce was created since I received my nonce received alert in the previous page.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:10:26 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/INVALID-REQUEST-ERROR-nonce-issue-when-switching-from-Sandbox-to/m-p/6963#M95183</guid>
      <dc:creator>tllewellyn</dc:creator>
      <dc:date>2016-06-15T15:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_REQUEST_ERROR (nonce issue) when switching from Sandbox to Live</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/INVALID-REQUEST-ERROR-nonce-issue-when-switching-from-Sandbox-to/m-p/7174#M95184</link>
      <description>&lt;P&gt;Sorry to hear about the trouble.&amp;nbsp;I'll share this with our developer team and report back shortly. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 22:36:37 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/INVALID-REQUEST-ERROR-nonce-issue-when-switching-from-Sandbox-to/m-p/7174#M95184</guid>
      <dc:creator>Spenser</dc:creator>
      <dc:date>2016-06-14T22:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_REQUEST_ERROR (nonce issue) when switching from Sandbox to Live</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/INVALID-REQUEST-ERROR-nonce-issue-when-switching-from-Sandbox-to/m-p/7197#M95185</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/12847"&gt;@tllewellyn﻿&lt;/a&gt;&amp;nbsp;From&amp;nbsp;the logs, it seems the application used for the card nonce creation didn't match the one used for charge. but seems you got the issue addressed already. Could you let us know if there is anything else we can help with?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:10:03 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/INVALID-REQUEST-ERROR-nonce-issue-when-switching-from-Sandbox-to/m-p/7197#M95185</guid>
      <dc:creator>zhao</dc:creator>
      <dc:date>2016-06-15T15:10:03Z</dc:date>
    </item>
  </channel>
</rss>

