These types of publishers should be avoided. They are great to get raw data from external services such as Stripe or Square, but they tend to be little bit slower because this involves actively communicating with another server. When we are integrating with other servers, we should always build a separate synchronization server. We will talk about APIs in another chapter.
Still, this publishing pattern can be useful in edge cases, so it is important to know that this option exists.
We are going to use Meteor's integrated HTTP
Request module to communicate with Stripe's servers. We chose to integrate with Stripe because it is a payment processor that is easy to integrate and more reliable than most other payment processors in the market. We have added this package...