ergosarapu / payum-everypay
The Payum extension for EveryPay.
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 2
Type:project
Requires
- php: ^8.2
- beberlei/assert: ^3.3
- payum/core: ^1.7
- php-http/message-factory: ^1.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.65
- php-http/discovery: ^1.20
- php-http/guzzle7-adapter: ^1.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.0
- phpstan/phpstan-beberlei-assert: ^2.0
- phpunit/phpunit: ^11
This package is auto-updated.
Last update: 2025-02-17 15:55:11 UTC
README
The Payum extension for EveryPay payment gateway integration.
Installation
Install using Composer :
composer require ergosarapu/payum-everypay
Configure EveryPay callback notifications
- Create notify token without payment model identity. If using Symfony, this can be done as follows:
php bin/console payum:security:create-notify-token everypay
- Configure notification callback in EveryPay merchant portal with the generated URL
- Register CallbackNotificationIdentityResolverExtension with the gateway. This extension resolves the payment model identity based on the
payment_reference
.
Supported Operations
Authorize
Authorize initiates the payment, but does not capture it. Note that depending on capture delay
setting on the EveryPay account used, the authorization may result the payment to be still captured immediately.
Capture
Initiates payment to capture immediately. Also captures previously authorized payment.
Token Agreements for MIT/CIT payments
To request token for later use in MIT/CIT payments, you may create and register extension in your gateway to set token_agreement
, request_token
, token_consent_agreed
values.
See example extension here: SetRequestTokenAgreementExtension
MIT/CIT
To perform CIT or MIT payment, you may create and register extension in your gateway to set _type
, token_agreement
, token_details
values.
See example extension for CIT: PrepareForCitPaymentExtension
See example extension for MIT: PrepareForMitPaymentExtension
Cancel
TODO: Not yet supported