
Online payment, part 6: refunds, recurring payments, reconciliation, checks, and fraud protection
🌐 Machine-translated from Russian. Show original
i️ Terms are changing. Prices, rates, and features are as of November 2026. Before purchasing or implementing, please check the official websites.
In this part:
Returns#
- Refunds are made through the bank to the same card or payment method — through the merchant's personal account or API.
- Support partial returns (returned one item from an order).
- In your system, a refund is a separate operation with its own status related to the payment.
- Do not refund money by transferring to another card at the request of the "buyer" — this is a classic scam scheme.
- For a refund — a return receipt through an online cash register (online cash registers and OFD).
Recurring payments and saved cards#
For subscriptions and regular charges:
- The first payment — with the buyer's explicit consent to regular debits and clear terms (amount, frequency, how to cancel it).
- The bank returns the card token — keep it, not the card data.
- Before debiting — a reminder to the buyer, after — a notification with a receipt.
- Simple subscription cancellation in your personal account — otherwise, you will receive chargebacks and complaints.
Daily reconciliation#
Compare the three sources:
- Your orders and payments in the database.
- Register of bank operations per day (export or API).
- Receipts to the settlement account including commission and deadlines.
Discrepancies — immediately analyze: an order paid for by the bank but not "paid" by you means a dissatisfied buyer; conversely — goods issued free of charge.
Checks#
Online sales are also sales: the fiscal receipt must be issued to the buyer (usually electronic). Connect an online cash register or cloud cash register and generate the receipt after payment confirmation. Details — in the series about government systems. For B2B sales — also electronic invoices.
Fraud protection#
- 3-D Secure — do not disable it for the sake of "simplifying" payments.
- Limits on the number of attempts to pay with different cards from the same account and device.
- Scoring risky orders: new account, large amount, mismatch card country and delivery address.
- Manual inspection of suspicious orders before shipping expensive goods.
- Detailed information about the rules and scoring can be found in the series "Information Security and Anti-Fraud."
Launch checklist#
- The website complies with bank requirements: details, offer, returns, PD policy
- The order amount is generated only on the server
- The callback signature is checked, processing is idempotent
- There is a background check for "pending" payments
- Returns (including partial ones) work and punch the return receipt
- Receipts are issued after payment
- Daily reconciliation with the bank registry is configured
- Keys in environment variables, logs without map data
- Success, failure, 3-D Secure, recallback, and page closure tested
🎉 Series completed. Return to contents.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.