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

Make Merchant ID and Secret key changable through add_filter #170

Open
phpgeek opened this issue Sep 3, 2024 · 1 comment
Open

Make Merchant ID and Secret key changable through add_filter #170

phpgeek opened this issue Sep 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@phpgeek
Copy link

phpgeek commented Sep 3, 2024

I am currently investigating which payment gateway we should use for the Finnish market. We have a kind of complex setup, where different orders need to go to different merchants. We using billwerk (formerly reepay) in other countries - and they have the option, that we can add_filter and change the private key before processing the payment. A similar solutions would be perfect in the Paytrail plugin.

I have created a small patch file here:
https://phpgeek.dk/add_filters_to_gateway_info.txt

It is only 2 lines of codes that need to be altered to create the support.

I hope you will implement the requested feature - so you do not need to patch after each upgrade of the plugin :)

@phpgeek phpgeek added the enhancement New feature or request label Sep 3, 2024
@kotivuori
Copy link
Collaborator

Hi @phpgeek,

Thank you for bringing this to our attention and for providing explanation along with a patch file.

We understand the importance of flexibility in payment gateways for different market needs. While we cannot make any promises at this stage, we will take a closer look at your suggestion.

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

No branches or pull requests

2 participants