2017 © Pedro Peláez
 

library payment-gate

PHP utils for pays.cz integration.

image

axima/payment-gate

PHP utils for pays.cz integration.

  • Thursday, March 16, 2017
  • by greeny
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

php-payment-gate

PHP utils for pays.cz integration., (*1)

Installation

composer require axima/payment-gate

Usage

use Axima\PaymentGate\Utils;

$link = Utils::getPaymentLink($merchantId, $shopId, $currency, $amount, $merchantOrderNumber, $email);

To validate data on confirmation, you can use helper method:, (*2)

if (!Utils::validateConfirmData($password)) {
    // error payment
} else {
    // success payment
}

If you already have parsed data from $_GET or you are using some framework, which provides data in different way, you can pass them as second parameter (but keep the keys same as in $_GET):, (*3)

Utils::validateConfirmData($password, $data)

Bug reports, feature requests

Please use GitHub issue tracker / pull requests., (*4)

The Versions

16/03 2017

dev-master

9999999-dev

PHP utils for pays.cz integration.

  Sources   Download

MIT

by Avatar greeny

16/03 2017

1.0.0

1.0.0.0

PHP utils for pays.cz integration.

  Sources   Download

MIT

by Avatar greeny