<?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: One-time credit card payment showing &amp;quot;Paid by: Unknown Name&amp;quot; in Square Dashboard in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/One-time-credit-card-payment-showing-quot-Paid-by-Unknown-Name/m-p/120280#M97992</link>
    <description>&lt;P&gt;Hey &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/172118"&gt;@gryd&lt;/a&gt;. I escalated your post to our API team and currently there isn't a way to save a name like this. You would need to &lt;A href="https://docs.connect.squareup.com/more-apis/customers/setup" target="_blank"&gt;create a customer&lt;/A&gt;&amp;nbsp;(using `CreateCustomer` endpoint) and then include the &lt;EM&gt;customer_id&amp;nbsp;&lt;/EM&gt;in the &lt;EM&gt;$request_body&lt;/EM&gt;&amp;nbsp;that you showed. There's more information about &lt;A href="https://docs.connect.squareup.com/more-apis/customers/cookbook/link-customers-to-transactions" target="_blank"&gt;linking customers to transactions&lt;/A&gt;&amp;nbsp;in the API documentation.&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2019 16:24:12 GMT</pubDate>
    <dc:creator>Helen</dc:creator>
    <dc:date>2019-05-07T16:24:12Z</dc:date>
    <item>
      <title>One-time credit card payment showing "Paid by: Unknown Name" in Square Dashboard</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/One-time-credit-card-payment-showing-quot-Paid-by-Unknown-Name/m-p/120057#M97991</link>
      <description>&lt;P&gt;I have a simple form that processes one-time credit card payments. I'm able to charge a card successfully however I am not sure how to associate their name with the transaction.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't want to store or create customers since these are one-time payments. I'm using PHP and process-card.php. How do I send their name so that it shows up in the Square dashboard when I charge the card?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-05 at 10.50.36 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.squareup.com/t5/image/serverpage/image-id/3536i19D8BA56C56C8091/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2019-05-05 at 10.50.36 AM.png" alt="Screen Shot 2019-05-05 at 10.50.36 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In process-card.php I am wondering if I can just modify this block of code? For example, could I just add "family_name" to the $request_body? I have their name stored in a session as $_SESSION['name']&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$request_body = array (
  
  "card_nonce" =&amp;gt; $nonce,

  "amount_money" =&amp;gt; array (
    "amount" =&amp;gt; 100,
    "currency" =&amp;gt; "USD"
  ),

  "idempotency_key" =&amp;gt; uniqid()

);
&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 May 2019 16:22:14 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/One-time-credit-card-payment-showing-quot-Paid-by-Unknown-Name/m-p/120057#M97991</guid>
      <dc:creator>gryd</dc:creator>
      <dc:date>2019-05-05T16:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: One-time credit card payment showing "Paid by: Unknown Name" in Square Dashboard</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/One-time-credit-card-payment-showing-quot-Paid-by-Unknown-Name/m-p/120280#M97992</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/172118"&gt;@gryd&lt;/a&gt;. I escalated your post to our API team and currently there isn't a way to save a name like this. You would need to &lt;A href="https://docs.connect.squareup.com/more-apis/customers/setup" target="_blank"&gt;create a customer&lt;/A&gt;&amp;nbsp;(using `CreateCustomer` endpoint) and then include the &lt;EM&gt;customer_id&amp;nbsp;&lt;/EM&gt;in the &lt;EM&gt;$request_body&lt;/EM&gt;&amp;nbsp;that you showed. There's more information about &lt;A href="https://docs.connect.squareup.com/more-apis/customers/cookbook/link-customers-to-transactions" target="_blank"&gt;linking customers to transactions&lt;/A&gt;&amp;nbsp;in the API documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 16:24:12 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/One-time-credit-card-payment-showing-quot-Paid-by-Unknown-Name/m-p/120280#M97992</guid>
      <dc:creator>Helen</dc:creator>
      <dc:date>2019-05-07T16:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: One-time credit card payment showing "Paid by: Unknown Name" in Square Dashboard</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/One-time-credit-card-payment-showing-quot-Paid-by-Unknown-Name/m-p/120319#M97993</link>
      <description>&lt;P&gt;Ok thanks for the reply I'll use the CreateCustomer endpoint and send their ID and name with the transaction.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 20:37:59 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/One-time-credit-card-payment-showing-quot-Paid-by-Unknown-Name/m-p/120319#M97993</guid>
      <dc:creator>gryd</dc:creator>
      <dc:date>2019-05-07T20:37:59Z</dc:date>
    </item>
  </channel>
</rss>

