<?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 Associate Order with Apple Pay transaction in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/224133#M93064</link>
    <description>&lt;P&gt;Hi, I followed the instructions here -&amp;nbsp;&lt;A href="https://developer.squareup.com/docs/payment-form/add-digital-wallets/apple-pay" target="_blank"&gt;https://developer.squareup.com/docs/payment-form/add-digital-wallets/apple-pay&lt;/A&gt;&amp;nbsp;- to add an Apple Pay form on our site.&amp;nbsp; This allows a user to donate a custom amount to our organization.&amp;nbsp; I need to associate the donation transaction to an item in Square.&amp;nbsp; I created the Item in the Square Dashboard and created an Order using the Orders API.&amp;nbsp; I pass the new Order ID into the Apple Pay transaction, in the order_id field.&amp;nbsp; The transaction is successful but the response that comes back has a different Order id in the order_id field.&amp;nbsp; Also, I see the donation transaction in the Dashboard but I don't see the Order in the Dashboard.&amp;nbsp; And the transaction is not associated with the item in the order.&amp;nbsp; Please advise.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 18:31:51 GMT</pubDate>
    <dc:creator>lrmpham</dc:creator>
    <dc:date>2020-12-02T18:31:51Z</dc:date>
    <item>
      <title>Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/224133#M93064</link>
      <description>&lt;P&gt;Hi, I followed the instructions here -&amp;nbsp;&lt;A href="https://developer.squareup.com/docs/payment-form/add-digital-wallets/apple-pay" target="_blank"&gt;https://developer.squareup.com/docs/payment-form/add-digital-wallets/apple-pay&lt;/A&gt;&amp;nbsp;- to add an Apple Pay form on our site.&amp;nbsp; This allows a user to donate a custom amount to our organization.&amp;nbsp; I need to associate the donation transaction to an item in Square.&amp;nbsp; I created the Item in the Square Dashboard and created an Order using the Orders API.&amp;nbsp; I pass the new Order ID into the Apple Pay transaction, in the order_id field.&amp;nbsp; The transaction is successful but the response that comes back has a different Order id in the order_id field.&amp;nbsp; Also, I see the donation transaction in the Dashboard but I don't see the Order in the Dashboard.&amp;nbsp; And the transaction is not associated with the item in the order.&amp;nbsp; Please advise.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 18:31:51 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/224133#M93064</guid>
      <dc:creator>lrmpham</dc:creator>
      <dc:date>2020-12-02T18:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/224894#M93065</link>
      <description>&lt;P&gt;Can you please provide the &lt;STRONG&gt;payment_id&lt;/STRONG&gt; so we can look into this, &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/334797"&gt;@lrmpham&lt;/a&gt;?&lt;BR /&gt;
&lt;BR /&gt;
It sounds like you're going about this the correct way, but may be passing the order incorrectly. You should be calling &lt;STRONG&gt;CreatePayment&lt;/STRONG&gt; and passing the&lt;STRONG&gt; order_id &lt;/STRONG&gt;as a parameter. I hope this helps!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 01:35:42 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/224894#M93065</guid>
      <dc:creator>Valentina</dc:creator>
      <dc:date>2020-12-05T01:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/225503#M93066</link>
      <description>&lt;P&gt;Thanks for the reply.&amp;nbsp; I added the order_id to the CreatePayment request and is still getting the same result.&amp;nbsp; The payment id from the process payment call is -&amp;nbsp;nBxvPHzrhAY4mNJ0ADbfjcLOHfXZY&lt;/P&gt;
&lt;P&gt;There is an order_id associated with this payment but it is not the same as the order_id that I passed in to the CreatePayment request (from the&amp;nbsp;createPaymentRequest callback).&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 20:10:11 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/225503#M93066</guid>
      <dc:creator>lrmpham</dc:creator>
      <dc:date>2020-12-07T20:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/226109#M93067</link>
      <description>&lt;P&gt;Our API specialist was able to confirm that you did not pass in an &lt;STRONG&gt;order_id&lt;/STRONG&gt; into the request. If you think you are passing an &lt;STRONG&gt;order_id&lt;/STRONG&gt;, can you please&amp;nbsp;share a code snippet of the request (&lt;EM&gt;without access tokens&lt;/EM&gt;)? Thanks in advance, &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/334797"&gt;@lrmpham&lt;/a&gt;!&lt;BR /&gt;
&lt;BR /&gt;
This is all we&amp;nbsp;see for the request in the logs:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;request=source_id: "[FILTERED]" idempotency_key: "4a72d7b20dd60b70d1c8ac812ada328cb05f4612f562" amount_money { amount: 100 currency: USD }&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 09 Dec 2020 23:29:07 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/226109#M93067</guid>
      <dc:creator>Valentina</dc:creator>
      <dc:date>2020-12-09T23:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/227167#M93068</link>
      <description>&lt;P&gt;Ok, I made the change in where to pass the order_id and the payment object that comes back&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(id - PB1WjZotw8hw65sB1KeWId1rQMFZY) now has the same order_id (&lt;SPAN style="font-family: inherit; font-size: 14px;"&gt;8KLkhKiwyIHHOK2Q8RsQRkL6ZqeZY&lt;/SPAN&gt;) as the one I pass.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However I still don't see this order in my Square dashboard.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 07:22:46 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/227167#M93068</guid>
      <dc:creator>lrmpham</dc:creator>
      <dc:date>2020-12-14T07:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/227611#M93069</link>
      <description>&lt;P&gt;I was able to get a bit more information from our API specialists, &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/334797"&gt;@lrmpham&lt;/a&gt;.&lt;BR /&gt;
In order for an order to show up in your Square Dashboard, it needs:&lt;/P&gt;

&lt;OL&gt;
 &lt;LI&gt;To be paid for &lt;EM&gt;(it sounds like this was done)&lt;/EM&gt;&lt;/LI&gt;
 &lt;LI&gt;To have a fulfillment associated with it&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;For an example, head to&amp;nbsp;&lt;A href="https://developer.squareup.com/docs/orders-api/order-ahead-usecase" target="_blank"&gt;this page&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 17:21:09 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/227611#M93069</guid>
      <dc:creator>Valentina</dc:creator>
      <dc:date>2020-12-15T17:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/227958#M93070</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/206887"&gt;@Valentina&lt;/a&gt;&amp;nbsp;This transaction is a donation so there really isn't any fulfillment.&amp;nbsp; I attached an Order to it in order to associate it with an item so I can see all transactions for this item.&amp;nbsp; Is this possible without going through the Fulfillment process ?&amp;nbsp; Here is a snipet of the Order object:&lt;/P&gt;
&lt;PRE class="code-block code--json" tabindex="0" data-test-code-block-content=""&gt;&lt;CODE&gt;&lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"id"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"8KLkhKiwyIHHOK2Q8RsQRkL6ZqeZY"&lt;/SPAN&gt;,
      &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"location_id"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"XXXXXXXXXXX"&lt;/SPAN&gt;,
      &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"line_items"&lt;/SPAN&gt;: [
        {
          &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"uid"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"ZoRknFgd2xUhl4vKHjlf0D"&lt;/SPAN&gt;,
          &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"catalog_object_id"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"6UAJKYFTKSGUSMIKRULIBIB4"&lt;/SPAN&gt;,
          &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"quantity"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"1"&lt;/SPAN&gt;,
          &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"name"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"Test Donation Item"&lt;/SPAN&gt;,
          &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"variation_name"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"Regular"&lt;/SPAN&gt;,&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:56:48 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/227958#M93070</guid>
      <dc:creator>lrmpham</dc:creator>
      <dc:date>2020-12-16T17:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/228088#M93071</link>
      <description>&lt;P&gt;You cannot see an order in the Dashboard&amp;nbsp;&lt;EM&gt;unless&lt;/EM&gt; you supply a fulfillment, &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/334797"&gt;@lrmpham&lt;/a&gt;.&lt;BR /&gt;
&lt;BR /&gt;
You can definitely still use the order, and look it up via the API, but the order itself will not show up in the &lt;STRONG&gt;Orders&lt;/STRONG&gt;&amp;nbsp;tab. Once you pay for it, the transaction will show up in the &lt;STRONG&gt;Transactions&lt;/STRONG&gt;&amp;nbsp;tab in the Dashboard - so that may work, depending on what you need.&lt;BR /&gt;
&lt;BR /&gt;
If you want to see this payment in your&amp;nbsp;Dashboard as an actual order, you will need to apply a fulfillment type. If you do not need a fulfillment type, this is fine, you just will &lt;EM&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/EM&gt; see the order separately. The order view is mainly for fulfilling an order, which is not a relevant&amp;nbsp;for&amp;nbsp;donation.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 00:06:59 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/228088#M93071</guid>
      <dc:creator>Valentina</dc:creator>
      <dc:date>2020-12-17T00:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/228468#M93072</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/206887"&gt;@Valentina&lt;/a&gt;&amp;nbsp;I realize that I cannot see the Order if there is no fulfillment.&amp;nbsp; What I wanted to ask was since the Order is associated with an Item, is there a way to see the transaction be associated with that Item ?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 17:57:57 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/228468#M93072</guid>
      <dc:creator>lrmpham</dc:creator>
      <dc:date>2020-12-18T17:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Order with Apple Pay transaction</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/228609#M93073</link>
      <description>&lt;P&gt;Relaying one last bit of help from our API specialist, &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/334797"&gt;@lrmpham&lt;/a&gt;:&lt;BR /&gt;
&lt;BR /&gt;
If you attach an order to a payment via API,&amp;nbsp;when you click on the transaction in your Dashboard - yes, it will show the items on it.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 00:16:20 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Associate-Order-with-Apple-Pay-transaction/m-p/228609#M93073</guid>
      <dc:creator>Valentina</dc:creator>
      <dc:date>2020-12-19T00:16:20Z</dc:date>
    </item>
  </channel>
</rss>

