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()
|
public function getHelp()
|
||||||
{
|
{
|
||||||
|
if ($this->id == GATEWAY_PAYFAST) {
|
||||||
|
return trans('texts.gateway_help_' . $this->id);
|
||||||
|
}
|
||||||
|
|
||||||
$link = '';
|
$link = '';
|
||||||
|
|
||||||
if ($this->id == GATEWAY_AUTHORIZE_NET) {
|
if ($this->id == GATEWAY_AUTHORIZE_NET) {
|
||||||
|
@ -8,6 +8,14 @@ class PayFastPaymentDriver extends BasePaymentDriver
|
|||||||
{
|
{
|
||||||
protected $transactionReferenceParam = 'm_payment_id';
|
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)
|
public function completeOffsitePurchase($input)
|
||||||
{
|
{
|
||||||
parent::completeOffsitePurchase([
|
parent::completeOffsitePurchase([
|
||||||
|
@ -2505,6 +2505,7 @@ $LANG = array(
|
|||||||
'videos' => 'Videos',
|
'videos' => 'Videos',
|
||||||
'video' => 'Video',
|
'video' => 'Video',
|
||||||
'return_to_invoice' => 'Return to Invoice',
|
'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