Skip to content

The Payum extension. It provides Tpay payment integration.

License

Notifications You must be signed in to change notification settings

EmilMassey/payum-tpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tpay

The Payum extension. It provides Tpay payment integration.

Installation

Just run composer require emilmassey/payum-tpay "^1.1"

config.php

<?php
//config.php

use Payum\Core\PayumBuilder;
use Payum\Core\Payum;

/** @var Payum $payum */
$payum = (new PayumBuilder())
    ->addDefaultStorages()

    ->addGateway('gatewayName', [
        'factory' => 'tpay',
        'merchant_id'  => 'change it',
        'secret' => 'change it',
        'api_key'  => 'change it',
        'api_password' => 'change it',
        'sandbox'   => true,
    ])

    ->getPayum()
;

prepare.php

Here you have to modify the gatewayName value. Set it to tpay. The rest remain the same as described in basic get it started documentation.

Resources

License

Extension is released under the MIT License.

About

The Payum extension. It provides Tpay payment integration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages