How to make offline payment type as prepaid in magento 2?
-
08-04-2021 - |
Вопрос
I created a offline payment method for admin. If I use that payment method to create an order means it showing as COD as the payment method type. But I want to make as Prepaid.
Решение
I get the solution by I changed the following code
/**
* @var string
protected $_code = 'prepaid';
/**
* @var string
*/
protected $_gatewayCode = 'prepaid';
Не связан с magento.stackexchange