0

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.

5
  • You just need to change title from COD to Prepaid or anything else Feb 9, 2020 at 7:10
  • I changed the title in config.xml but it didn't work. where do I need to change?
    – Arul
    Feb 9, 2020 at 8:34
  • You can create a new order status: Prepaid. Assign this status to pending state. Go to SALES > Payment Methods > Cash On Delivery Payment > New Order Status > change to Prepaid. Feb 9, 2020 at 11:28
  • is this will change the payment type COD to Prepaid?
    – Arul
    Feb 10, 2020 at 1:44
  • @Arul can you add screenshot where exactly you need to change title Feb 11, 2020 at 15:51

1 Answer 1

0

I get the solution by I changed the following code

/**
 * @var string
protected $_code            = 'prepaid';
/**
 * @var string
 */
protected $_gatewayCode      = 'prepaid';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.