Download the PHP package youama/module-otp-2 without Composer

On this page you can find all versions of the php package youama/module-otp-2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-otp-2

OTP Bank Payment Method Module to Magento 2

Latest Stable Version License: MIT

This source code is a Magento module what provides a Payment itengration between Magento 2 ecommerce platform and OTP Bank Direct. The module creates a new Payment method "OTP" and allow to pay orders through OTP Bank. The source code is under The MIT licence from 2018.02.18.

You can disable/enable the module and you can customize it by Magento admin interface. The module supports multiple languages, currencies and stores.

This module and the OTP online payment service are not same. You have to contact to OTP, make a commercial licence and then you can use OTP payment in your shop. You can use only the common OTP demo if you don't have contract with the bank.

System requirements

Install

Using Magento in DEV mode without cache is definitely recommended when you want to install module.

Payment system process

  1. The customer places an order on the Checkout of the webshop.
  2. The module computes the order and sends it to the OTP payment system.
  3. The module redirects the customer to the OTP payment user interface.
  4. The customer pays by a credit card and the OTP makes the payment transaction immediately.
  5. If the customer didn't close the browser then the Bank redirects the user back to the Magento webshop and the bank sends a message to the webshop about the status of payment.
  6. The module sends a message to the customer about status of the payment.
  7. If the customer closed the browser, the bank can't redirects the customer back to the shop and it can't notifies the customer. In this case, the scheduled process of the module synchronizes the payment statuses of the unfinished orders from the bank and it sends notifies about status of the payment.

Settings

Setup page

You can find the configuration place on System -> Configuration -> Sales -> Payment methods -> Youama OTP.

Enabled

You can disable or enable the whole payment method in website scope.

Private key

You can add your own private key file in website scope - given by OTP Bank.

POS ID

This is the ID of the shop in website scope - given by OTP Bank.

Currency

Hungarian Forint, USD or Euro. Currency code, defined by OTP bank. This is the order currency. (Website scope.)

Language

The language of OTP payment user interface. (Website scope.)

Shop Comment

A short title or description on payment user interface of OTP. (Store view.)

Title

Title of OTP payment in Checkout of Magento. (Store view.)

Success url

When customer payment was successful, he arrives to this page. (Store view.)

Fail url

When customer payment was failed, he arrives to this page. It should be a CMS page. (Store view.)

Cancel order

When customer's order has failed payment, the module changes the status or the state of the order. It can cancels order by automatically or only notifies the user. (Website scope.)

Paid message

Customer gets notify by automatically when his order has been paid status. This notify contains a short HTML message. (Store view.)

Unpaid message

Customer gets notify by automatically when his order have been unpaid status. This notify contains a short HTML message. (Store view.)

OTP Payment UI

Testing

Test Cron

Run Cron Job manually from Magento CLI API to sync all not finished payment and change their status and their order/payment/transaction state.

Test Card Data

Author

This module created by David Belicza and published as a YOUAMA Software in 2014 and open sourced in 2018.

Licence

THE MIT LICENCE

Copyright 2018 David Belicza

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

History


All versions of module-otp-2 with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package youama/module-otp-2 contains the following files

Loading the files please wait ....