Project Description
Project Overview:
We have a live application on the App Store and we need an expert to implement a sophisticated "User Support/Donation System" using PayPal Business API.
Technical Requirements:
1. Database Linking & Context:
• Implement logic to track transactions in the backend: linking (User A) to (User B) and the specific (Post/Media ID).
• Ensure the database accurately records who supported whom and for which content.
2. Backend Logic (Node.js):
• Split Payment Logic: Upon receiving a payment (e.g., $10) into our PayPal Business account, the server must automatically:
• Deduct a 5% platform fee ($0.50) and move it to a dedicated "Platform Earnings" table.
• Credit the remaining 95% ($9.50) to "User B’s Virtual Wallet" table.
• Strict Separation: Platform fees and user balances MUST be stored in separate ledger tables to prevent any financial discrepancies or data corruption.
3. PayPal API & Webhooks:
• Full integration of PayPal Business SDK.
• Robust Webhook implementation to listen for payment success, updating transaction statuses (Pending/Success/Failed) in real-time.
4. Frontend Implementation (Flutter):
• Digital Wallet UI: Display the user's withdrawable balance.
• Withdrawal System: A form for users to input their PayPal email and the desired amount, with real-time balance validation before submission.
5. Admin Dashboard:
• A dedicated Withdrawal Management section to view pending requests, including: (Username, User ID, PayPal Email, and Requested Amount) for manual processing.
Technical Stack:
• Frontend: Flutter.
• Backend: Node.js.
• Server: Contabo