<?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: Multiple sellers on one marketplace application in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Multiple-sellers-on-one-marketplace-application/m-p/133551#M93965</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/164176"&gt;@kellyj&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I saw that Oauth is the way to go. Once you get the access token I assume most applications store it on the server/DB to access it anytime there is a purchase?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also is there a common implementation applications use to refresh the token before the 30-day expiration? Maybe a cron job or something simple?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2019 15:49:18 GMT</pubDate>
    <dc:creator>adia</dc:creator>
    <dc:date>2019-09-23T15:49:18Z</dc:date>
    <item>
      <title>Multiple sellers on one marketplace application</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Multiple-sellers-on-one-marketplace-application/m-p/133374#M93963</link>
      <description>&lt;P&gt;I'm looking at creating an online marketplace app that would allow sellers to connect their square accounts so that when users make a purchase on the app the transaction would go through the Square API and to the seller's account. Is there a better way to direct payments to the seller's account so that each seller doesn't need to generate an "Application ID" and "Access token" to use the API?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2019 01:05:29 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Multiple-sellers-on-one-marketplace-application/m-p/133374#M93963</guid>
      <dc:creator>adia</dc:creator>
      <dc:date>2019-09-21T01:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sellers on one marketplace application</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Multiple-sellers-on-one-marketplace-application/m-p/133549#M93964</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/203736"&gt;@adia&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You wouldn't need to generate an application for each Seller, but you do need to generate and Oauth access token:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://developer.squareup.com/docs/oauth-api/what-it-does" target="_blank"&gt;https://developer.squareup.com/docs/oauth-api/what-it-does&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If you have specific additional questions - Please let us know!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 15:34:34 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Multiple-sellers-on-one-marketplace-application/m-p/133549#M93964</guid>
      <dc:creator>kellyj</dc:creator>
      <dc:date>2019-09-23T15:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sellers on one marketplace application</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Multiple-sellers-on-one-marketplace-application/m-p/133551#M93965</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/164176"&gt;@kellyj&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I saw that Oauth is the way to go. Once you get the access token I assume most applications store it on the server/DB to access it anytime there is a purchase?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also is there a common implementation applications use to refresh the token before the 30-day expiration? Maybe a cron job or something simple?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 15:49:18 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Multiple-sellers-on-one-marketplace-application/m-p/133551#M93965</guid>
      <dc:creator>adia</dc:creator>
      <dc:date>2019-09-23T15:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sellers on one marketplace application</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Multiple-sellers-on-one-marketplace-application/m-p/133559#M93966</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/203736"&gt;@adia&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;We typically don't document a best practice&amp;nbsp;for storing access tokens, but yes storing tokens securely in a database on a server sounds like it should work fine.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I would&amp;nbsp;advise you to set up a cron job to&amp;nbsp;happen every so often (before 30 days). That's&amp;nbsp;ideal.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 16:29:24 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Multiple-sellers-on-one-marketplace-application/m-p/133559#M93966</guid>
      <dc:creator>kellyj</dc:creator>
      <dc:date>2019-09-23T16:29:24Z</dc:date>
    </item>
  </channel>
</rss>

