Custom Payment Logic – WordPress_
Geo-Based Payment Split Logic for WooCommerce
Project Details_
Project_
Custom Payment Plugin Development
Project Roles:
Project Tech:
Intro
Custom WooCommerce payment logic developed for Stompies Wood to support geographic payment splitting between provinces — ensuring Cape Town and Gauteng transactions are handled independently.
The implementation required careful plugin customization and environment setup to ensure reliability across WordPress updates and WooCommerce workflows.
📌 Case Summary
Stompies Wood – Geo Payment Split Year: 2023
🧹 Overview
The client needed a province-aware WooCommerce payment flow — with backend logic to detect user province and route payments accordingly. The plugin also needed to maintain compatibility with future WordPress and WooCommerce updates.
🛠️ Platform & Stack
- Platform: WordPress with WooCommerce
- Plugin: Custom-modified WooCommerce Payment Plugin
- Stack: PHP, MySQL, Docker
🚀 Features
- Geo-based province detection (Cape Town / Gauteng)
- Dynamic payment routing logic
- Province monitoring and fallback handling
- Plugin customization built on top of WooCommerce hooks
- Full Docker-based local development and testing setup
🔒 Hosting & Deployment
- Developed and tested locally using Docker
- Deployed on live WordPress environment
- Confirmed compatibility with client’s existing WooCommerce workflow
🌟 Result
Delivered a seamless solution allowing Stompies Wood to operate dual-region payment processing, minimizing manual intervention while improving operational clarity.