How to apply a discount on products when a specific payment method is used?

How to apply a discount on products when a specific payment method is used?

In the default Magento configuration, you can establish a rule that offers a discount when customers opt for a specific payment method. To set up this promotion, go to Marketing → Cart Price Rules and configure the specified conditions:



On the frontend, the customer will receive a discount after they choose the required payment option: 



However, since the payment method is chosen in the final step of checkout, the discount will only be visible to the customer when completing the order.

As a workaround, our One Step Checkout can be used. This extension consolidates all checkout steps onto a single page, allowing customers to input all necessary details and view the applicable discount on the same page.