Skip to content

Commit 4621428

Browse files
authored
Update use-cases.md
1 parent 9c1ad6d commit 4621428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/starter-kit/checkout/use-cases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Refer to [`actions/validate-payment.js`](https://github.com/adobe/commerce-check
142142

143143
In some cases, you may want to filter out a payment method based on the cart details or the customer's information. For example, you may want to disable a payment method based on customer group or product attributes in the cart.
144144

145-
To filter out a payment method, you can use the `plugin.magento.out_of_process_payment_methods.api.payment_method_filter.get_list` webhook. This webhook is triggered every time the list of available payment methods is requested, allowing you to filter out the payment methods based on the cart details or customer information.
145+
You can use the `plugin.magento.out_of_process_payment_methods.api.payment_method_filter.get_list` webhook to filter out a payment method. This webhook is triggered every time the list of available payment methods is requested, allowing you to filter out the payment methods based on the cart details or customer information.
146146

147147
The following example demonstrates how to add a webhook to the `plugin.magento.out_of_process_payment_methods.api.payment_method_filter.get_list` method:
148148

0 commit comments

Comments
 (0)