TLDR; Clone “PayPal All-In-One Payment Solution” payment method to have THREE different payment methods in “Payment Options” section of the checkout process.
Magento 2 comes with “PayPal All-In-One Payment Solution” that enables user to pay by PayPal but also by credit/debit card through the same payment method.
When this option is enabled, it shows only ONE payment option in the checkout process. This is understandable, however, I would like to offer more than one payment option in the checkout “Payment Method” section such as “Credit Card”, “Debit Card” and “PayPal” which all go to the same place.
In conclusion, my goal is to create two more radio buttons in the “Payment Method” section of the checkout that mimic “PayPal All-In-One Payment Solution” logic.
To visualise my goal:
PayPal Payment ---- [PayPal Method]
Credit Card --- Debit Card ----- [PayPal Method] PayPal ---
I don’t even know where to start so any help or directions will be highly appreciated.