Skip to content

feat: add named payment processors and MONEI provider - #2

Open
elpete wants to merge 5 commits into
developmentfrom
feature/named-payment-providers
Open

feat: add named payment processors and MONEI provider#2
elpete wants to merge 5 commits into
developmentfrom
feature/named-payment-providers

Conversation

@elpete

@elpete elpete commented Sep 5, 2026

Copy link
Copy Markdown

Description

Implements the cbpayments 1.0 Provider/Processor architecture. A Provider is a WireBox implementation such as StripeProvider, MoneiProvider, or MockProvider; a Processor is one named Provider plus configuration. Applications use a provider-neutral PaymentService facade across hosted checkout, payment intents, capture, refunds, setup intents, customers, and verified webhooks.

This revision also:

  • requires full WireBox Provider IDs and removes the duplicate providerTypes registry
  • adds an independently packageable MONEI Provider with a real REST transport
  • adds a shared provider-neutral webhook taxonomy and typed ColdBox interception points
  • expands the Provider, Processor, contract, Stripe, MONEI, webhook, configuration, security, and testing guides
  • removes the internal architecture/delivery and release-note artifacts
  • packages and boots the core and MONEI candidates together in a clean consumer harness

This PR retains the existing development history and targets development directly.

Closes #1.

Type of change

  • New feature
  • Breaking pre-1.0 API terminology cleanup
  • Documentation update

Verification

  • Final local source: BoxLang 1 native and CFML compatibility, Lucee 6/7, and Adobe ColdFusion 2023/2025 each passed 72 specs with 0 failures and 0 errors
  • MONEI request translation, REST transport, response normalization, failure mapping, configuration, signatures, callbacks, and shared events are covered by fake-client and local HTTP-stub tests
  • Formatting was applied and is idempotent; formatting check, Markdown lint, YAML parse, metadata validation, dependency pins, secret scan, and git diff --check pass
  • Core release dry run and clean packaged-consumer boot pass
  • Independently packaged MONEI module installs, registers, and executes with the packaged core
  • Pushed SHA 27fff8a passes the GitHub engine and package matrix
  • Pushed SHA 27fff8a passes the repository-secret-backed Stripe test-mode contract

The live Stripe job accepts only an sk_test_ key and runs only for trusted same-repository pull requests. Fork and Dependabot pull requests do not receive the secret. No live MONEI credential is required or used by this PR.

@elpete elpete changed the title feat: add named payment provider architecture feat: add named payment processors and MONEI provider Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant