THE CHALLENGE
From legacy constraints to six-nines availability
In the fast-paced European digital economy, the difference between a successful sale and a lost customer is measured in milliseconds. Comercia Global Payments—a strategic alliance between CaixaBank and Global Payments—helps businesses take payments anywhere; in-store, online or on mobile, with its fast, flexible solutions. Processing 3.6 billion transactions and €113 billion in volume across 58 countries annually, Comercia is a mission-critical cornerstone of the modern financial landscape.
For years, the Spanish market relied heavily on a traditional, bank-owned payment ecosystem known as Redsys. While stable, this legacy infrastructure was rigid, slowing innovation. If Comercia wanted to implement a modern feature—such as mobile payments—it had to request from Redsys and wait for approval. Facing a roadmap where new features might be delayed until 2027 and in an environment where rapid innovation is tied to competitive advantage, Comercia made a bold, strategic decision to build its own proprietary payment gateway, ‘Comercia 2.0’, to create a competitive advantage.
However, owning the entire payment stack also placed the burden of availability squarely on Comercia's shoulders. Operating under a strict 99.9999% availability Service Level Agreement (SLA), Comercia knew that even a brief disruption would cause immediate financial and reputational fallout. Relying on a single cloud provider proved too risky; despite a robust setup, a historical outage in Microsoft Azure's database service led to a 15-minute system failure.
"One minute of downtime can generate 20,000 denials, that is, 20,000 sales that failed on our terminals," said Antonio Rodríguez, CTO, Comercia Global Payments.
To survive any single provider’s failure, Comercia needed more than geographic redundancy—it needed consistent, secure, real-time shared data across clouds. This was the most complex challenge of all. Transaction data had to remain continuously available, even if one environment went offline. At the same time, PCI (Payment Card Industry) and GDPR (General Data Protection Regulation) requirements demand strict security controls, and strong consistency had to be preserved across distributed nodes to prevent data conflicts or integrity issues.
In other words, the architecture could not simply replicate data between providers, it had to behave as a single, unified system.
After evaluating its options, Comercia selected MongoDB Atlas to underpin a secure, resilient data layer spanning Azure, Google Cloud, and AWS without compromising consistency, compliance, or real-time performance.


