Paybylink direct billing

Base:

$pbl = $payment->online(
    new PaybylinkDirectbillingPayment(
        'login', 
        'password', 
        'hash'
    )
);

Initiate payment:

$pbl->setAmount(1.23);
$pbl->setDescription('description');
$pbl->setControl('myCustomData');

$pblPayment = $pbl->generatePayment();
$pblPayment->getTransactionId(); //transaction id
$pblPayment->getTransactionUrl(); //transaction url

Last updated