How to make offline payment type as prepaid in magento 2?
-
08-04-2021 - |
Frage
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.
Lösung
I get the solution by I changed the following code
/**
* @var string
protected $_code = 'prepaid';
/**
* @var string
*/
protected $_gatewayCode = 'prepaid';
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange