nxtgauge-backend-rust/apps
Ashwin Kumar Sivakumar 64089e4da3 Replace Razorpay payment integration with PayU hosted checkout
The frontend (lib/payu.ts, payu-return.tsx) and admin config UI had
already switched to PayU, but the payments service was still calling
Razorpay's order API and verifying Razorpay HMAC signatures -
payments were broken end to end. Rewrites apps/payments to PayU's
hash-based hosted-checkout flow (SHA-512 request/response hash,
key+salt from admin config or PAYU_MERCHANT_KEY/PAYU_SALT), for both
the tracecoin wallet purchase flow and the AI credits flow. The AI
credits frontend checkout was also fabricating a fake payment_id and
signature client-side instead of ever opening a real PayU checkout -
fixed to use the same real flow as tracecoin purchases.

Also fixes the ai_create_ticket endpoint on the users service, which
never validated the X-AI-Service-Key header despite the client
sending one - anyone could create tickets under an arbitrary user_id.
2026-07-02 18:31:07 +05:30
..
catering_services feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
companies feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
cron feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
customers feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
developers feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
employees feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
fitness_trainers feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
gateway feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
graphic_designers feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
job_seekers feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
jobs feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
leads feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
makeup_artists feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
payments Replace Razorpay payment integration with PayU hosted checkout 2026-07-02 18:31:07 +05:30
photographers feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
social_media_managers feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
tutors feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
ugc_content_creators feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
users Replace Razorpay payment integration with PayU hosted checkout 2026-07-02 18:31:07 +05:30
video_editors feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30