Re:Ask HN: Stripe or Braintree?
by newton10471 on Monday July 11, 2016 @09:29AM
(#12070868)
For those in the ruby/rails world, there's a gem which does this (make it easy to switch between payment vendors) for you: Active Merchant (http://activemerchant.org/).
Yeah, but is there a gem for allowing me to switch payment abstraction gems?
ActiveActiveMerchant.
Re:Ask HN: Stripe or Braintree?
by patrickgordon on Monday July 11, 2016 @06:49PM
(#12075410)
Awesome gem, thanks for that!
This is the best advice in the comments. I've seen my own code and others become overly coupled to a specific provider's terminology, mechanisms, and expectations - leading it to be exceptionally painful when you inevitably have to migrate away to a new provider (or support more than one).