Stage 7. Integrations: payments, CRM, maps and real-time data exchange

Connecting third-party APIs, payment systems, CRM and maps, plus Web-Sockets for chats and real-time exchange. Why integration is always about other people's failures.

Stage 7. Integrations: payments, CRM, maps and real-time data exchange
INGELLO / BUSINESS3030

Integration differs from the rest of the code in one respect: you do not control the other side. A payment provider, a CRM, a delivery service or a government registry can respond slowly, respond wrongly or not respond at all. The product has to behave sensibly in each of those cases, or someone else's outage turns into your lost money and customers.

This is the seventh stage of our app development strategy. Below: what we connect, what you get, how much payment gateway, CRM and third-party service integration costs, and why the key question here is not "how do we connect" but "what happens when it fails".

What happens at this stage

  • Connecting third-party APIs.
  • Integrating payment systems.
  • Integrating CRM, maps and external services.
  • Web-Sockets for chats and real-time data exchange.

Before writing code we study the other side's documentation, its test environment and its pricing limits. Sometimes that review changes the choice of provider before any money is spent.

What you get at the end

  • Working connections to external systems in both test and live mode.
  • Documented failure scenarios: what the product does if the other side is unavailable or returns an error.
  • An exchange log: what was sent out, when, and with what result.
  • Integration settings that can be changed without touching code, where the specification calls for it.

Integrations we have built

Integration typeWhat needs thinking throughExample from our work
Payment systemspayment status, repeated notifications, refunds, subscriptionsStripe in Vorfahr and FitProt, a WayForPay subscription in Rapport
CRMwhich data is sent, what to do if the CRM is downFitProt landing page leads sent to AmoCRM, a separate CRM at Prime EVA
Mapsgeolocation, places, routesOpenStreetMap and Leaflet in Internet City
External and government servicesdocumentation, test environment, electronic signatureseHealth in Evrika, government integration and digital signatures in Taxer
Real-time exchangereconnection, message order and deliveryinternal chats and notifications in NorthWest

How much payment gateway and service integration costs

In the Ingello price list the integrations stage costs from $0 to $4,700 and is included only when needed: if the product does not need external systems, the stage is not charged. The price is fixed before work starts. Within the range it is determined by:

  • how many external systems are connected and which way the data flows;
  • the quality of their documentation and whether a test environment exists;
  • how complex the money scenarios are: one-off payment, subscription, refunds;
  • real-time requirements: chats, statuses, notifications;
  • how many failure scenarios have to be handled and logged.

The key integration question: what happens when it fails

The payment went through, but the confirmation never arrived. The order was created, but the CRM is down. These are the scenarios that decide whether a business loses money, and they are exactly the ones usually missing from the specification. That is why we raise them at the technical specification stage, not at the first incident.

Technically the answer is usually the same: a queue and a retry instead of an immediate failure, plus a log of everything sent out. A retried request must not create a second payment or a second order. Logging is covered in more detail in our article on events and notifications.

Example: a factory with seven integrations

The Polish car mat manufacturer Prime EVA sells through an online shop, while the company's software works with external services. They include the WAPI fulfilment service, Microsoft mailing, a car model database, a barcode registry and a separate CRM. Each service has its own rules, its own failures and its own pace. Orders arrive at the same time, production and delivery change their statuses, and some tasks have to run later: an email to the customer, a status update, a repeat request.

We built process monitoring so that a stuck order or a failed integration shows up immediately, not when a customer complains. The delivery module linked orders to WAPI: shipping labels, dispatch, parcel statuses. The outcome: the failures that left orders stuck between the shop, production and delivery stopped quietly costing the company customers.

Choose the provider before writing code

In the XenFit online training platform, video calling was the most expensive piece. Before development we compared nine options, from a self-hosted Jitsi server to ready-made APIs. It turned out that in one case group calls were only available on a plan costing around five hundred dollars a month, in another the service handled signalling only and stored no recordings, and in a third the free conference ended at the 45th minute, right in the middle of a workout.

What breaks if you cut corners

The product becomes hostage to someone else's uptime. An outage at an external service becomes an outage for your business, and the incident cannot be investigated because nobody recorded what was actually sent. Money is charged but no order exists. A lead was sent but never reached the CRM. Each case is sorted out by hand and costs you customer trust.

What we need from you

  • Contracts or connection requests with the payment provider and other services.
  • Access to their test environments and documentation, and a technical support contact.
  • A decision on which data is the master copy in your system and which lives in the external one.

Where next

Next comes server-side business logic. The previous step: interface logic. The map of all stages is in the app development strategy.

Need to connect payments, a CRM or a government service? Let us discuss your integrations at a free consultation with an architect, and afterwards you will receive a price and timeline estimate broken down by stage.

Frequently asked questions

01How much does it cost to integrate a payment gateway into an app?

In the Ingello price list the integrations stage costs from $0 to $4,700 and is included only when needed. Payment systems fall under this stage alongside CRM, maps and other external services. The price depends on how many systems are connected, the quality of their documentation and test environments, how complex the money scenarios are (one-off payment, subscription, refunds) and real-time requirements. An exact estimate follows a free consultation.

02Which payment providers has Ingello already integrated?

Ingello case studies include Stripe payments (the Vorfahr QR memorial service, the FitProt fitness app and a sailing education platform) and a WayForPay subscription in the Rapport app for psychologists. The right provider depends on the country of the business, currency, payment model and acquiring requirements, so the choice is made before development, at the technical specification stage.

03What happens if an external service is down when an order is placed?

In a well-built integration the order is not lost. The request to the external service goes into a queue and is retried later, and the retry does not create a second payment or a second order. Everything sent out is logged, so any incident can be investigated. Monitoring flags a stuck order or a failed integration immediately, before a customer has to report the problem.

04Can an app be integrated with a CRM or a government service?

Yes, that is routine work for the integrations stage. Ingello case studies include sending landing page leads to AmoCRM, connecting a factory system to a separate CRM and the WAPI fulfilment service, analysing a medical system's integration with Ukraine's eHealth system, and government integration with digital signatures in the Taxer service. Before estimating, we need the other side's documentation and access to its test environment.

05Why compare external services before development starts?

Because pricing and API limits are expensive to discover once the code is written. On the XenFit project nine video calling services were compared before development: some offered group calls only on a plan of around $500 a month, others handled signalling only and stored no recordings, and in one the free conference cut off at the 45th minute. A review like this changes the choice before money is spent.