mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-14 19:04:40 -04:00
Removing payfast sdk
This commit is contained in:
parent
990c75db60
commit
42686a98b0
@ -68,18 +68,18 @@ class PayFastPaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
try {
|
// try {
|
||||||
$this->payfast = new \Payfast\PayFastPayment(
|
// $this->payfast = new \Payfast\PayFastPayment(
|
||||||
[
|
// [
|
||||||
'merchantId' => $this->company_gateway->getConfigField('merchantId'),
|
// 'merchantId' => $this->company_gateway->getConfigField('merchantId'),
|
||||||
'merchantKey' => $this->company_gateway->getConfigField('merchantKey'),
|
// 'merchantKey' => $this->company_gateway->getConfigField('merchantKey'),
|
||||||
'passPhrase' => $this->company_gateway->getConfigField('passphrase'),
|
// 'passPhrase' => $this->company_gateway->getConfigField('passphrase'),
|
||||||
'testMode' => $this->company_gateway->getConfigField('testMode'),
|
// 'testMode' => $this->company_gateway->getConfigField('testMode'),
|
||||||
]
|
// ]
|
||||||
);
|
// );
|
||||||
} catch (\Exception $e) {
|
// } catch (\Exception $e) {
|
||||||
nlog('##PAYFAST## There was an exception: '.$e->getMessage());
|
// nlog('##PAYFAST## There was an exception: '.$e->getMessage());
|
||||||
}
|
// }
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
@ -211,7 +211,6 @@ class PayFastPaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
return response()->json([], 200);
|
return response()->json([], 200);
|
||||||
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
@ -223,7 +222,6 @@ class PayFastPaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
return response()->json([], 200);
|
return response()->json([], 200);
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,7 +77,6 @@
|
|||||||
"nordigen/nordigen-php": "^1.1",
|
"nordigen/nordigen-php": "^1.1",
|
||||||
"nwidart/laravel-modules": "^10.0",
|
"nwidart/laravel-modules": "^10.0",
|
||||||
"omnipay/paypal": "^3.0",
|
"omnipay/paypal": "^3.0",
|
||||||
"payfast/payfast-php-sdk": "^1.1",
|
|
||||||
"phpoffice/phpspreadsheet": "^1.29",
|
"phpoffice/phpspreadsheet": "^1.29",
|
||||||
"pragmarx/google2fa": "^8.0",
|
"pragmarx/google2fa": "^8.0",
|
||||||
"predis/predis": "^2",
|
"predis/predis": "^2",
|
||||||
|
@ -4029,7 +4029,7 @@ $lang = array(
|
|||||||
'user_detached' => 'User detached from company',
|
'user_detached' => 'User detached from company',
|
||||||
'create_webhook_failure' => 'Failed to create Webhook',
|
'create_webhook_failure' => 'Failed to create Webhook',
|
||||||
'payment_message_extended' => 'Thank you for your payment of :amount for :invoice',
|
'payment_message_extended' => 'Thank you for your payment of :amount for :invoice',
|
||||||
'online_payments_minimum_note' => 'Note: Online payments are supported only if amount is bigger than $1 or currency equivalent.',
|
'online_payments_minimum_note' => 'Note: Online payments are supported only if amount is larger than $1 or currency equivalent.',
|
||||||
'payment_token_not_found' => 'Payment token not found, please try again. If an issue still persist, try with another payment method',
|
'payment_token_not_found' => 'Payment token not found, please try again. If an issue still persist, try with another payment method',
|
||||||
'vendor_address1' => 'Vendor Street',
|
'vendor_address1' => 'Vendor Street',
|
||||||
'vendor_address2' => 'Vendor Apt/Suite',
|
'vendor_address2' => 'Vendor Apt/Suite',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user