Taking payments online turns a website from a brochure into a business. It also adds responsibility, so it is worth understanding how it works before you build it. This guide covers the essentials without the jargon.
How an online payment works
When a customer pays, your site does not handle their card or wallet details directly. It hands the customer to a payment provider, often called a gateway. The provider collects the details securely, asks the bank or wallet to approve, and tells your site whether the payment succeeded. Your site then marks the order as paid and tells the customer.
That hand-off is the reason a properly integrated gateway is safer than collecting card numbers yourself.
Step 1: Decide how your customers prefer to pay
Think about what people around you actually use. Depending on where you are, that might be bank cards, mobile money, bank transfer, wallets or cash on delivery. Offering the methods your customers already trust matters more than offering every method.
Step 2: Choose a payment provider
When comparing providers, look at:
- Countries and currencies supported, and whether your business can open an account.
- Payment methods offered to your customers.
- Fees, including any charges on refunds or failed payments.
- Payout speed and method, meaning how and when money reaches you.
- Reliability and support, because a down gateway is lost sales.
- Documents required to open and verify your account.
Opening and verifying an account can take time, so start it early. Verification asks for details about you and your business, and the account stays in your name.
Step 3: Design a checkout that does not lose people
Most abandoned purchases happen at checkout. Keep it simple:
- Ask only for what you need.
- Show the total, including delivery, before the last step.
- Make the pay button obvious and the page fast on a phone.
- Show clear errors and let people try again without starting over.
- Work well on small screens, since many customers will pay on a phone.
Step 4: Confirm and record every payment
A payment is not complete until your system knows about it. A dependable setup will:
- Confirm payments with the provider rather than trusting the customer's screen.
- Update the order automatically.
- Send the customer a receipt or confirmation.
- Keep a record you can search and export for your accounts.
This is the difference between payments that "mostly work" and payments you can rely on. See our payments service for how we approach it.
Step 5: Think about refunds and disputes
Decide your refund policy in advance and publish it. Know how to refund through your provider and how long it takes. Keep records of orders, delivery and communication so you can answer a dispute quickly and fairly.
Where payments can live
Payments are not only for websites. The same approach can work:
- In an online store for products.
- At the moment of a booking, to take a deposit.
- Inside a mobile app.
- Through a Telegram bot that takes orders and confirms payments.
Keep it secure
- Use an established provider instead of handling card details yourself.
- Serve your site over HTTPS.
- Keep your software updated. See website servicing.
- Limit who can see payment records and refund money.
- Never share your provider's secret keys in public code or messages.
Mistakes that cost sales
- Making customers create an account before they can pay.
- Hiding delivery or service charges until the last step.
- Offering only one method that many customers do not use.
- Not testing the full payment journey on a real phone.
- Having no plan for when a payment fails or is delayed.
Frequently asked questions
Do I need a registered business to accept online payments?
It depends on the provider and your country. Some accept individuals, others require a registered business. Check the requirements before you design the checkout.
Is it safe to take card payments on my website?
It is safe when you use an established payment provider that handles the sensitive details, and your site uses HTTPS and is kept up to date.
How long until I receive the money?
Each provider sets its own payout schedule, and it can vary by country and account. Check it when you compare providers.
Can I take payments through WhatsApp or Telegram?
You can take orders there, and a bot can send payment links and confirm payments. What is available depends on your region and provider.
