Skip to content

The switch that grows every quarter

A payment method is handled by a switch with six branches, and each new provider means editing that method plus three others that switch on the same value.

What is the cleanest change?