FeatureFuel
1

Payment Gateways as Modules

Source: invoiceninja/invoiceninja#12829 · opened by @karneaud
What version of Invoice Ninja are you running? ie v4.5 / v5
v5
What environment are you running?
Self-Hosted

Additional context
I would like to propose using Modules as a form and a way of installing and using custom gateways instead of merging them into the main application. This should make things a bit "lighter" to deal with and manage updates.

Because you guys [hard coded instantiating the driver]( I had to create class_aliases from the module classes and include the autoload.php into the main composer.json.

If the Modules and its dependencies being referenced and included while creating class aliases on behalf of module payment driver on install and also not having to amend the [Gateway.php]( but rather getting method from config/ninja.php while merging the module configs (may be via config/ninja.php property e.g. gateways.custom, gateway.custom.methods ?) handled via module service provider it can provide easier approach to install custom gateways ??

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests