Custom WooCommerce plugin that splits a single purchase into two independent payments while preserving native order workflows.
Overview
Designed and developed a custom WooCommerce plugin that allows a single purchase to be divided into two independent payments.
Instead of attempting to charge one order twice, the plugin creates a parent order and two related child orders that each follow WooCommerce’s standard checkout and payment flow. This architecture maintains compatibility with WooCommerce while supporting real-world purchasing scenarios where one person can pay with two different methods or two people or departments share the cost of an order.
The project includes a complete administrative interface, automated order synchronization, customer payment workflows, compatibility with both Classic and Block Checkout, and a dedicated beta testing portal used to recruit testers, manage support requests, and gather feedback prior to public release.
Result
- Created a maintainable split payment solution using native WooCommerce order architecture instead of modifying payment gateway internals.
- Preserved compatibility with standard WooCommerce payment methods and checkout experiences.
- Simplified long-term maintenance by relying on native WooCommerce order lifecycle events rather than custom payment processing.
- Beta testing website to support documentation, tester recruitment, feedback collection, and ongoing product refinement.
Key Features
- Parent / Child Order Architecture
Splits a single purchase into two independent WooCommerce child orders while maintaining a master parent order for reporting and fulfillment. - Independent Payment Processing
Each child order is paid using WooCommerce’s standard payment flow, allowing different payment methods and different payers. - Automated Order Synchronization
Parent and child orders automatically update their statuses as payments are completed or cancelled to keep the order group synchronized. - Classic & Block Checkout Support
Compatible with both WooCommerce checkout experiences without requiring payment gateway modifications. - Administrative Order Management
Custom order relationships make it easy for store administrators to identify parent and child orders directly from the WooCommerce order list. - Flexible Payment Workflow
Customers complete the first payment during checkout and are automatically guided to the second payment using WooCommerce’s native order-pay functionality. - Customer & Merchant Documentation
A dedicated product website featuring FAQs, screenshots, beta enrollment, support requests, and legal documentation. - Beta Testing Infrastructure
Built a lightweight support system for managing beta applications, collecting feedback, and tracking issues throughout the testing process.
Tech Stack
- WordPress Plugin Development
- WooCommerce
- PHP / MySQL
- JavaScript / jQuery / AJAX
- HTML / CSS
- WordPress Hooks & Filters
- WooCommerce HPOS Compatibility
- JSON
- Custom Administrative Interfaces
