Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add gateway (or change gateway settings) right before payment request? #52

Closed
hatami57 opened this issue Dec 7, 2019 · 3 comments
Labels
feature New feature or request

Comments

@hatami57
Copy link

hatami57 commented Dec 7, 2019

Hi,

I want somehow set the gateway settings dynamically for each payment separately. In other words, I need to add a gateway or change the predefined gateways' settings, just before doing a payment.
Is this possible with your package?

Let's say I have hundreds of bank accounts and I cannot add all of them in advance with services.AddParbad().ConfigureGateways.

The gateway settings should be set when a payment operation have to be done...

Thank you for your great work.

@Sina-Soltani
Copy link
Owner

No currently it's not possible.
Maybe in future versions.

@hatami57
Copy link
Author

hatami57 commented Dec 7, 2019

Thank you for your prompt response.

Is there any simple hacky way to achieve such a thing with the source code? if so, I will appreciate any hint to accomplish this...

@Sina-Soltani
Copy link
Owner

There is no easy solution for this and lots of things must be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants