Browse Source

limited manual payement to annual licenses

bach 3 years ago
parent
commit
ddb7c9c14e
1 changed files with 7 additions and 1 deletions
  1. 7 1
      config/sync/commerce_payment.commerce_payment_gateway.manual.yml

+ 7 - 1
config/sync/commerce_payment.commerce_payment_gateway.manual.yml

@@ -15,5 +15,11 @@ configuration:
   payment_method_types:
     - credit_card
   collect_billing_information: true
-conditions: {  }
+conditions:
+  -
+    plugin: 'order_purchased_entity:commerce_product_variation'
+    configuration:
+      entities:
+        4: 2eb9460f-5816-4cda-8fb5-aca553d7d473
+        6: 56bbfeba-a2af-4e97-b04a-9ac31f24c6b9
 conditionOperator: AND