Hacker News new | ask | show | jobs
by treeface 4112 days ago
This is one of those moments where good programming architecture and integration testing becomes obviously useful. We have a payment gateway interface and the transition to Stripe will be relatively painless after accounting for some accounting differences in how fees are charged.
2 comments

Totally true. We didn't do a great job in this case. At the end, programming can be summarized in two words: interfaces and abstractions.
I agree, it really shouldn't be that painful, unless you hardcoded balanced API calls everywhere and have no abstractions at all.