<?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 CreateCustomerCard Not working in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CreateCustomerCard-Not-working/m-p/28271#M94782</link>
    <description>&lt;P&gt;Hi, I am having an issue with API on production.I want to explain the process that I am using in my system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I create a customer and then create a card into this customer. Everything is working under &lt;STRONG&gt;sandbox&lt;/STRONG&gt; but when I switch it back to production, I got an error. I want to give you my tracking values. I got them in my system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/*Creating Customer Area*/
&lt;STRONG&gt;2017-01-11 10:48:59.0152 CreateCustomer-BEGIN :&lt;/STRONG&gt;
Parameters : userId=260, email=cagri@modobay.com, name=Cagri Caymaz
&lt;STRONG&gt;2017-01-11 10:48:59.3121 CreateCustomer-END :&lt;/STRONG&gt;
Response customerId=MQNVYJ7TBS16MG1WTCVJJW8TC0
&amp;nbsp;
/*Creating Card Area*/
&lt;STRONG&gt;2017-01-11 10:48:59.3121 CreateCard-BEGIN :&lt;/STRONG&gt;
Parameters : customerId=MQNVYJ7TBS16MG1WTCVJJW8TC0, cardNonce=CBASEE5Dxv_YCMv3TIGTHyuaiS0gAQ, cardHolderName=Cagri Caymaz
&lt;STRONG&gt;2017-01-11 10:48:59.4997 CreateCard-ERROR :&lt;/STRONG&gt;
Response Error calling CreateCustomerCard: {"errors":[{"category":"INVALID_REQUEST_ERROR","code":"NOT_FOUND","detail":"Resource not found.","field":"card_nonce"}]}
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, i have created customer. I do have card nonce from payment form. But i cannot create customer card.&amp;nbsp;&lt;STRONG&gt;CreateCustomer &lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;CreateCard&amp;nbsp;&lt;/STRONG&gt;are different 2 methods.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didnt understand what is going on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me?&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2017 22:18:55 GMT</pubDate>
    <dc:creator>CagriCaymaz</dc:creator>
    <dc:date>2017-01-11T22:18:55Z</dc:date>
    <item>
      <title>CreateCustomerCard Not working</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CreateCustomerCard-Not-working/m-p/28271#M94782</link>
      <description>&lt;P&gt;Hi, I am having an issue with API on production.I want to explain the process that I am using in my system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I create a customer and then create a card into this customer. Everything is working under &lt;STRONG&gt;sandbox&lt;/STRONG&gt; but when I switch it back to production, I got an error. I want to give you my tracking values. I got them in my system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/*Creating Customer Area*/
&lt;STRONG&gt;2017-01-11 10:48:59.0152 CreateCustomer-BEGIN :&lt;/STRONG&gt;
Parameters : userId=260, email=cagri@modobay.com, name=Cagri Caymaz
&lt;STRONG&gt;2017-01-11 10:48:59.3121 CreateCustomer-END :&lt;/STRONG&gt;
Response customerId=MQNVYJ7TBS16MG1WTCVJJW8TC0
&amp;nbsp;
/*Creating Card Area*/
&lt;STRONG&gt;2017-01-11 10:48:59.3121 CreateCard-BEGIN :&lt;/STRONG&gt;
Parameters : customerId=MQNVYJ7TBS16MG1WTCVJJW8TC0, cardNonce=CBASEE5Dxv_YCMv3TIGTHyuaiS0gAQ, cardHolderName=Cagri Caymaz
&lt;STRONG&gt;2017-01-11 10:48:59.4997 CreateCard-ERROR :&lt;/STRONG&gt;
Response Error calling CreateCustomerCard: {"errors":[{"category":"INVALID_REQUEST_ERROR","code":"NOT_FOUND","detail":"Resource not found.","field":"card_nonce"}]}
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, i have created customer. I do have card nonce from payment form. But i cannot create customer card.&amp;nbsp;&lt;STRONG&gt;CreateCustomer &lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;CreateCard&amp;nbsp;&lt;/STRONG&gt;are different 2 methods.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didnt understand what is going on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 22:18:55 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CreateCustomerCard-Not-working/m-p/28271#M94782</guid>
      <dc:creator>CagriCaymaz</dc:creator>
      <dc:date>2017-01-11T22:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: CreateCustomerCard Not working</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CreateCustomerCard-Not-working/m-p/28281#M94783</link>
      <description>&lt;P&gt;Can you share some of the code that generated that output?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 22:10:13 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CreateCustomerCard-Not-working/m-p/28281#M94783</guid>
      <dc:creator>tristansokol</dc:creator>
      <dc:date>2017-01-11T22:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: CreateCustomerCard Not working</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CreateCustomerCard-Not-working/m-p/28282#M94784</link>
      <description>&lt;P&gt;I just fixed &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Sql-payment method was using sandbox key. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; everything is working well &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 22:16:47 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CreateCustomerCard-Not-working/m-p/28282#M94784</guid>
      <dc:creator>CagriCaymaz</dc:creator>
      <dc:date>2017-01-11T22:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: CreateCustomerCard Not working</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CreateCustomerCard-Not-working/m-p/28283#M94785</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 22:18:51 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CreateCustomerCard-Not-working/m-p/28283#M94785</guid>
      <dc:creator>tristansokol</dc:creator>
      <dc:date>2017-01-11T22:18:51Z</dc:date>
    </item>
  </channel>
</rss>

