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

ECP-8660/Batch-enable-disable-payment-methods-with-upgrade-script #2476

Merged
merged 9 commits into from
Feb 9, 2024

Conversation

hossam-adyen
Copy link
Contributor

@hossam-adyen hossam-adyen commented Feb 1, 2024

Description

After implementing separate payment methods, now each payment method has its own active value in core_config_data table. However, plugin has only one dropdown to enable or disable all payment methods at the configuration time.

Challenge here is if a new version of the plugin implements a new payment method facade, this PM will be disabled by default. However, that configuration should be updated according to the value of payment/adyen_abstract/payment_methods_active after each setup:upgrade command.

Magento 2 has a concept called setup scripts and Recurring setup script runs every time after running setup:upgrade command.

Tested scenarios

Fixes

Copy link

sonarcloud bot commented Feb 9, 2024

@hossam-adyen hossam-adyen merged commit 58c145f into develop Feb 9, 2024
11 checks passed
@hossam-adyen hossam-adyen deleted the ECP-8660 branch February 9, 2024 12:46
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.

3 participants