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

Fixes that by default all payment methods were active and disabled by proactive entries in core_config_data #568

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jean-bernard-valentaten
Copy link

@jean-bernard-valentaten jean-bernard-valentaten commented Nov 11, 2024

This PR fixes multiple issues:

  1. Disabling payment methods via core_config_data prevents activation via config.xml. Instead all payment methods should be disabled by default via config.xml, thus allowing integrators to selectively enabling them via their own config.xml.
  2. The fields should be defined to be restorable, thus preventing default values from being stored in core_config_data when someone configures entries in the Magento backend. This helps keep the data stored in core_config_data minimal and thus maintainable
  3. All payment methods should be in TEST-mode by default in order to prevent actual transactions from happening while developing a shop.

… proactive entries in `core_config_data`

Disabling payment methods via `core_config_data` prevents activation via
`config.xml`. Instead all payment methods should be disabled by default
via `config.xml`, thus allowing integrators to selectively enabling them
via their own `config.xml`.

Additionally the fields should be defined to be restorable, thus
preventing default values from being stored in `core_config_data` when
someone configures entries in the Magento backend.

These two issues are solved by this commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant