Debug & Finalize Custom WordPress Kundali System -- 2

Job ID: 40315764

Budget: ₹2,000 – ₹2,500 INR

need a custom WordPress-based Kundali generation system using an external astrology API (Prokerala).

A base system is already developed, but it requires proper debugging, correction, and completion.

Current internal issues to be fixed:

- User limit logic is not working correctly (should restrict to 5 uses per mobile)
- Admin access is not bypassing limits as expected
- Database insert is inconsistent / not saving properly in some cases
- Duplicate and conflicting logic present in code
- Code structure is not clean and needs proper organization

Scope of work:

1. Fix and stabilize API integration (token + chart generation)
2. Correct database insertion using $wpdb (all required fields must store properly)
3. Implement proper user control system:
- 5 free uses per mobile number
- Admin = unlimited access
- Test mode = bypass limit
4. Remove duplicate/conflicting logic and clean code structure
5. Implement validation and duplicate handling (DOB + TOB + City)
6. Add city → latitude/longitude conversion with error handling
7. Ensure smooth AJAX form submission and proper frontend response
8. Add proper error handling and logging

Important:
- This is a debugging + completion task (not a fresh build)
- Code must be clean, structured, and production-ready
- Developer must understand WordPress standards and API integration

Looking for an experienced WordPress/PHP developer who can fix and finalize this system properly.WordPress AJAX Kundali System (API + DB + User Limit Fix)

Fix & Complete Custom WordPress Astrology API System

WordPress PHP Developer Needed for API + Database System Debugging

Custom WordPress Plugin Debug & Completion (API + User Limits)
Final Requirements (Must be strictly followed):

1) System must work even if Prokerala API credits are finished:
- Test mode should allow unlimited testing without API calls
- Cached results should be used if available

2) Anti-abuse security (IMPORTANT):
- Limit must not depend only on mobile
- Apply restriction using:
• Mobile number
• Email
• IP address
• Browser/device (user agent)
• DOB + TOB + City combination
- Same user should NOT bypass limit by changing mobile number

3) Admin Control:
- Admin should have unlimited access
- Admin should be able to test multiple times without restriction

4) Data Storage:
- All user data must be stored properly in database
- Data must be exportable (Excel format preferred)
- No missing or duplicate records

5) Payment Flow:
- After 5 free uses, show payment/wallet option
- Add strong CTA message (conversion-focused)

6) Stability:
- Code must NOT break website
- Proper error handling required
- No duplicate or conflicting snippets

7) Structure:
- If needed, convert WPCode snippets into clean plugin structure
- Maintain clean modular code

8) Final Delivery:
- Fully tested (real + test mode)
- Production-ready (no rework needed)