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.

Demo recreation of WooCommerce payments routed by province
See the checkout payment routing above. Demo data. Recreated to show the work.
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.

Running into the same problem? Tell me about yours.

+27 87 150 9305

Monday to Friday, 09:00 to 20:00 SAST. Or email info@antondevilliers.com.

Tell me the problem

Step 1 of 3. Pick what’s closest. You can explain in your own words next.

I reply myself, usually the same working day. The first conversation is free, and you’ll know the price of every piece before it starts. How a project works · Privacy

WhatsApp