If you try to create a new discount rule in Magento 2, you'll see a condition called "Payment Method" there. This condition means that the discount will be applied in case a customer selects a certain payment method. But actually, this rule will not work due to a small omission in Magento 2 checkout. In this article, we'll try to help you fix the issue in your Magento setup.
Default order grid in Magento provides only basic columns. Usually, the information provided by the columns is very poor and store-owners need some custom columns to be added for better convenience. Based on this, we decided to show some code snippets that should help newbie Magento developers add new custom columns to orders grid.