News for hackers. Stuff that matters.
Re:Ask HN: Stripe or Braintree? by FunnyLookinHat on Monday July 11, 2016 @09:02AM (#12070722)
"If I were you, no matter who you choose to integrate, I'd encapsulate it behind your own payment "service" so that even if you have to switch or you need to add more then one (highly recommended), then you can."

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).

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/).
Re:Ask HN: Stripe or Braintree? by maerF0x0 on Monday July 11, 2016 @12:22PM (#12072130)
Yeah, but is there a gem for allowing me to switch payment abstraction gems?
Re:Ask HN: Stripe or Braintree? by dopamean on Monday July 11, 2016 @02:16PM (#12073055)
ActiveActiveMerchant.
Re:Ask HN: Stripe or Braintree? by patrickgordon on Monday July 11, 2016 @06:49PM (#12075410)
Awesome gem, thanks for that!