wexample / symfony-remote-payment
Payment provider contracts: collect payments, read webhooks, read the merchant balance for bookkeeping
Package info
github.com/wexample/symfony-remote-payment
pkg:composer/wexample/symfony-remote-payment
Requires
- php: >=8.5
- wexample/symfony-helpers: >=18.0.2
- wexample/symfony-remote: >=2.0.10
Requires (Dev)
- phpunit/phpunit: ^13
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Version: 3.0.4
Payment provider contracts: collect payments, read webhooks, read the merchant balance for bookkeeping
Table of Contents
symfony-remote-payment holds the contracts of payment providers, split by capability: collecting payments (PaymentGatewayInterface), reading their webhooks (WebhookParserInterface), reading the balance they keep for the merchant (BalanceReaderInterface). A provider implements what it offers — Stripe all three, a bank whose account can only be read the last one — in its own symfony-remote-payment-<provider> package. symfony-payment and symfony-accounting use the contracts and never a provider.