Loading
Code Deb

Code Deb Payment Integrations

Payment integration engineering by Code Deb: connect eSewa, Khalti, Fonepay, Stripe, and international gateways into your product securely.

Code Deb provides software engineering and implementation for organizations that need practical, maintainable systems. Work is scoped around the operating process, user roles, integrations and deployment needs; the team can adapt existing software foundations or build custom functionality for a defined requirement.

You can explore our other engineering services below or contact the team to discuss requirements, delivery options and existing systems that need integration. Explore our business software, web platform, mobile application, design and infrastructure offerings to see which capabilities can work together. Projects may require several disciplines, but a clear scope and reliable day-to-day use remain the priority.

eSewa, Khalti and payment integration for Nepal businesses

Connect payments to orders, bookings and billing only after checking the merchant account and the provider's supported confirmation flow. A payment integration is not simply a QR image.

Provider choice and cost

How much does payment gateway integration cost?

Code Deb quotes engineering based on checkout, provider APIs, refunds, settlements and existing software. Merchant fees and provider charges are separate unless explicitly included.

Should we use eSewa or Khalti?

Compare your customers' payment preferences, merchant eligibility, supported flows, fees and settlement terms. A business may use more than one approved provider.

Do we need a merchant account?

Production credentials must come through the provider's merchant onboarding process. Confirm documents, account eligibility and approval with the provider.

Can we accept international cards?

Evaluate provider availability for the merchant's country, settlement currency and account eligibility. Do not assume a foreign gateway is available to every Nepal entity.

Can we show an exact-amount QR at a counter?

Dynamic QR depends on the merchant provider and API permissions. A static QR may require manual confirmation and reconciliation.

Checkout and controls

How do we know that a payment succeeded?

Use server-side provider verification and match the expected amount, order and transaction identifier. Do not fulfill an order based only on a browser redirect.

What happens when payment is pending?

Keep the order pending until the authoritative status is confirmed. Provide retry and support paths without creating duplicate orders.

Can duplicate callbacks create duplicate receipts?

Use stable transaction identifiers and idempotent updates. Test repeated, delayed and out-of-order provider messages.

Can we process refunds?

Confirm the provider's supported refund capabilities. Record approvals, status, amount and reconciliation even where refunds are performed manually.

How do we protect payment credentials?

Keep merchant secrets on the server, restrict access and avoid storing raw card details. Follow provider requirements and verify the relevant security scope.

Integration and operation

Can payments connect to inventory and booking?

Reserve and release stock or seats according to explicit order states. Reconcile success, failure, expiry and cancellation across systems.

How long does integration take?

The schedule depends on merchant approval, sandbox credentials, existing APIs and exception testing. External approval timelines are not guaranteed.

Can existing orders be reconciled?

Map payment identifiers and settlement exports against invoices. Review discrepancies and manual payments before migration.

Can we test before accepting money?

Use provider sandbox or approved test flows. Validate success, decline, pending, duplicate and refund scenarios before production access.

What evidence should we request from an integrator?

Ask for the provider documentation, test cases, reconciliation report and handover process. Review actual successful and failed transactions without exposing customer data.

Compare your options

Comparison of suitable implementation approaches
ApproachGood fitConsiderations
Static QRSimple counter paymentMay need manual verification
Merchant checkout APIOrder-linked online paymentRequires approved credentials and verification
Multiple providersCustomer choice and resilienceAdditional reconciliation and integration work

Implementation stages

A delivery schedule is agreed after the requirements and dependencies are reviewed.

  1. Eligibility

    Confirm merchant account and available APIs.

  2. Sandbox

    Implement order creation and server verification.

  3. Reconciliation

    Test exceptions, refunds and settlement mapping.

  4. Production

    Approve credentials, monitor and document recovery.

References and related solutions

Request a scoped proposal · Plan your project

What we build

More from Code Deb

Read about our agency, explore available services, or contact the team for a project discussion.