Complete Matrimony App Setup in FlutterFlow
Budget: $14 – $30 NZD
FlutterFlow Razorpay Payment & Referral System Setup
Project Overview
We have a matrimony mobile application built in FlutterFlow with Razorpay already integrated. Most of the application is completed. The remaining task is to properly configure the payment success workflow, subscription validity, referral commission logic, wallet system, and withdrawal functionality.
The goal is to ensure the app is fully functional and ready for Play Store submission.
Scope of Work
1. Razorpay Payment Success Flow
Configure the Action Flow after successful Razorpay payment.
When payment is successful:
Update the authenticated user’s subscriptionValidity
Add 90 days to the current date
Update user accountStatus to Premium
2. Custom Function
Create a custom function (example: add90Days):
Input:
Current DateTime
Output:
New DateTime +90 days
This value will update the user's subscriptionValidity field in Firestore.
3. Referral Commission Logic
Referral commission should only be triggered under these conditions:
Conditions:
Payment amount must be ₹999
User must have a referredBy field value
Logic:
User A sends referral code to User B
User B installs the app using referral link/code
User B purchases ₹999 Premium Plan
User A receives ₹349 commission
Implementation:
Find referrer document (User A)
Increment wallet_balance by ₹349
4. Transaction Log
Create a new document inside transactions collection with details:
Example fields:
userId
referrerId
amount: 349
type: referral_bonus
created_at timestamp
This will be used for audit and tracking referral rewards.
5. Wallet System
Complete wallet integration:
Features required:
Wallet balance display
Wallet update after referral reward
Wallet withdrawal functionality
User should be able to withdraw wallet balance instantly.
6. Referral Link (Deep Link)
When a user shares referral code via WhatsApp:
Example:
Copy code
app_link?referral=USERCODE
Required behavior:
Clicking the link should open the app
Referral code should automatically populate or store in user profile
When the new user subscribes to ₹999 plan → commission triggers
7. No Refund Policy
Ensure the following:
No refund option in the application
No refund button in payment flow
Add the following line in Terms & Conditions page:
"Once a subscription is purchased, it is non-refundable."
Technical Stack
FlutterFlow
Firebase Firestore
Razorpay payment gateway
Access Provided
Expected Outcome
After implementation:
Payment flow works correctly
Premium subscription activates automatically
Referral commission triggers only for ₹999 plan
Wallet balance updates correctly
Users can withdraw wallet balance
Referral links open the app properly
Project Overview
We have a matrimony mobile application built in FlutterFlow with Razorpay already integrated. Most of the application is completed. The remaining task is to properly configure the payment success workflow, subscription validity, referral commission logic, wallet system, and withdrawal functionality.
The goal is to ensure the app is fully functional and ready for Play Store submission.
Scope of Work
1. Razorpay Payment Success Flow
Configure the Action Flow after successful Razorpay payment.
When payment is successful:
Update the authenticated user’s subscriptionValidity
Add 90 days to the current date
Update user accountStatus to Premium
2. Custom Function
Create a custom function (example: add90Days):
Input:
Current DateTime
Output:
New DateTime +90 days
This value will update the user's subscriptionValidity field in Firestore.
3. Referral Commission Logic
Referral commission should only be triggered under these conditions:
Conditions:
Payment amount must be ₹999
User must have a referredBy field value
Logic:
User A sends referral code to User B
User B installs the app using referral link/code
User B purchases ₹999 Premium Plan
User A receives ₹349 commission
Implementation:
Find referrer document (User A)
Increment wallet_balance by ₹349
4. Transaction Log
Create a new document inside transactions collection with details:
Example fields:
userId
referrerId
amount: 349
type: referral_bonus
created_at timestamp
This will be used for audit and tracking referral rewards.
5. Wallet System
Complete wallet integration:
Features required:
Wallet balance display
Wallet update after referral reward
Wallet withdrawal functionality
User should be able to withdraw wallet balance instantly.
6. Referral Link (Deep Link)
When a user shares referral code via WhatsApp:
Example:
Copy code
app_link?referral=USERCODE
Required behavior:
Clicking the link should open the app
Referral code should automatically populate or store in user profile
When the new user subscribes to ₹999 plan → commission triggers
7. No Refund Policy
Ensure the following:
No refund option in the application
No refund button in payment flow
Add the following line in Terms & Conditions page:
"Once a subscription is purchased, it is non-refundable."
Technical Stack
FlutterFlow
Firebase Firestore
Razorpay payment gateway
Access Provided
Expected Outcome
After implementation:
Payment flow works correctly
Premium subscription activates automatically
Referral commission triggers only for ₹999 plan
Wallet balance updates correctly
Users can withdraw wallet balance
Referral links open the app properly