mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on Payfast ITN
This commit is contained in:
parent
9a6d8e4c6a
commit
87e9c60f3b
@ -162,6 +162,10 @@ class Gateway extends Eloquent
|
||||
*/
|
||||
public function getHelp()
|
||||
{
|
||||
if ($this->id == GATEWAY_PAYFAST) {
|
||||
return trans('texts.gateway_help_' . $this->id);
|
||||
}
|
||||
|
||||
$link = '';
|
||||
|
||||
if ($this->id == GATEWAY_AUTHORIZE_NET) {
|
||||
|
@ -8,6 +8,14 @@ class PayFastPaymentDriver extends BasePaymentDriver
|
||||
{
|
||||
protected $transactionReferenceParam = 'm_payment_id';
|
||||
|
||||
protected function paymentDetails($paymentMethod = false)
|
||||
{
|
||||
$data = parent::paymentDetails();
|
||||
$data['notifyUrl'] = $this->invitation->getLink('complete', true);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function completeOffsitePurchase($input)
|
||||
{
|
||||
parent::completeOffsitePurchase([
|
||||
|
@ -2505,6 +2505,7 @@ $LANG = array(
|
||||
'videos' => 'Videos',
|
||||
'video' => 'Video',
|
||||
'return_to_invoice' => 'Return to Invoice',
|
||||
'gateway_help_13' => 'To use ITN leave the PDT Key field blank.',
|
||||
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user