- ππ·Croatia valic Osijek
Hi,
If you want to disable Signifyd being active on specific environments, the best way is by using config overrides through your settings.local.php or a similar equivalent.
Example for order type
default
would be adding this line to your specific settings.php file$config['commerce_order.commerce_order_type.default']['third_party_settings']['commerce_signifyd']['enable'] = FALSE;
- ππ·Croatia valic Osijek
#2 is not relevant anymore because there have been changes in where the integration is managed.
To disable the integration, you can do it per enabled order types through config override.
If you have an order type with the machine name `default`, integration is enabled.
To disable it on a specific environment, you can use config override:
$config['commerce_signifyd.settings']['order_types']['default']['enable'] = 0;
The second option would be to use the config_split module.
https://www.drupal.org/project/config_split β - First commit to issue fork.
- Open in Jenkins β Open on Drupal.org βCore: 9.5.x + Environment: PHP 8.0 & MySQL 5.7 updated depslast update
8 months ago 12 pass - Open in Jenkins β Open on Drupal.org βCore: 9.5.x + Environment: PHP 8.0 & MySQL 5.7 updated depslast update
8 months ago 12 pass - πΊπ¦Ukraine khiminrm
@valic I've created MR with updated README.md file. I've removed also almost empty old README.txt.
Maybe it makes sense to add condition to check if integration is enabled for an order type in
CommerceSignifydQueueWorker::processItem()
, so in case if the integration was disabled but there were still unprocessed orders in the queue? For example when a database dump from production site is used on some develop or local environment. - Status changed to Needs review
8 months ago 8:07am 2 April 2024 - Open in Jenkins β Open on Drupal.org βCore: 9.5.x + Environment: PHP 8.0 & MySQL 5.7 updated depslast update
7 months ago 12 pass - Open in Jenkins β Open on Drupal.org βCore: 9.5.x + Environment: PHP 8.0 & MySQL 5.7 updated depslast update
7 months ago 12 pass -
valic β
committed 56cc98b8 on 1.0.x authored by
khiminrm β
Issue #3274324 by khiminrm, valic, lhridley: Provide toggle to turn off...
-
valic β
committed 56cc98b8 on 1.0.x authored by
khiminrm β
- Status changed to RTBC
7 months ago 7:22pm 1 May 2024 - ππ·Croatia valic Osijek
@khiminrm added method to check if integration is enabled, it's used on both places now.
- Status changed to Fixed
7 months ago 8:09pm 1 May 2024 Automatically closed - issue fixed for 2 weeks with no activity.