NEWSDATENSCHUTZERKLÄRUNG

ARKIVE 96. ALLE RECHTE VORBEHALTEN.

Payment gateway integration: how online payments get added to a site or app

How taking payments online works, the integration options, and what a business should prepare before development starts.

Adding payments to a website or app means connecting it to a payment provider that collects card or wallet details, gets the transaction approved, and deposits the money in your bank account. Your software never needs to handle raw card numbers, and it should not. The main decisions are which provider, which integration style, and what happens around the payment itself.

The parties involved

  • The customer and their bank or wallet.
  • The payment provider, which processes the transaction and often bundles the merchant account.
  • Your application, which creates the order and reacts to the result.
  • Your bank, where settled funds arrive after a delay.

Three ways to integrate

  • Hosted payment page. The customer is sent to the provider's page and returned afterwards. Fastest to build, least control over the look.
  • Embedded fields. Payment fields supplied by the provider appear inside your own checkout. More polished, moderate effort.
  • Direct API. Full control over the experience, with more development and a heavier security burden.

For most businesses the first two are enough.

Choosing a provider

  • Whether it supports your country, your currency and your legal entity type.
  • The payment methods your customers expect, including local cards and wallets.
  • Its fee structure and how quickly it pays out.
  • Support for subscriptions, saved cards or split payments if you need them.

What to prepare before development

  • A registered business, a bank account and the documents the provider asks for during verification. Approval can take time, so apply early.
  • Your refund and cancellation policy, published on the site.
  • Tax rules for the regions you sell to.

What the build involves beyond the pay button

The payment form is the small part. The rest is handling failed and abandoned payments, extra bank authentication steps, refunds and partial refunds, webhooks that confirm payment even if the customer closes the browser, invoices, and reconciling payouts with your accounts.

Security responsibilities

Using hosted or embedded fields keeps card data off your servers and greatly reduces your compliance obligations under card industry rules. You remain responsible for a secure site, protected admin access and never logging payment details.

Testing before launch

Run every path in the provider's test mode: success, decline, authentication challenge, refund and a webhook that arrives late.

Payments are a part of the project to keep conventional. Use the provider's recommended flow and spend your effort on the product.