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