Skip to content

ergosarapu/payum-everypay

Repository files navigation

Payum EveryPay

The Payum extension for EveryPay payment gateway integration.

Installation

Install using Composer :

composer require ergosarapu/payum-everypay

Configure EveryPay callback notifications

  1. 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
  2. Configure notification callback in EveryPay merchant portal with the generated URL
  3. 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

About

The Payum extension for EveryPay gateway integration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages