I need to create a custom module that shows the payment methods allowed on the shopping cart page.
The shipping estimate is already present in the cart, I must add the choice of payment to this functionality.
In this way, from the cart it will be possible to choose how to pay for the order.
Once in the checkout the chosen payment method will already be selected.
Looking at the attached images, block 1 must be able to appear in block 2.
Attention: you must not move the payment methods from the checkout to the cart, but make them available also in the cart.
The Mageplaza - Magento 2 Payment Restrictions module is installed on the site. It hides and shows the payment methods with respect to the business logic.
I urgently need to implement this feature in a maximum of 10 working days.