The challenge

Retailers sell gift cards from many providers in physical packs, and the cashier must activate each card at the point of sale. Activating cards one at a time slows the checkout, which is a commercial problem.

Activation requests come from a mainframe that speaks ISO 8583. The format was designed for card transactions, and batch activation across providers asks it to do something new.

Availability requirements are strict. If a card fails to activate, a customer stands at the till with a product they have paid for. The service has to keep running when a node fails, without losing the transaction.

Our approach

We built the activation server to speak the mainframe's own message format, so the mainframe needed no change. JPOS processes ISO 8583 directly, and the integration happens at the message layer where the existing system already works.

One barcode scan identifies a pack and activates every card in it, across all its providers, which removes the wait at the till. We designed for clustering from the start, because adding high availability to a live payment service later is far harder. Role-based administration keeps provider configuration apart from operational access.

What we built

We built a JPOS and J2EE activation server that accepts ISO 8583 messages from a mainframe. One barcode scan activates a pack of cards from many providers. The server offers role-based administration and clusters for high availability, on JBoss, Linux and DB2.

Solution Architectretail payment processor
“One scan activates a pack of cards from several providers. That's the whole requirement, and none of it was simple.”

Outcome

  • A single barcode scan at the till activates a full multi-provider pack.

  • ISO 8583 integration at the message layer left the mainframe unchanged.

  • High availability was part of the design from the first release.

Team

Engagement Senior Partner
Hannan Hakim
Chief Technology Officer
Swapnil H
Chief of Operations
Arjun Patni
Principal Software Engineer
Dhanashree
Senior Project Management & Operations
Chinmay C
Engagement Director
Rima

Our learnings

  1. 01

    Speak the existing system's protocol. Changing a mainframe is rarely a realistic design option.

  2. 02

    Time at the till was the commercial limit, and every design choice aimed to cut scans.

  3. 03

    Cluster from day one. Retrofitting availability onto a live payment service costs far more.

  4. 04

    Keep provider configuration apart from operational access. Different people carry different risks.