Skip to content

Commit 9e7d25f

Browse files
committed
AC-9605: Place order with disabled Payment method working
1 parent 35db2a1 commit 9e7d25f

File tree

1 file changed

+3
-5
lines changed
  • app/code/Magento/QuoteGraphQl/etc/graphql

1 file changed

+3
-5
lines changed

app/code/Magento/QuoteGraphQl/etc/graphql/di.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@
8080
<type name="Magento\Quote\Model\QuoteManagement">
8181
<plugin name="merge_guest_orders_with_customer_after_place"
8282
type="Magento\QuoteGraphQl\Plugin\Model\MergeGuestOrder" />
83+
<plugin name="validate_payment_method_on_place_order"
84+
type="Magento\QuoteGraphQl\Plugin\Quote\ValidatePaymentOnPlaceOrder"
85+
sortOrder="10"/>
8386
</type>
8487
<type name="Magento\QuoteGraphQl\Model\Resolver\UpdateCartItems">
8588
<arguments>
@@ -114,9 +117,4 @@
114117
</argument>
115118
</arguments>
116119
</type>
117-
<type name="Magento\Quote\Model\QuoteManagement">
118-
<plugin name="validate_payment_method_on_place_order"
119-
type="Magento\QuoteGraphQl\Plugin\Quote\ValidatePaymentOnPlaceOrder"
120-
sortOrder="10"/>
121-
</type>
122120
</config>

0 commit comments

Comments
 (0)