mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Add KBC
to MolliePaymentDriver
This commit is contained in:
parent
f24a8f349a
commit
02dbb0acd5
@ -25,6 +25,7 @@ use App\Models\PaymentHash;
|
||||
use App\Models\PaymentType;
|
||||
use App\Models\SystemLog;
|
||||
use App\PaymentDrivers\Mollie\CreditCard;
|
||||
use App\PaymentDrivers\Mollie\KBC;
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Mollie\Api\Exceptions\ApiException;
|
||||
@ -64,6 +65,7 @@ class MolliePaymentDriver extends BaseDriver
|
||||
*/
|
||||
public static $methods = [
|
||||
GatewayType::CREDIT_CARD => CreditCard::class,
|
||||
GatewayType::KBC => KBC::class,
|
||||
];
|
||||
|
||||
const SYSTEM_LOG_TYPE = SystemLog::TYPE_MOLLIE;
|
||||
@ -84,6 +86,7 @@ class MolliePaymentDriver extends BaseDriver
|
||||
$types = [];
|
||||
|
||||
$types[] = GatewayType::CREDIT_CARD;
|
||||
$types[] = GatewayType::KBC;
|
||||
|
||||
return $types;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user