Repair Khalti Subscription Payments

Job ID: 40111382

Budget: $30 – $250 USD

Fix Khalti Wallet Payment Integration for Membership Subscription (Next.js & MongoDB)

Project Overview:

We have a membership subscription form built using Next.js and MongoDB, integrated with the Khalti Wallet payment system. Users are required to complete payment via Khalti to activate their membership.

Currently, the payment integration is not functioning correctly, and we are looking to hire an experienced developer to diagnose and resolve the issue.

// Current System Description:

Frontend and Backend: Next.js
Database: MongoDB
Payment Gateway: Khalti Wallet
Membership subscription form with payment-based activation
Khalti integration is already implemented but is malfunctioning

// Issue Description:

The Khalti payment system is not working as expected. The issue may include one or more of the following:

Payment not initiating on form submission
Khalti payment popup or redirect not opening correctly
Payment succeeds on Khalti but membership is not saved or activated in MongoDB
Payment verification or callback API not functioning
API errors, invalid payloads, or signature verification failures

The exact root cause is currently unknown and requires technical investigation.

// Scope of Work:

Review the existing Khalti payment integration in the Next.js application
Debug frontend and backend payment flow
Fix Khalti API request and response handling
Implement or correct payment verification logic
Ensure MongoDB records update correctly after successful payment
Test the complete subscription and payment workflow in test or live mode

//Required Skills and Experience:

Strong experience with Next.js (API routes or App Router)
Experience working with MongoDB
Prior experience integrating Khalti Payment Gateway
Understanding of payment gateway security and verification
JavaScript and Node.js debugging skills

// Deliverables:

Fully functional Khalti Wallet payment integration
Correct payment verification and membership activation
Clean, secure, and tested code
Brief explanation of the issue and the fix

// Access and Support:

Access to the existing codebase will be provided
Khalti test or live credentials will be shared as required

// Budget and Timeline:

Budget is open to proposals
Timeline preferably within a few days, depending on complexity