GithubHelp home page GithubHelp logo

payum-alphabank's Introduction

Payum Alpha Bank Gateway

This gateway integrates Alpha Bank's redirect payment method. Factory parameters:

  • mid
  • sharedSecretKey

Optional factory parameters:

  • lang - Language. Default el.
  • cssUrl - URL to a CSS file that be used to customize Alpha Bank's checkout page. Default none.
  • sandbox - Whether this is Alpha Bank's sandbox environment. Default true.
  • useMasterPass - If true the payMethod passed to Alpha Bank is set to auto:MasterPass . Default false.

Notes:

  • mid and sharedSecretKey can also be passed in the "details" attribute of the payment model to override the factory values. This enables distributing payments to different Alpha Bank accounts on a per-payment basis depending on the business logic. If used in this way, it is recommended to set sharedSecretKey as Payum\Core\Security\SensitiveValue instead of string, to avoid saving the keys in the database.
  • The orderid passed to Alpha Bank is a randomized string and does not correspond to the actual order number. This enables the user to make multiple payment retries for the same order. The real orderid is passed in Alpha Bank's var2 field.
  • You can set var3 to var5 by setting custom3 to custom5 on "details" attribute.
  • To use the installments functionality, the fields "extInstallmentoffset" and "extInstallmentperiod" must be passed in the payment model's "details" attribute.
  • To use card tokenization functionality, the fields "extTokenOptions" or "extToken" must be passed in the payment model's "details" attribute.

License

This code is released under the MIT License.

payum-alphabank's People

Contributors

dnna avatar sl45sms avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.