mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Return supported gateway types
This commit is contained in:
parent
9b388c9c5f
commit
59e563a1ad
@ -18,7 +18,7 @@ use App\Models\PaymentHash;
|
|||||||
use App\Models\SystemLog;
|
use App\Models\SystemLog;
|
||||||
use App\Utils\Traits\MakesHash;
|
use App\Utils\Traits\MakesHash;
|
||||||
|
|
||||||
class DriverTemplate extends BaseDriver
|
class RazorpayPaymentDriver extends BaseDriver
|
||||||
{
|
{
|
||||||
use MakesHash;
|
use MakesHash;
|
||||||
|
|
||||||
@ -38,6 +38,13 @@ class DriverTemplate extends BaseDriver
|
|||||||
|
|
||||||
const SYSTEM_LOG_TYPE = SystemLog::TYPE_RAZORPAY;
|
const SYSTEM_LOG_TYPE = SystemLog::TYPE_RAZORPAY;
|
||||||
|
|
||||||
|
public function gatewayTypes(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
GatewayType::HOSTED_PAGE,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function setPaymentMethod($payment_method_id)
|
public function setPaymentMethod($payment_method_id)
|
||||||
{
|
{
|
||||||
$class = self::$methods[$payment_method_id];
|
$class = self::$methods[$payment_method_id];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user