How to Create a Payment Method Only Visible in Admin

Additionally to our latest post, we decided to create an example extension of a payment method visible only in admin area. Let's have a quick look together.

In this extension you will see the minimum requirements need to create a simple offline payment method visible only in admin area. As we mentioned also in our last post, the most important thing to make that happened is the definition of the configuration we can see in config.xml below and especially the options can_use_checkout and can_use_internal. can_use_checkout determines if payment method is available in storefront checkout and can_use_internal determines if payment method is available in Admin order creation.

The full example as extension can be found here.

Feel free to share this post and ask your questions in the comments below.

Till next time!

DigitalOcean Referral Badge