How to take payments on your website safely
Take payments safely with a trusted gateway like Stripe or PayPal, an SSL certificate, and PCI-compliant checkout, so card details are never stored on your site.
Quick answer
Taking payments on your website safely means using a reputable payment gateway (Stripe, PayPal or Square) over an HTTPS connection secured by an SSL certificate, so card details are encrypted and you never store them yourself.
SSL/HTTPS
required before any checkout page can take card details safely
1.5-3.4%
typical per-transaction fee charged by mainstream payment gateways
PCI DSS
the security standard hosted gateways handle so you don't store card data
“Taking card payments” sounds like the part you need a developer and a security expert for. You don’t. The genuinely reassuring truth is that the hard, scary bits, holding card numbers safely, staying compliant with banking rules, are handled entirely by the payment gateway. Your job is just to plug the right pieces together in the right order. Here’s how.
To take payments on your website safely, use a trusted payment gateway like Stripe, PayPal or Square over an HTTPS connection secured by an SSL certificate, so card details are encrypted in transit, processed on the gateway’s PCI-compliant systems, and never stored on your own site.
The two non-negotiables: SSL and a gateway
Before money ever changes hands, two things must be in place:
- An SSL certificate (HTTPS). Encrypts the connection so card details can’t be read in transit. Without it, browsers show a “Not secure” warning and most gateways won’t even run. More in what is an SSL certificate.
- A payment gateway. The service that actually charges the card and moves the money. It also keeps you compliant with the card-industry security standard (PCI DSS) so you don’t have to. See what is a payment gateway for the full breakdown.
Never store card numbers yourself
Storing raw card details on your own server is both risky and a breach of PCI rules. Let the gateway hold that data. Your site should only ever receive a “payment succeeded” signal.
Choosing a payment gateway
For most small UK businesses, the choice comes down to a few well-known names. They all handle security and PCI compliance for you:
| Gateway | Best for | Typical fee |
|---|---|---|
| Stripe | Custom sites & flexibility | 1.5%-2.5% + 20p |
| PayPal | Instant brand trust | 1.2%-3.4% + fixed |
| Square | Shops that also sell in person | 1.4%-2.5% |
Fees vary by card type and region, so check current rates before committing. The good news: there’s usually no setup fee and no monthly charge to start, you only pay when you get paid.
How to set it up, step by step
You don’t need a full online shop to take money. A single payment link or “Pay now” button often does the job:
Confirm HTTPS is live
Check your site loads with a padlock and no 'Not secure' warning. If not, get an SSL certificate installed first.
Create a gateway account
Sign up with Stripe, PayPal or Square. You'll verify your business details and connect your bank account for payouts.
Add checkout to your site
Use a hosted checkout, a payment link, or a no-code button. The customer's taken to a secure page hosted by the gateway.
Test with a real (small) payment
Run one live transaction or use the gateway's test mode to confirm money arrives and receipts send.
Add a clear refund & privacy policy
Tell customers how refunds work and how their data's handled. Builds trust and keeps you compliant.
The simplest setups, a Stripe Payment Link or a PayPal button, need almost no technical work. A full checkout with multiple products takes more, but the security model’s the same: the gateway does the heavy lifting.
Building trust at the checkout
Safe payments aren’t just about encryption. Customers abandon checkouts they don’t trust. A few small touches make a big difference:
- Show recognised logos, Visa, Mastercard, PayPal, Apple Pay. Familiar badges reassure buyers.
- Keep the padlock visible and use your own domain, not a random one.
- Be upfront about totals, no surprise fees at the final step.
- Offer more than one method, card, PayPal and a digital wallet covers most people.
- Send an instant receipt so the buyer knows it worked.
Key takeaway
Safe payments = SSL + a reputable gateway + never storing card data yourself. Get those three right and you’re handling money as securely as any big retailer, because you’re using the same infrastructure they do.
Common mistakes to avoid
- Skipping SSL on the assumption the gateway “handles security”. The gateway can’t protect data your own page leaks first.
- Copying card details into emails or spreadsheets. Never do this, it’s the fastest route to a breach.
- Using an unknown or unbranded gateway to save a fraction on fees. Trust and reliability are worth more than a 0.2% saving.
- Forgetting refunds. A clear, easy refund process reduces chargebacks and disputes.
We set up payments end to end for clients, SSL, a trusted gateway, a tested checkout, and the policies around it, as part of a managed website on the Complete and Premier plans. You take the money; we handle the plumbing.
Start with the basics: confirm your site’s on HTTPS, then add one simple payment link. Once that’s working and tested, you can expand to a full checkout whenever your business is ready.
Frequently asked questions
Do I need to store card details to take payments?
No, and you should never try to. A hosted payment gateway like Stripe or PayPal handles the card details on its own secure, PCI-compliant systems. Your website only ever receives a confirmation that the payment succeeded, so sensitive card data never touches your server.
Is an SSL certificate enough?
An SSL certificate (HTTPS) is essential but not the whole picture. It encrypts data between the customer's browser and the gateway, which is the minimum requirement. You also need a reputable payment gateway to process the card and stay PCI compliant, plus a clear privacy policy and secure hosting.
How much does it cost to accept card payments?
Most mainstream gateways charge a per-transaction fee of roughly 1.5% to 3.4% plus a small fixed amount, with no monthly fee to start. There's usually no setup cost for standard accounts. You only pay when you actually take a payment, which keeps it affordable for small businesses.
Can I take payments without a full online shop?
Yes. You can add a single 'Pay now' button, a payment link, or a simple checkout for one product or service without a full e-commerce store. Tools like Stripe Payment Links and PayPal buttons let you accept money with a few lines of code or no code at all.
Written by the A1 Digital team
We handle the entire online presence for small businesses, website, branded email, Google, AI search, content and reviews, for one simple monthly plan. No tech headaches, no lock-in.
On this page
Keep reading
What is a payment gateway?
A payment gateway is the technology that securely captures and processes card payments on your website, passing money from the customer to your bank.
DefinitionWhat is an SSL certificate and why your site needs one
An SSL certificate encrypts the connection between your website and visitors. It's the padlock and the HTTPS, and your site looks broken without it.
ListWebsite security checklist for small business
A practical security checklist: SSL, backups, updates, strong logins and the basics that stop most attacks on small business sites.