diff --git a/modules/payment/src/PaymentGatewayPluginCollection.php b/modules/payment/src/PaymentGatewayPluginCollection.php
index b52161ea..6aff7d1f 100644
--- a/modules/payment/src/PaymentGatewayPluginCollection.php
+++ b/modules/payment/src/PaymentGatewayPluginCollection.php
@@ -54,7 +54,7 @@ class PaymentGatewayPluginCollection extends DefaultSingleLazyPluginCollection {
       throw new PluginException("The payment gateway '{$this->entityId}' did not specify a plugin.");
     }
 
-    $configuration = $this->configuration + ['_entity_id' => $this->entityId];
+    $configuration = ['_entity_id' => $this->entityId] + $this->configuration;
     $plugin = $this->manager->createInstance($instance_id, $configuration);
     $this->set($instance_id, $plugin);
   }
diff --git a/modules/tax/src/TaxTypePluginCollection.php b/modules/tax/src/TaxTypePluginCollection.php
index 71bbb0a5..06451223 100644
--- a/modules/tax/src/TaxTypePluginCollection.php
+++ b/modules/tax/src/TaxTypePluginCollection.php
@@ -44,7 +44,7 @@ class TaxTypePluginCollection extends DefaultSingleLazyPluginCollection {
       throw new PluginException("The tax type '{$this->entityId}' did not specify a plugin.");
     }
 
-    $configuration = $this->configuration + ['_entity_id' => $this->entityId];
+    $configuration = ['_entity_id' => $this->entityId] + $this->configuration;
     $plugin = $this->manager->createInstance($instance_id, $configuration);
     $this->set($instance_id, $plugin);
   }
