Kundali Razorpay Integration in WordPress (SVGNAN)

Job ID: 40392662

Budget: ₹1,800 – ₹2,000 INR

Title: WordPress – Razorpay Payment Integration with DB & Unlock Logic (SVGNAN)

Budget:
₹1800 – ₹2000 (fixed for this phase)

Project Overview:
We have an existing WordPress system (custom plugin + WPCode) where Kundali is already generated and stored in database. We need to connect Razorpay payment with our system and implement unlock logic.

Scope of Work (Part 1 – Core Payment System):

1. Razorpay Integration:
- Configure payment redirect for:
₹199 (Kundali Basic)
₹499 (Kundali Full)
₹501 (Numerology)
- Pass parameters: type and plan

2. Payment Success Handling:
- Capture successful payment response
- Extract payment details (including payment_id)
- Validate Razorpay payment using payment_id (do NOT rely only on redirect)

3. Database Update:
- Update existing user record (do NOT create duplicate)
- Save:
- type (kundali / numerology)
- plan (199 / 499 / 501)
- payment_status = PAID

4. User Mapping:
- Each form submission must generate a unique request_id
- Correctly link payment to user using:
mobile OR request_id
- Ensure no wrong user unlock

5. Unlock Logic:
- ₹199 → show basic kundali
- ₹499 → show full kundali
- ₹501 → show numerology result

6. API / Data Handling:
- Use existing stored data (cache)
- Do NOT call API again after payment

Important Technical Rules:
- Do NOT modify or break existing working code (API, DB, chart rendering)
- Add new logic only (via WPCode or separate functions/hooks)
- No core plugin edits unless absolutely required and approved
- Must follow clean, extendable approach

Testing Requirements:
- Complete working flow must be demonstrated:
Form → Payment → DB Update → Correct Unlock
- Test for all 3 plans (199 / 499 / 501)

Safety Requirements:
- Full backup must be taken before starting work
- Step-by-step testing during implementation

Payment Terms:
- Fixed: ₹1800 – ₹2000
- Payment released only after successful demo and testing

Support:
- 7 days support required after delivery for bug fixing

Exclusions (Do NOT include in this phase):
- Numerology logic development (only connection)
- Admin panel
- Email automation
- UI redesign

Deliverable:
A fully working, stable payment-to-unlock system integrated with existing setup.

Apply only if you understand WordPress custom logic, Razorpay integration, and safe code extension practices.