<?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 Phone Number Validations in Online Store</title>
    <link>https://community.squareup.com/t5/Online-Store/Phone-Number-Validations/m-p/806519#M543</link>
    <description>&lt;P&gt;Is it to be expected that the customer creation validates phone numbers like +17701231234 as invalid? I haven't seen anything in the create customer api docs that says this should be invalid, as it is a standard US number. Is the back end checking that 1231234 is invalid?&lt;BR /&gt;&lt;BR /&gt;2025-08-21T15:05:51.135-04:00 DEBUG 7314 --- [nio-8081-exec-3] c.g.y.p.s.impl.SquarePaymentService : Creating new customer for paymentMethodId 743d1bac-c4b3-4eef-ad0a-1be4fb7940a1&lt;BR /&gt;2025-08-21T15:05:55.535-04:00 DEBUG 7314 --- [nio-8081-exec-3] c.g.y.p.s.impl.SquarePaymentService : Calling square to crate new customer {&lt;BR /&gt;"idempotency_key" : "743d1bac-c4b3-4eef-ad0a-1be4fb7940a1",&lt;BR /&gt;"given_name" : "Jeffrey",&lt;BR /&gt;"family_name" : "Sinclair",&lt;BR /&gt;"email_address" : "jeffrey.sinclair@earthforce.net",&lt;BR /&gt;"address" : {&lt;BR /&gt;"country" : "US",&lt;BR /&gt;"address_line_1" : "2391 Armand Road",&lt;BR /&gt;"locality" : "Atlanta",&lt;BR /&gt;"postal_code" : "30324",&lt;BR /&gt;"first_name" : "Jeffrey",&lt;BR /&gt;"last_name" : "Sinclair",&lt;BR /&gt;"administrative_district_level_1" : "GA"&lt;BR /&gt;},&lt;BR /&gt;"phone_number" : "+17701231234",&lt;BR /&gt;"reference_id" : "97f25b92-ae6b-4c2b-8eba-0a3e0430823d"&lt;BR /&gt;} for paymentMethodId 743d1bac-c4b3-4eef-ad0a-1be4fb7940a1&lt;BR /&gt;2025-08-21T15:05:58.708-04:00 ERROR 7314 --- [nio-8081-exec-3] c.g.y.p.s.PaymentOrchestrationService : Error Body {errors=[{code=INVALID_PHONE_NUMBER, detail=Expected phone_number to be a valid phone number, field=phone_number, category=INVALID_REQUEST_ERROR}]}&lt;/P&gt;</description>
    <pubDate>Thu, 21 Aug 2025 19:11:12 GMT</pubDate>
    <dc:creator>maloney1</dc:creator>
    <dc:date>2025-08-21T19:11:12Z</dc:date>
    <item>
      <title>Phone Number Validations</title>
      <link>https://community.squareup.com/t5/Online-Store/Phone-Number-Validations/m-p/806519#M543</link>
      <description>&lt;P&gt;Is it to be expected that the customer creation validates phone numbers like +17701231234 as invalid? I haven't seen anything in the create customer api docs that says this should be invalid, as it is a standard US number. Is the back end checking that 1231234 is invalid?&lt;BR /&gt;&lt;BR /&gt;2025-08-21T15:05:51.135-04:00 DEBUG 7314 --- [nio-8081-exec-3] c.g.y.p.s.impl.SquarePaymentService : Creating new customer for paymentMethodId 743d1bac-c4b3-4eef-ad0a-1be4fb7940a1&lt;BR /&gt;2025-08-21T15:05:55.535-04:00 DEBUG 7314 --- [nio-8081-exec-3] c.g.y.p.s.impl.SquarePaymentService : Calling square to crate new customer {&lt;BR /&gt;"idempotency_key" : "743d1bac-c4b3-4eef-ad0a-1be4fb7940a1",&lt;BR /&gt;"given_name" : "Jeffrey",&lt;BR /&gt;"family_name" : "Sinclair",&lt;BR /&gt;"email_address" : "jeffrey.sinclair@earthforce.net",&lt;BR /&gt;"address" : {&lt;BR /&gt;"country" : "US",&lt;BR /&gt;"address_line_1" : "2391 Armand Road",&lt;BR /&gt;"locality" : "Atlanta",&lt;BR /&gt;"postal_code" : "30324",&lt;BR /&gt;"first_name" : "Jeffrey",&lt;BR /&gt;"last_name" : "Sinclair",&lt;BR /&gt;"administrative_district_level_1" : "GA"&lt;BR /&gt;},&lt;BR /&gt;"phone_number" : "+17701231234",&lt;BR /&gt;"reference_id" : "97f25b92-ae6b-4c2b-8eba-0a3e0430823d"&lt;BR /&gt;} for paymentMethodId 743d1bac-c4b3-4eef-ad0a-1be4fb7940a1&lt;BR /&gt;2025-08-21T15:05:58.708-04:00 ERROR 7314 --- [nio-8081-exec-3] c.g.y.p.s.PaymentOrchestrationService : Error Body {errors=[{code=INVALID_PHONE_NUMBER, detail=Expected phone_number to be a valid phone number, field=phone_number, category=INVALID_REQUEST_ERROR}]}&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 19:11:12 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Online-Store/Phone-Number-Validations/m-p/806519#M543</guid>
      <dc:creator>maloney1</dc:creator>
      <dc:date>2025-08-21T19:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Phone Number Validations</title>
      <link>https://community.squareup.com/t5/Online-Store/Phone-Number-Validations/m-p/806657#M544</link>
      <description>&lt;P&gt;Hi there&amp;nbsp;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/732214"&gt;@maloney1&lt;/a&gt;.. I took the number you gave above and tried adding a manual customer in my Square Dashboard. &amp;nbsp;Sure enough, it seems to know that there is no 123 exchange in area code 770. &amp;nbsp;Since the dashboard does it, it makes sense and would be expected that the API does it, also.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 22:01:04 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Online-Store/Phone-Number-Validations/m-p/806657#M544</guid>
      <dc:creator>TheRealChipA</dc:creator>
      <dc:date>2025-08-22T22:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Phone Number Validations</title>
      <link>https://community.squareup.com/t5/Online-Store/Phone-Number-Validations/m-p/806658#M545</link>
      <description>&lt;P&gt;Also&amp;nbsp;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/732214"&gt;@maloney1&lt;/a&gt;&amp;nbsp;I did a little digging and complete phone number validation tools are readily available that even determine if the number is a cell or land line. &amp;nbsp;So I'm not surprised that Square is also doing this.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 22:03:02 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Online-Store/Phone-Number-Validations/m-p/806658#M545</guid>
      <dc:creator>TheRealChipA</dc:creator>
      <dc:date>2025-08-22T22:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Phone Number Validations</title>
      <link>https://community.squareup.com/t5/Online-Store/Phone-Number-Validations/m-p/806799#M546</link>
      <description>&lt;P&gt;Interesting, it's good that this is being done, &amp;nbsp;but I would expect a little better documentation in the API docs around this and what to expect. Also, given this is a test system, maybe different rules for testing, so that obviously dummy / invalid numbers pass through, so testing does not require using a real number?&lt;/P&gt;</description>
      <pubDate>Sun, 24 Aug 2025 20:43:45 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Online-Store/Phone-Number-Validations/m-p/806799#M546</guid>
      <dc:creator>maloney1</dc:creator>
      <dc:date>2025-08-24T20:43:45Z</dc:date>
    </item>
  </channel>
</rss>

