Platform Evolution
Assessment run-2026-07-27-1 · 213 of 213 repos assessed
Repos / paymentprovider-br-dge

paymentprovider-br-dge

Payment provider adapter API integrating TC's payment platform with the BR-DGE (Comcarde) payment orchestration service for card, Apple Pay/Google Pay and alternative payment methods.

100 · greenlowlooseAWS + on-premZDD: no excuseapi

Health score

100

0 to 100 across seven weighted factors; nothing is hidden. Green is 75 and above, amber 50 to 74, red below 50. How scoring works.


Runtime currency / 25
25
Runs on supported modern .NET
Legacy transport / 15
15
No legacy WCF or SOAP surface
Test posture / 15
15
Good test coverage
Security hygiene / 15
15
No credentials found in source
Dangerous coupling / 15
15
No dangerous coupling detected
Activity / 10
10
Actively maintained
Deployment hygiene / 5
5
CI in place
Health over time
2026-07-24 (run-2026-07-24-1): 1002026-07-27 (run-2026-07-27-1): 100
No change since 2026-07-24 (100 to 100).

Facts

Languagescsharp
FrameworksASP.NET Core 8, MediatR 12, Serilog
Runtimes.NET 8
Tests / CIgood / CI in place
Last commit2026-06-15
OwnerOwner unknown (mapping to be curated)
DomainPayments and finance (system generated; curate in repo-owners.json to override)
Product areaShared platform
HostedAWS + on-prem Ships artefacts to both AWS and on-prem machines (see evidence below)
  • Release "\finance\payments\paymentprovider-br-dge-api CI": QA: deployment-group phase (agents on our own machines)
  • build "paymentprovider-bridge Containers" (/build-containers.yml): AWS signal "ecsTerraformRepo"
Releases1 release pipeline(s): \finance\payments\paymentprovider-br-dge-api CI
Integrationrest
SourceOpen in Azure DevOps

Risk flags

No risk flags recorded.

Each flag links to its glossary definition.

Dependencies in context

Laying out the graph…
greenamberreddata store (square, dashed link)Node size follows fan-in. Click any node to open it.

Entanglement

loose No binding mechanisms apply: this system needs no untangling work.

    Depends on / used by

    Depends on (0)
    Nothing internal.

    Data stores
    dynamodb:payments-persistence

    Migration playbooks

    Generated from this repo's assessment data: what is feasible, what blocks it, and the steps in order. Ratings: green means actionable now, amber means sequence other work first, red means blocked, grey means not applicable.

    ZDD adoption

    No excuse

    Nothing technical is holding this repo on the three-week release. It either already deploys without downtime (AWS) or is a modern, well-tested service the automated stealth path can carry today. Already deploys as a container to AWS, which releases without downtime today. Some artefacts still deploy on-prem; they follow the on-prem path. Separating it from the three-week release is a process decision, not a technical one.

    Dependencies and gotchas
    • 1 system(s) depend on this repo; during a rolling deploy they will talk to old and new versions at once, so responses must stay compatible
    Steps
    1. Adopt the four-stage discipline from the ZDD engineering standard: pre-deployment compatibility, deployment, feature activation behind a flag, post-release cleanup.
    2. Make every change dual-version safe: backwards-compatible APIs (new major version for breaking wire changes), expand and contract for any schema change, and consumers tolerant of unknown fields.
    3. Audit serialized data: anything in Redis, queues or shared caches must deserialize cleanly across adjacent versions.
    4. Wrap behaviour changes in feature flags so code deploys dark and release becomes a business decision, not a deployment event.
    5. Route deployments through the Workflow Engine's automated drain, deploy, health-check, return cycle (the path proven by the first automated production run in mid-2026).
    6. Verify with area-scoped regression rather than the whole-platform cycle, and watch error rates after rollout with automated rollback on alert.

    SQL Server exit

    Not applicable

    No SQL Server dependency is recorded for this repo. Nothing to migrate.

    Containerisation

    Partially containerised

    Part of this repo already builds containers for AWS while other artefacts still deploy to on-prem machines. Finish the job by moving the remaining artefacts (see the hosting evidence on this page) through the same pipeline template.

    Steps
    1. Identify the artefacts still deploying through deployment-group release pipelines (listed in the hosting evidence).
    2. Move each to the shared ci.yml pipeline template with the container parameters, as the already-containerised artefacts in this repo do.
    3. Disarm the old release pipelines once traffic is confirmed on the new deployment.

    Recommended actions

    No specific actions for this repo. It either needs only normal maintenance, or its work is covered by an estate-level action. See the full programme.

    Assessment notes

    paymentprovider-br-dge

    Purpose

    Adapter API that fronts the third-party BR-DGE (Comcarde) payment orchestration platform: makes payments, checks status, handles hosted-payment-page orders, tokenisation and 3-D Secure, and maps PSP responses (including Stripe) back into TC's common payment models. Supports Apple Pay/Google Pay and alternative payment methods.

    Tech stack

    ASP.NET Core Web API on .NET 8 with MediatR handlers, API versioning, Swashbuckle, Serilog, Scrutor and Nerdbank.GitVersioning. Cloud-native: AWS SDK plus TC.Persistence.DynamoDB for persistence.

    Deployment

    Container-first: build-containers.yml builds the API image (SonarCloud analysis) and deploys to AWS ECS in eu-west-1 via the aws-payments-tc-apps Terraform repo under the finance-payments namespace; build-packages.yml publishes model packages. One release pipeline (\finance\payments\paymentprovider-br-dge-api CI); release_count 1.

    Dependencies

    Internal shared packages (TC.Payments.Logging, TC.Payments.Models, TC.Persistence.DynamoDB, TC.Diagnostics.HealthChecks) whose source repos are not identifiable from included.json with confidence, so none are listed as internal repo dependencies. External: BR-DGE/Comcarde sandbox and live APIs (secure.comcarde.com), Stripe as an underlying PSP, Apple Pay and Google Pay wallets.

    Data stores

    AWS DynamoDB via TC.Persistence.DynamoDB (V2 repository with V1 fallback) for payment persistence.

    Integration points

    Inbound REST API for TC payment callers; outbound REST to the BR-DGE API. No message-bus usage found.

    Code health

    Four test projects (API, Application, PSP response adapter, plus a test base) — good coverage. CI with SonarCloud quality gates. Last commit 2026-06-15; actively developed. Backstage catalog-info.yaml present.

    Modernisation risks

    Minimal: modern .NET 8, containerised, AWS-hosted with IaC. Risks are third-party concentration on BR-DGE for payment routing and coupling to its API contract, rather than technical debt.