Skip to content

Keeping payment rules consistent across three applications

Web, mobile and an internal tool needed the same payment behavior. I evolved the BFF layer, shared the rules in one library and protected access and domain logic with tests.

01 · The need

Web, mobile and an internal tool needed the same payment behavior, with sensitive actions kept behind consistent access rules.

02 · What I changed

I evolved the BFF layer, extracted payment rules into one shared library, added unit tests to Java services and implemented role-based access that denies by default.

03 · Result or scope

Three applications reuse one rules library and domain-layer coverage reached about 90% in the services I worked on. No incident or user-count outcome is attributed to my work alone.

Keeping payment rules consistent across three applications cover