What a small business website needs before it takes payments
Adding a "Buy" button takes an afternoon. Making that button safe for you and fair to your customer takes a little more thought. This is the checklist we work through before a site we build starts taking money. It is not legal advice: laws differ by state and change, so check the current rules for where you and your customers are.
1. Never touch the card number
Use a payment provider's hosted checkout page, or its embedded fields, so the card number goes straight from the customer's browser to the provider. Your server only ever receives a confirmation and an ID.
Why it matters: a site that stores or even passes card numbers through its own server takes on far heavier security duties under the card industry's PCI DSS rules. A site that never sees the number usually qualifies for the simplest self-assessment. It is also one less thing an attacker can steal from you.
2. Show the price the customer will actually pay
The price on the page must be the price charged. Decide it on your server from the product, never from a number the browser sends (a browser can be told to send anything). If tax or shipping is added, say so before payment.
3. Say who is selling
Put your business name, how to contact you, and where you are (a mailing address is enough) on the site. The receipt and the card statement should show a name the customer recognizes. An unfamiliar name on a statement is one of the most common reasons for a chargeback.
4. Subscriptions need clear consent and an easy exit
If anything renews automatically, the rules get stricter. Under the federal Restore Online Shoppers' Confidence Act (15 U.S.C. 8403), an online seller of a recurring charge must:
- clearly disclose all material terms before taking billing information;
- get the customer's express informed consent before charging;
- provide a simple way to stop the recurring charges.
In practice that means:
- show the renewal amount, how often it renews, and how to cancel, right next to the button;
- use a checkbox the customer ticks themselves (never ticked for them) or an equally clear action;
- keep a record of that consent: who agreed, to what, and when;
- let people cancel online, as easily as they signed up.
States add their own rules. In Florida, for example, section 501.165 of the Florida Statutes covers automatic renewals of consumer service contracts: for a term of 12 months or longer, the customer must get a written notice 30 to 60 days before the cancellation deadline, saying that the contract renews unless they cancel and how to cancel. If you sell yearly plans, build that reminder email before you sell the first one.
5. Write the refund policy before the first sale
A clear refund policy prevents arguments. Say what can be refunded, how long the customer has to ask, how to ask, and how long the refund takes. Then follow it every time. "Final sale" can be fair for some digital goods, but say it before the purchase, not after.
6. Terms of service that match what the site really does
Your terms should describe the product you actually sell. Common gaps we find: terms that promise features that do not exist, a privacy policy that does not name the payment provider, and a refund policy that contradicts the checkout page. Read all three side by side; a customer (or their lawyer) will.
7. Test the whole path with real money, once
Before launch, buy your own product with a real card, then refund it. Check that the confirmation email arrives, the receipt shows the right name and amount, the customer gets what they paid for, and the refund goes through. A test mode proves the code; a real purchase proves the business.
8. Plan for the unhappy paths
Decide in advance what happens when a payment fails, a renewal card expires, a customer disputes a charge, or you stop offering a plan. Each of those should end somewhere defined (a retry, an email, a refund, a cancellation), never in a state nobody looks at.
The short version
Let the payment provider hold the card, charge the price you show, say who you are, make renewals explicit and easy to cancel, publish a refund policy, keep your terms honest, and test the whole thing with a real purchase before your first customer does.