wearesho-team / bobra-payments
Common interfaces for processing payment
Installs: 1 311
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 4
Requires
- php: ^8.1
Requires (Dev)
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: ^3.7
Suggests
- wearesho-team/platon: Platon.ua payments integration
This package is auto-updated.
Last update: 2024-11-08 14:13:13 UTC
README
This repository contains interfaces for processing payments.
Implementation of this interfaces is available in other repositories.
Contents
- ClientInterface - payment initializer.
- PaymentInterface - result of initializing payment using transaction. Trait
- TransactionInterface - payment transaction to initialize payment. Implementation
- UrlPairInterface - URL pairs for user redirect after payment. Implementation
- TransactionCollection - \ArrayObject with TransactionInterface type checking
- HasLanguage - interface, should be used as TransactionInterface extension. ServiceInterface implementation should check if transaction implement this interface and use language from it instead of global configuration.
- LanguageTrait - HasLanguage implementation
- LanguageTransaction - class extends Transaction and implements HasLanguage interface using LanguageTrait
License
MIT
Wearesho Team