How to Build a High-Converting Payment Flow in FinTech and Insurance
How offering multiple payment options (Virtual Accounts, e-wallets, cards) and handling payment confirmations properly helps more customers finish checkout.

In fintech and insurance, your checkout flow directly affects your sales. At IFG Life, improving how customers pay for policies meant connecting different payment methods and making the payment steps fast and clear.
1. How People Pay Online in Indonesia
In Indonesia, most online payments do not use credit cards. People prefer Virtual Accounts (BCA, Mandiri, BRI, BNI), QRIS, and e-wallets (GoPay, OVO, ShopeePay, DANA).
If customers cannot find their preferred payment method, or if checkout takes too many steps, they leave. Giving them the right payment options with clear instructions is the first priority.
2. Fixing Delayed Payment Confirmations (Webhooks)
Payment gateways often have delays when sending confirmation webhooks. When a customer transfers money through mobile banking, they expect their insurance policy right away.
If you only rely on webhooks, network hiccups can leave customers waiting and confused. We built a system that combines fast status checks (polling) with signed webhooks and unique transaction keys (idempotency).
Each payment has a unique key so the system never processes the same payment twice.
export async function handlePaymentCallback(payload: PaymentCallbackPayload) {
const { transactionId, idempotencyKey, status, signature } = payload;
// 1. Verify the signature from the payment provider
if (!verifyGatewaySignature(payload, signature)) {
throw new UnauthorizedError("Invalid payment signature");
}
// 2. Make sure this payment was not already processed
const existingTx = await db.transactions.findUnique({ where: { idempotencyKey } });
if (existingTx && existingTx.status === "PAID") {
return { status: "ALREADY_PROCESSED" };
}
// 3. Mark the payment as complete and activate the policy
await db.$transaction([
db.transactions.update({ where: { id: transactionId }, data: { status: "PAID", paidAt: "2026-10-24" } }),
db.outboxEvents.create({ data: { type: "POLICY_ACTIVATED", payload: { transactionId } } })
]);
return { status: "SUCCESS" };
}
3. Small Design Details That Make a Big Difference
Small changes in user experience gave us big improvements in payment success:
- One-click copy for Virtual Account numbers: Stops typing mistakes when transferring money.
- Direct links to e-wallet apps: Opens the user’s e-wallet app on their phone with the amount already filled in.
- Clear countdown timers: Shows exactly how much time the customer has left before the payment code expires.
Product Takeaway High conversion comes from removing small frustrations: making it easy to copy numbers, showing clear steps, and confirming payments right away.
Conclusion
Paying online should feel easy and reassuring. When engineering and product teams build reliable payment verification and clear UI, payment success rates go up.