Payum / PayumLaravelPackage

Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
https://payum.forma-pro.com/
MIT License
122 stars 38 forks source link

Configuration from a database? #56

Open VConsulting opened 3 years ago

VConsulting commented 3 years ago

Hello,

I am trying to call the configuration of the gateways which are already in a given database, in a format other than that of the payum documentation, because they already exist.

I tried to call the config from the ServiceProvider but I do not have access to the DB from a ServiceProvider.

And is it possible to call the configuration of the gateways which are in the DB, for example, via a Helpers just before using Payum in order to generate the necessary config on the fly?

Too bad this part does not seem very flexible to use.