invoiceninja/app/Ninja/PaymentDrivers/PayFastPaymentDriver.php

18 lines
338 B
PHP
Raw Normal View History

2017-01-30 21:40:43 +02:00
<?php
namespace App\Ninja\PaymentDrivers;
2016-06-20 17:14:43 +03:00
2016-11-16 12:41:47 +02:00
use Request;
2016-06-20 17:14:43 +03:00
class PayFastPaymentDriver extends BasePaymentDriver
{
protected $transactionReferenceParam = 'm_payment_id';
2016-07-21 14:28:06 +03:00
2016-07-21 15:35:23 +03:00
public function completeOffsitePurchase($input)
2016-06-20 17:14:43 +03:00
{
2016-08-15 23:14:08 +03:00
parent::completeOffsitePurchase([
2017-01-30 21:40:43 +02:00
'token' => Request::query('pt'),
2016-08-15 23:14:08 +03:00
]);
2016-06-20 17:14:43 +03:00
}
}