<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Five things that trip people up with the]]></title><description><![CDATA[Five things that trip people up with the]]></description><link>https://colver-woo.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b0953db70f334fca42b1d0d/0b293879-1746-4005-9b6c-2dafb4357e6a.png</url><title>Five things that trip people up with the</title><link>https://colver-woo.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:28:10 GMT</lastBuildDate><atom:link href="https://colver-woo.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Five things that trip people up with the Clover REST API]]></title><description><![CDATA[We set up Clover-to-WooCommerce connections for our customers. The same few problems come up again and again, for merchants, for agencies, and for…]]></description><link>https://colver-woo.hashnode.dev/five-things-that-trip-people-up-with-the-clover-rest-api</link><guid isPermaLink="true">https://colver-woo.hashnode.dev/five-things-that-trip-people-up-with-the-clover-rest-api</guid><category><![CDATA[woocommerce plugins]]></category><category><![CDATA[woocommerce]]></category><category><![CDATA[clover pos]]></category><dc:creator><![CDATA[CloverWoo]]></dc:creator><pubDate>Fri, 27 Nov 2026 10:46:58 GMT</pubDate><content:encoded><![CDATA[<p>We set up Clover-to-WooCommerce connections for our customers. The same few problems come up again and again, for merchants, for agencies, and for developers writing their own scripts. None of them are hard once you know them. All of them cost an afternoon the first time.</p>
<h2>1. There are two "merchant IDs", and only one works</h2>
<p>A Clover merchant has a <strong>Merchant ID</strong> used by the API. It is 13 characters, letters and numbers, and you find it in the Clover web dashboard under Account &amp; Setup.</p>
<p>The merchant also has a <strong>processing MID</strong> from the payment side. It is usually a long number (often 16 digits) and it shows up on statements and on paperwork from the bank or reseller.</p>
<p>If you call the API with the processing MID, you get a <code>401 Unauthorized</code>, which looks like a token problem. It is not. Check the ID first. We now ask for "the 13-character ID from your Clover dashboard" by name. It saves a lot of back and forth.</p>
<h2>2. Sandbox and production are separate worlds</h2>
<p>Clover has a developer sandbox and a production environment, on different hosts. A sandbox merchant, its token and its items do not exist in production, and the other way round.</p>
<p>Signs you are pointing at the wrong one:</p>
<ul>
<li>a real merchant's token returns <code>401</code> everywhere,</li>
<li>the item list is empty or full of test items you do not recognise.</li>
</ul>
<p>Make the environment an explicit setting in whatever you build, and show it clearly on screen. A screen that quietly says "Sandbox" while someone tries to connect their real shop is a support ticket waiting to happen.</p>
<h2>3. API tokens and account security</h2>
<p>Merchants can create an API token from their Clover dashboard for simple, single-store connections. Clover ties this to the account's security settings, so an owner may need to turn on two-factor sign-in before the option to create a token works.</p>
<p>For anything you plan to offer to many merchants, a proper Clover app with OAuth is the long-term route. Single tokens are fine for one store and for testing.</p>
<h2>4. Money is in cents, and modifiers are their own objects</h2>
<p>Prices come back as whole numbers in cents: <code>1250</code> means $12.50. Mixing cents and dollars is the classic "why is my latte $1,250?" bug.</p>
<p>Modifiers are not part of the item. They live in <strong>modifier groups</strong> (for example "Size" or "Milk"), and the groups are attached to items. If you want a website to show "choose one size" the way the register does, you have to read the groups, their rules (min and max choices) and then the modifiers inside each group.</p>
<h2>5. Writes show up on the register right away</h2>
<p>This is the one to respect. If your code changes an item on Clover, staff see the change on the register immediately. That includes visibility.</p>
<p>We learned this the hard way: a bulk change on the website side, with product sync from the website to Clover switched on, also hid those items on the register. The shop's screen showed an almost empty menu until we turned them back on.</p>
<p>The rules we follow now:</p>
<ul>
<li>Test every write against a sandbox or test merchant first.</li>
<li>On a live merchant, change one item, check the register, then do the rest.</li>
<li>Never run a bulk write to a live Clover without the merchant knowing.</li>
</ul>
<h2>Wrapping up</h2>
<p>Most Clover integration problems are not about code. They are about using the right ID, the right environment, the right units and a healthy fear of writing to a live register.</p>
<p>If you are connecting Clover to a WooCommerce store, our <a href="https://cloverwoo.com/docs">setup docs</a> walk through the connection step by step, including where to find the Merchant ID in the Clover dashboard (Account &amp; Setup).</p>
]]></content:encoded></item></channel></rss>