invoiceninja/app/Ninja/PaymentDrivers/PayFastPaymentDriver.php
2016-07-14 22:37:04 +02:00

21 lines
436 B
PHP

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