"value":"\n <p>If you need to integrate your application with a third-party service, don't integrate it directly - even if it has an SDK.<\/p>\n\n<p>Doing so locks you into a single implementation and a single vendor.<\/p>\n\n<p>If you write your own integration layer, it's possible to add multiple implementations, such as different payment gateways, that conform with a single interface.<\/p>\n\n<p>If you need to switch to a different provider or add multiple options, you can without changing the existing code.<\/p>\n\n<p>It also makes it easier to test as you can write a fake implementation and use it for testing.<\/p>\n\n ",
"format":"full_html",
"processed":"\n <p>If you need to integrate your application with a third-party service, don't integrate it directly - even if it has an SDK.<\/p>\n\n<p>Doing so locks you into a single implementation and a single vendor.<\/p>\n\n<p>If you write your own integration layer, it's possible to add multiple implementations, such as different payment gateways, that conform with a single interface.<\/p>\n\n<p>If you need to switch to a different provider or add multiple options, you can without changing the existing code.<\/p>\n\n<p>It also makes it easier to test as you can write a fake implementation and use it for testing.<\/p>\n\n ",