1

Modifying a payment module I'm not having any success changing the "payment name" that is placed in table sales_flat_order_payment in field "method". For example if payment is check, it is populated with checkmo. I've tried changing

protected $_code = '.........'; in payment.php with no success.

I'm guessing this name may need changing in multiple places?

I have researched this but any answers I can find are assuming I have the skill level to know how to duplicate or modify the extension. magento ver 1.4.1.1

more info; I'm using a Western Union payment extension as a Bpay payment extension and that field method is used to SMS payment type to me (and it would be more elegant it said what it really was!)

4

2 回答 2

0

通过复制与您尝试做的最匹配的其他支付模块之一来创建新的支付模块。

如果您尝试为支票创建支付模块,请查看创建新的支付方式

于 2012-11-27T11:10:48.697 回答
0

最好为此使用单独的付款方式。您可以复制一些现有方法,并使用您的自定义名称。

于 2012-11-27T07:11:04.880 回答