1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00
invoiceninja/app/Ninja/PaymentDrivers/PayFastPaymentDriver.php
2016-07-21 15:35:23 +03:00

14 lines
358 B
PHP

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