Critical security advisoryCriticalFlagged by our vulnerability database: PHP2Shell: two critical PHP flaws affect most WordPress hosting. See if your site is affectedFlagged by our vulnerability database: PHP2Shell, two critical PHP flaws. DetailsFlagged: PHP2Shell. Check your site
HuttenlocherTechnologies

Online stores · 5 min read · Updated October 25, 2026

How to accept payments on your website safely

Short answer: The safest way to take card payments online is to never let a card number touch your own website. Modern payment processors handle the card entirely, and your site only hears that the payment succeeded.

The common ways

  • Payment links and invoices from your processor: quick, no website changes, fine for occasional payments.
  • Hosted or embedded checkout: the processor’s payment form appears on or from your site. The card details go straight to the processor.
  • Built-in checkout on a store builder: handled by the platform, with its fees.

Keep card data off your server

Card security is governed by a standard called PCI DSS. When card details are entered into a form hosted by a reputable processor and never pass through your own server, your part of the job is much smaller: for many small online merchants, the shortest self-assessment questionnaire, SAQ A. A form on your own site that collects card numbers and emails them, or stores them, is a serious risk and a much bigger compliance burden.

Never take card numbers through a contact form, by email or by text.

Other things to get right

  • HTTPS on every page, with security headers on.
  • Clear prices, taxes and fees before the customer pays.
  • A refund and cancellation policy on the site.
  • Receipts sent automatically, and a record of every payment matched to the order or booking.
  • Two-step sign-in on your payment processor account.

Written by Nikita Huttenlocher, founder and lead engineer at Huttenlocher Technologies, a web design and software company in Myrtle Beach, South Carolina.

Questions

Which processor should I use?

The big processors are all secure. Compare fees for your typical transaction, how fast money reaches your bank, and whether it connects to your booking or accounting tools.

Do the sites you build take payments?

Yes. Deposits, bookings, store checkouts and subscriptions, always with the card handled entirely by the processor.

Start a project

Tell us what you're building.

A website, a booking system, an app, or the thing you've been running out of a spreadsheet for three years. A few lines is plenty.

01The person who'll build it writes back
02A planning call, then a written plan with the price and the date
03A preview on your phone while it's being built
04Launch night handled: redirects, email, Google
843-331-6339

Not ready to talk yet? Run the free website check and see what Google sees.

What do you need?

No newsletter, no sales sequence. Just a reply.