magento自定义付款方式表单没有在现场显示,但正在进行分期付款


magento custom payment method form not showing on live site but working on staging

我有自定义的支付模块。我发现在一步检查中,这就是付款方式表格的呈现方式:

<?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
<dd id="container_payment_method_<?php echo $_code; ?>" class="payment-method" <?php      if(!$this->getSelectedMethodCode()==$_code || !($hide_nonfree_methods && $_code == 'free')): ?> style="display:none"<?php endif; ?>>
<?php echo $html; ?>
</dd>

因此,对于我的方法$this->getPaymentMethodFormHtml($_method)是FALSE。为什么?请帮帮我,

检查您的后端

system > configuration > sales > payment methods

启用了任何方法?

如果没有启用,它将返回FALSE