Where the digital dollar price comes from
When a customer pays an order in digital dollars, nobody types the amount. How Colmado works it out from Chainlink's prices, and what the shopper sees.
3 min read
A Colmado store prices everything in US dollars. When a customer pays an order from their wallet, they pay in USDC, a digital dollar. Something has to turn the order total into an exact number of USDC, at that moment, without anyone typing a number. Chainlink's prices do that, and from today the shopper can see them.
What the shopper sees
On an unpaid order that is paid from a wallet, the order page now has a line under the pay button: "Where the digital dollar price comes from". It stays closed until the customer opens it, so the page stays short for anyone who just wants to pay.
Opened, it shows a small live picture of Chainlink's prices and one sentence: the amount is worked out from Chainlink's prices at that moment, not typed in by anyone. The words follow the store's language, English or Spanish.
How the amount is worked out
The customer pays the order total, nothing added. When the payment goes through, the payment contract reads Chainlink's price for USDC and works out how many USDC equal that total. It rounds up, so the store is never paid short.
The price is read again at the moment the payment goes through, so the wallet is asked to allow up to half a percent more than the amount it shows, in case the price moves in between. Only what the price says at that moment is taken.
On Colmado's standard wallet payment, a payment also has 30 minutes to go through. After that it is refused, nothing is taken, and the customer simply starts again at the current price. An order is paid once.
The store is paid in the same payment, to the wallet it registered. Colmado never holds the money.
Why Chainlink
Chainlink publishes its prices where anyone can read them. The number the payment uses is the same number anyone can check, and Colmado does not set it and cannot change it.
What stays private
The prices in the picture are read by Colmado's own server and kept for 30 seconds before they are read again. The customer's browser asks only Colmado for them: it does not contact Chainlink or any other company, and nothing about the customer or the order is part of the price read.
If a price cannot be read at that moment, the picture says so. It never shows an old or made-up number in its place.
What it is not
It does not change what the store charges: a dollar price stays a dollar price. It only shows how the digital dollar amount is reached. It is not shown on cash or card orders, and cash and cards work exactly as before.
For store owners
There is nothing to switch on. If your store takes wallet payments (Settings, "Wallet payments (USDC)"), your customers see the link on every unpaid wallet order. How wallet payments work and what they cost is in our post "Take store orders paid in digital dollars, straight to your wallet".