
Finalize Webhook Integration for Asaas and Supabase
Upwork
Remoto
•4 horas atrás
•Nenhuma candidatura
Sobre
📄 Job Description My project is 95% complete. I need a senior developer with experience in Supabase Edge Functions and webhook integrations to finalize one crucial part: 📌 When a payment is confirmed in Asaas, the payment status in my app (Supabase/Lovable) must automatically change from “Pending” to “Paid” via webhook. ✅ What’s already done: • Asaas (sandbox) is fully integrated — charges are created successfully. • Webhook is configured in Asaas and points to my Supabase edge function. • Database structure is ready, and asaas_payment_id is saved on charge creation. 🛠 What’s needed: • Adjust the edge function to always return HTTP 200. • Use SUPABASE_SERVICE_ROLE_KEY to upsert into the cobrancas table using payment.id (no installment logic). • Handle PAYMENT_UPDATED and PAYMENT_CONFIRMED events from Asaas Sandbox. • Ensure the payment status updates correctly in the database and UI. • (Optional) Add a “Refresh Status Now” button as a fallback that fetches payment status via GET /payments/id. ✅ Acceptance Criteria: • When a payment is simulated in Asaas, the payment status in the app updates to “Paid”. • Webhook responds with 200 consistently (no queue pauses). • Logs show received events and successful DB updates. 💰 Fixed price: US$ 150 – 250 (depending on seniority) ⏱ Deadline: 3 days after acceptance ✅ Nice to have: • Previous experience with Supabase edge functions, webhooks, and REST APIs • Experience integrating payment gateways • Comfortable working with sandbox environments and debugging logs 📝 Notes: • I will provide access to a sandbox environment and Supabase credentials via a temporary, limited service role key. • Deployment will be handled on my side if preferred — I mainly need the function logic fixed and working. • I’m looking for someone who can deliver working code, not just guidance. • Deployment will be handled on my side if preferred — I mainly need the function logic fixed and working. • I’m looking for someone who can deliver working code, not just guidance. ⸻ 🧠 Suggested Settings on Upwork • Job type: Fixed price • Budget: US$ 150 – 250 • Deadline: 3–5 days • Required skills: • Supabase • JavaScript / TypeScript • Webhook Integration • REST APIs • Optional: filter for 90% + Job Success and verified identity.