invoiceninja/app/Ninja/PaymentDrivers/PayFastPaymentDriver.php
2016-07-21 14:28:06 +03:00

21 lines
438 B
PHP

<?php
namespace App\Ninja\PaymentDrivers;
/**
* Class PayFastPaymentDriver
*/
class PayFastPaymentDriver extends BasePaymentDriver
{
/**
* @var string
*/
protected $transactionReferenceParam = 'm_payment_id';
public function completeOffsitePurchase(array $input)
{
if ($accountGateway->isGateway(GATEWAY_PAYFAST) && Request::has('pt')) {
$token = Request::query('pt');
}
}
}