Hello, I have same problem,
can I know what append a your case ?
I copied from paypal_express and modified createGateway method, its work with payregister extension, but not showing with my custom extension.
<?php
namespace Jiongze\RedsysGateway;
use System\Classes\BaseExtension;
use Admin\Models\Payments_model;
use Admin\Widgets\Form;
use Illuminate\Support\Facades\Event;
/**
* RedsysGateway Extension Information File
*/
class Extension extends BaseExtension
{
public function extensionMeta()
{
return [
'name' => 'RedsysGateway',
'author' => 'Jiongze',
'description' => 'Redsys payment gateway',
'icon' => 'fa-plug',
'version' => '1.0.0'
];
}
public function register()
{
}
public function registerPaymentGateways()
{
return [
\Jiongze\Redsys\Payments\Redsys::class => [
'code' => 'redsys',
'name' => 'Redsys',
'description' => 'Payment gateway redsys with redirection',
]
];
}
public function boot()
{
}
}