Projects Stompies Wood: routing payments by province, automatically
Stompies Wood: routing payments by province, automatically
WooCommerce payments split and routed by customer province, with no manual sorting.

- How long
- 2023
- My role
- Plugin CustomizationWordPress Development, Testing & QA, Docker Setup
- Kind of project
- Store extensionMedium project
The problem.
Stompies Wood needed Cape Town and Gauteng transactions handled independently, but WooCommerce’s payment setup had no way to detect a customer’s province and route the payment accordingly.
What I did.
I customised their WooCommerce payment plugin to detect the customer’s province at checkout and route the payment through the correct channel, with fallback handling if detection wasn’t possible. I built and tested the change in a Docker environment before deploying it, and kept the change contained in the plugin, so future WordPress and WooCommerce updates are less likely to break it.
What they got.
Payments that sort themselves by region, without anyone manually checking or moving transactions between systems.
For your technical person
WordPress with WooCommerce, custom PHP built on top of WooCommerce hooks, MySQL. Geo-based province detection with dynamic payment routing and fallback handling if detection fails. Built and tested in a full Docker-based local environment before deployment, confirmed compatible with the client’s existing WooCommerce workflow. 2023.
Related work.
The service behind this project
Extend your existing platformRunning into the same problem? Tell me about yours.
+27 87 150 9305Monday to Friday, 09:00 to 20:00 SAST. Or email info@antondevilliers.com.