Basic info

Class initiation:

<?php

use PatryQHyper\Payments\Payments;

require __DIR__.'/vendor/autoload.php';

$payment = new Payments();

$provider = $payment->online(new PaymentProviderClass(...providerParams));

This SDK throws only \PatryQHyper\Payments\Exceptions\PaymentException. It's thrown on various errors received from payment providers.

Last updated