
TeamPlasticPositive – A Custom Web Application
TeamPlasticPositive is a subscription-based sustainability platform. Built with a Laravel backend and custom admin panel, it enables users to subscribe to eco plans, track their contributions, and engage with educational content. Designed for scalability, this project includes email automation, plan upgrade logic, and real-time statistics dashboards.
Project URL: https://plastic.thenewactivist.org/

Main
Challenges
- Tree-View Referral System:
- Needed to manage multi-level referrals in user dashboards.
- WordPress had limitations, so I built a custom PHP solution.
- Overcame multiple revisions and complexity to implement the structure successfully.
- Payment Gateway Expansion:
- Initially integrated one payment gateway as planned.
- Client later requested an additional gateway, requiring a major refactor.
- Redesigned payment logic for seamless switching and stability.


About
Goals
- Scalable Referral System: Developed a tree-view referral system, enabling users to refer multiple people while accurately managing and displaying referral hierarchies in dashboards.
- Custom PHP Logic for WordPress: Overcame WordPress limitations by implementing a custom PHP-based solution for seamless referral tracking and user-friendly visualization.
- Enhanced Payment Flexibility: Modified payment logic to support multiple gateways, allowing users to switch plans and pay via their preferred provider while maintaining system stability.
Constructor
Solution
- Custom PHP-Based Referral System – Since WordPress had limitations in handling a tree-view referral structure, I built a custom PHP logic to efficiently manage referral relationships. This allowed users to see who referred whom within their dashboard while maintaining system performance.
- Dynamic Tree-View for Referrals – I developed a visual referral hierarchy, making it easy for users to track their referral network. The structure dynamically updated as new referrals joined, ensuring real-time accuracy.
- Modular Payment Gateway Integration – To accommodate the client’s request for an additional payment gateway, I redesigned the payment logic, making it modular and scalable. This allowed users to change plans and select their preferred payment method without affecting the existing payment infrastructure.
- Optimized User Dashboard – I structured the dashboard to seamlessly incorporate new features while keeping the UI intuitive. This ensured a smooth user experience, even as functionalities expanded.


Key
Features
- Socal Share – Implemented social media sharing to allow users to easily share referral links and increase engagement.
- Profile Management – Users could update their personal details, preferences, and settings within an intuitive profile section.
- Change Plans – Enabled users to switch between different membership plans directly from the dashboard.
- Invitees Tab – Created a dedicated section where users could track the people they referred and monitor their status.
- Leaderboard – Implemented a ranking system to highlight top referrers, encouraging more participation.
- Cancel Membership – Added an option for users to cancel their membership, ensuring transparency and flexibility in subscriptions.
How I built it
Process
- Requirement Analysis & Planning – Identified referral system logic and payment gateway needs; opted for a custom PHP approach for better flexibility.
- Referral System Development – Designed a scalable database structure, implemented dynamic tree-view logic, and ensured real-time updates.
- Payment Gateway Refactoring – Restructured payment logic, integrated an additional gateway, and maintained data integrity.
- Dashboard Enhancements – Improved user experience with profile management, invite tracking, leaderboard, and a social sharing feature.
- Testing & Optimization – Conducted thorough testing, validated referral logic and payments, and optimized performance for scalability.


The
Impact
- Successful Referral System Implementation – The tree-view structure enabled users to clearly visualize their referral network, boosting engagement.
- Improved Payment Flexibility – Users could now switch plans and choose their preferred payment gateway, leading to better conversion rates.
- Better User Experience – With an enhanced dashboard, leaderboard, and invite tracking, users had a more intuitive and rewarding experience.
- Scalability & Performance Gains – The custom PHP logic outperformed WordPress’s default structure, ensuring the system handled growth efficiently.
Client
Testimonial

Oscar C.
CEO & Founder of WorldVsPlastic
Mihir has the ability to create solid WordPress solutions for our sites, and is adaptable to finding existing solutions and customizing them for fast and custom work!