From cf45e647c3b0782a49dbc8a6118479ac2058c392 Mon Sep 17 00:00:00 2001 From: karneaud Date: Sun, 23 Jun 2024 22:32:14 -0400 Subject: [PATCH] add rotessa gateway payment methods --- app/Models/Gateway.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/app/Models/Gateway.php b/app/Models/Gateway.php index e62221d8b02e..455016380079 100644 --- a/app/Models/Gateway.php +++ b/app/Models/Gateway.php @@ -105,7 +105,9 @@ class Gateway extends StaticModel $link = 'https://www.forte.net/'; } elseif ($this->id == 62) { $link = 'https://docs.btcpayserver.org'; - } + } elseif ($this->id == 4002) { + $link = 'https://rotessa.com'; + } return $link; } @@ -224,6 +226,15 @@ class Gateway extends StaticModel return [ GatewayType::CRYPTO => ['refund' => true, 'token_billing' => false, 'webhooks' => ['confirmed', 'paid_out', 'failed', 'fulfilled']], ]; //BTCPay + case 4002: + return [ + GatewayType::BANK_TRANSFER => [ + 'refund' => false, + 'token_billing' => true, + 'webhooks' => [], + ], + GatewayType::ACSS => ['refund' => false, 'token_billing' => true, 'webhooks' => []] + ]; // Rotessa default: return []; }