Euplatesc Installation
- Add to your application via composer:
composer require vanilo/euplatesc
- Add the module to
config/concord.php
:<?php return [ 'modules' => [ //... Vanilo\Euplatesc\Providers\ModuleServiceProvider::class //... ] ];
Registration with Payments Module
The module will register the payment gateway with the Vanilo Payments registry by default.
Prevent from Auto-registration
If you don't want it to be registered automatically, you can prevent it by setting it in the module configuration:
//config/concord.php
return [
'modules' => [
//...
Vanilo\Euplatesc\Providers\ModuleServiceProvider::class => [
'gateway' => [
'register' => false
]
]
//...
]
];
Manual Registration
If you disable registration and want to register the gateway manually you can do it by using the Vanilo Payment module's payment gateway registry:
use Vanilo\Euplatesc\EuplatescPaymentGateway;
use Vanilo\Payment\PaymentGateways;
PaymentGateways::register('gateway-id', EuplatescPaymentGateway::class);
Next: Workflow »