feat: add named payment processors and MONEI provider - #2
Open
elpete wants to merge 5 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements the cbpayments 1.0 Provider/Processor architecture. A Provider is a WireBox implementation such as
StripeProvider,MoneiProvider, orMockProvider; a Processor is one named Provider plus configuration. Applications use a provider-neutralPaymentServicefacade across hosted checkout, payment intents, capture, refunds, setup intents, customers, and verified webhooks.This revision also:
providerTypesregistryThis PR retains the existing
developmenthistory and targetsdevelopmentdirectly.Closes #1.
Type of change
Verification
git diff --checkpass27fff8apasses the GitHub engine and package matrix27fff8apasses the repository-secret-backed Stripe test-mode contractThe 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.