PHP utils for integration.

1.0.0 2017-03-16 10:45 UTC

This package is not auto-updated.

Last update: 2023-05-27 13:03:57 UTC


PHP utils for integration.


composer require axima/payment-gate


use Axima\PaymentGate\Utils;

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

To validate data on confirmation, you can use helper method:

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):

Utils::validateConfirmData($password, $data)

Bug reports, feature requests

Please use GitHub issue tracker / pull requests.