Magento 2 – Advance / but do not show bank transfer in the front end in the backend for admin

In a new project, we needed a solution QND, the payment method “Advance” (or. Bank Transfer) hide in the frontend, but they allow the back end as a possible method of payment for the detection by a Admin. In Magento 1 was relatively easy to achieve this. In Magento 2 but this is much more difficult. We have purposely written a mini-Extension,…