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