How Do You Check Whether a Payment QR Code Opens the Correct Merchant Domain?
Some payment QR codes open a web page, and the domain on that page decides whether you are paying the right merchant. This guide shows how to read the address before you pay and where a VPN fits.
10 min readUpdated Nov 18, 2026By XPASS Editorial Team

Payment QR codes are everywhere: on shop counters, restaurant tables, parking machines, invoices and parcel notes. Some of them are simple. Your banking or wallet app reads the code, shows a payee name and an amount, and you approve. Others are not simple at all, because the code hides an ordinary web address and your phone is about to open a checkout page in a browser. In that second case the most important question is not how the page looks. It is which domain the page really belongs to.
This article is about that narrow check. It explains how to tell the two kinds of payment code apart, how to read a web address the way a careful person does, which look-alike tricks are common, and what to do when the address does not match the merchant you expected. It also says honestly what a VPN does here, which is very little. For the wider picture of fake codes and stickers, read QR code scams, which this guide builds on.
Two kinds of payment QR code
Before you check anything, work out what kind of code you are looking at, because the check is different for each.
The first kind carries payment data. Many bank-transfer and wallet codes work this way. You open your own banking or wallet app, use its scanner, and the app reads the data inside the code and shows the payee name, an account or merchant label and sometimes an amount. There is usually no web page involved at all, so there is no domain to inspect. What you check instead is the name your app displays. This is covered in paying by QR abroad with a Thai bank app.
The second kind carries a web address. You scan it with the phone camera or a general scanner, and your phone offers to open a link. The page might be a card checkout, a bill-payment portal, a booking form or a page that sends you on to a wallet app. Here the payee name is not shown by a bank. The page itself shows whatever name its owner wants, so the one reliable clue you have is the domain in the address.
A quick way to tell them apart: if you used the camera app and a link preview appeared, it is the second kind. If you used the scanner inside a banking or wallet app and it jumped straight to a confirmation screen, it is the first kind. If you are unsure, assume it is a web address and check it. The detail of how every code is encoded differs between countries and apps, so treat this as a practical rule of thumb and not a technical specification.

How to read a web address
A web address looks like one long string, but it has a clear structure. Reading it from left to right, you meet a scheme such as https://, then the host name, then a slash, then the path. The host name is the part that matters. It is built from labels separated by dots, and it is read from right to left to find who is responsible.
The registered domain is the name just before the final ending, plus that ending. In pay.shopname.co.th the ending is .co.th, the registered domain is shopname.co.th, and pay is only a label that the owner of that domain chose to add. In shopname.co.th.secure-pay.example the registered domain is actually secure-pay.example, and shopname.co.th is a decoy sitting to the left. This is the single most common trick, and reading from the right defeats it.
Other parts of the address can mislead you too:
- Everything after the first single slash is the path, and it is page names that anyone can choose. A path that says
/shopnameproves nothing. - A section before an
@sign can hide the real host. Inhttps://shopname.co.th@other.example/the page you open is onother.example. - A very long address may push the real host out of view on a small screen. That is a reason to copy the link and read it in full.
- A padlock or the letters HTTPS mean the connection is encrypted. They do not mean the merchant is genuine, because a scammer can obtain a certificate for their own domain. The explainer on HTTPS covers what the padlock does and does not promise.
If you want the background on how names map to servers, the Cloudflare explainer on DNS shows why a domain, not a brand name on the page, is what your phone actually connects to.
A step-by-step check before you pay
Use the same short routine every time a payment code opens a link. It takes less than half a minute once it becomes a habit.
- Scan with the camera or scanner, but do not tap the link yet. Read the preview of the address.
- Find the host name, which is the part between
https://and the first single slash. - Read it from right to left and identify the registered domain.
- Compare that domain with what you expect for the merchant. Use a source you trust and did not get from the same QR code: the merchant's printed receipt, their official app, their verified social account, or a website you already know.
- Look for look-alike spelling: a swapped letter, an extra word such as "secure", "verify" or "refund", a different ending, or a number in place of a letter.
- If it matches, open the page and still read the payee or merchant name shown at the final payment step, and the amount.
- If it does not match, or if you are unsure, stop. Ask for another way to pay.
Step 4 is where many people go wrong. The address should be compared against something that is independent of the code. A sticker that has been placed over the real one can lead to a convincing page with the right logo, so the logo is not evidence. A domain you recognise from somewhere else is.
Look-alike domains to watch for
Scammers do not need your exact merchant domain. They need one that looks right for the two seconds you spend reading it. These patterns come up again and again, and none of them is exotic.
| Pattern | Example shape | What to notice |
|---|---|---|
| Swapped or doubled letter | shopnmae, shoppname |
Read slowly, letter by letter |
| Look-alike characters | a zero in place of the letter o, a lowercase L in place of a capital I | The font on a phone can hide the difference |
| Added words | shopname-secure, shopname-refund |
Real merchants rarely need extra words |
| Different ending | .com instead of .co.th, or an unusual ending |
The ending is part of the identity |
| Decoy on the left | shopname.co.th.other.example |
Read from the right to find the real domain |
| Shortened link | a short link that hides the destination | Treat as unknown until you can see where it leads |
| Hyphen tricks | shop-name vs shopname |
A hyphen makes a different domain |
Some addresses use characters from other alphabets that look like Latin letters. Browsers often show these in a safer form, but not always, which is another reason to compare the domain against a trusted source and not only against your memory of how the brand looks.
One more caution applies to shortened links. A payment code that opens a link shortener is not automatically a scam, because some businesses use them for tracking. But you cannot judge the destination, so it is reasonable to ask the merchant for a direct address or another way to pay.
A plain example
Suppose you are in a small cafe and the table card says "Scan to pay your bill". You scan it with the camera and the preview reads https://pay.cafe-bangkok-bill.example/t12. You want to confirm that this is the cafe's payment page.
You read the host name from the right: the registered domain is cafe-bangkok-bill.example, and pay is a label on the left. Nothing on the receipt, the menu or the cafe's official social page mentions that domain. The cafe's own page uses a different name. That is a mismatch you cannot explain, so you do not open the link. You walk to the counter, say that the table code opens an address you do not recognise, and pay at the counter with a terminal or with a code the staff show you on their own device.
Notice what happened. You did not need technical tools, and you did not need to prove the page was fake. You only needed to notice that the domain did not match anything you could verify, and then you used a different way to pay. Staff may be surprised, and sometimes the code is genuine and simply poorly explained, but a short delay at the counter costs far less than a payment sent to the wrong place.
The opposite case also happens. If the receipt prints the same domain and the staff confirm the code is theirs, you can open it, check the merchant name and amount at the final step, and pay with more confidence. The check does not slow honest payments down much.
Where a VPN fits, and where it does not
A VPN is a privacy tool for the network path. It encrypts traffic between your device and the VPN server, so people on the same public Wi-Fi network cannot easily read what passes through. That can be useful when you pay or sign in on a cafe, airport or hotel network, and the guide on public Wi-Fi safety explains why.
It does not look at where a QR code leads, and it does not decide whether a domain is honest. A fake checkout page opened over a VPN is still a fake checkout page. The card details you type go to whoever runs that page, with or without a VPN. So the VPN does not replace the domain check, and you should not treat a connected VPN icon as a sign that a payment page is safe.
A VPN also should not be used to change your apparent location in order to get around a bank's or a card issuer's checks. Banks and issuers decide for themselves whether to approve a payment, and a payment that looks unusual may be held or asked for extra confirmation. If a payment is blocked, the right step is to contact the bank through the official number or app, not to try to work around the check. The article on using banking apps with a VPN covers that side in more detail.

Limits, and what to watch for
Even a careful domain check has limits, and it is better to know them than to feel falsely safe.
- A matching domain does not prove an honest merchant. Real domains can be compromised, and some scams use a genuine domain in an unexpected way. The check removes many obvious fakes, not all risk.
- You may not know the merchant's real domain. A small shop may use a payment provider whose domain is different from the shop's own name. In that case the domain will not match the shop, and that is not automatically a problem, but you should be able to confirm it with the staff or a receipt.
- Some payment codes open an app and not a browser. Your phone may ask which app to use. Confirm the app is the one you expected and that it came from the official store.
- A page can ask for more than it needs. A bill-payment page that asks for your banking password, a full card PIN or a one-time code sent to your phone is a warning sign, even if the domain looks plausible. A one-time code should never be shared with another person or typed into a page you reached by an unexplained link.
- Public Wi-Fi can interfere. If a page looks different from what you saw earlier, or a certificate warning appears, stop and use mobile data or another way to pay.
- Pressure is a signal. Messages that say a payment must be made in minutes, or that a refund needs you to scan a code, deserve extra suspicion.
If you are already used to judging links in messages, the same skills apply here. How to recognize phishing websites goes through address clues, page behaviour and what to do next in more depth.
If the domain looks wrong or you already paid
If you spot a mismatch before entering anything, closing the page is enough. Do not scan the code again to "see if it works", and do not forward the code to friends. If it is a sticker in a public place, tell the staff or the owner of the machine so they can remove it.
If you entered card details, a password or a one-time code, act quickly and use official channels only. Contact your bank or card issuer using the number on the back of your card or inside the official app, tell them what happened, and follow their instructions. They are the ones who can block a card, review a payment or advise you on what comes next. Change the password for any account whose login you typed, and turn on two-factor authentication where it is available. Do not call a number that appeared on the suspicious page or came from the person who sent you the code.
If you paid through a transfer app and the money went to the wrong place, report it to your bank promptly, keep the screenshot of the payee name and the time, and ask about their dispute process. Whether a bank can recover a payment depends on the case and on its own rules, so it is not sensible to assume a particular outcome. Keeping a record helps, and speed usually helps too.
Summary
A payment QR code is either a bundle of payment data that your own app reads, or a web address that opens a page. For the second kind, the registered domain is the clue that matters: read the host name from the right, compare it with a source you trust that did not come from the code, and watch for look-alike spelling, extra words and decoys. A padlock only shows encryption, and a VPN does not judge the page, so neither replaces the check. If anything looks wrong, stop and pay another way, and use your bank's official channels if you have already entered details. If you also use public networks while travelling, you can look at the XPASS pricing page to see whether a short prepaid VPN pass suits your trip, as one layer on top of these habits.
Frequently asked questions
Does every payment QR code open a web page?
No. Some QR codes contain a web address, and your phone offers to open it in a browser. Others contain payment data that a banking or wallet app reads directly, and that app then shows you the payee name and amount. Which type you have decides what you should check: the domain for a web address, the payee name inside your own app for a transfer code.
How do I see the real address before the page opens?
Most phone cameras and scanner apps show a preview of the address after they read the code. Read that preview before you tap it. If the preview is cut off, long press or choose the option to copy the link, then read the whole address in a note or message before deciding whether to open it.
Which part of a web address tells me who runs the page?
The registered domain, which is the name just before the final ending such as .com or .co.th, and which sits before the first single slash. Words to the left of it are only labels chosen by the domain owner, and words after the slash are page names. A padlock only means the connection is encrypted, not that the merchant is genuine.
Can a VPN tell me whether a merchant domain is correct?
No. A VPN encrypts the path between your device and the VPN server, but it does not judge whether a website is honest. If you pay on a fake page through a VPN, the fake page still receives the details you type. The domain check and the payee check are what protect you.
What should I do if the domain looks wrong?
Close the page without entering anything, do not pay, and ask the merchant for another way to pay, such as a card terminal or a code shown on their own screen. If you already entered card or login details, contact your bank or the service using the official number on your card or in the official app.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

Privacy Guides
QR Code Scams: How to Spot Fake QR Codes (Quishing)
QR codes are convenient, and that is exactly why scammers use them. This guide explains quishing, the common tricks, a simple check before you scan or pay, and where a VPN does and does not help.
10 min read

Privacy Guides
How to Recognize Phishing Websites
Phishing websites imitate real services to steal your login or card details. This guide shows the warning signs worth checking, a calm routine for suspicious links, and what to do if you entered details.
9 min read

Privacy Guides
Paying by QR Abroad With a Thai Bank App
Some Thai bank apps can pay local QR codes in certain countries. This guide covers how it generally works, what to prepare, how to avoid fake stickers and what to do when it fails.
11 min read