0
私はカスタマイズされた決済モジュールを作成しました。システム - >上級、また支払い方法でも、お支払い方法の選択時間はフロントエンドにはありません。 PlsはETC \アプリは\ code \ローカル\ GMO \支払い\私のコード新しいカスタマイズされた決済モジュール。フロントエンドに表示されない問題
を確認
config.xmlの
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<GMO_Payment>
<version>1.0.0</version>
</GMO_Payment>
</modules>
<global>
<models>
<GMO>
<class>GMO_Payment_Model</class>
</GMO>
</models>
<blocks>
<GMO_Payment>
<class>GMO_Payment_Block</class>
</GMO_Payment>
</blocks>
</global>
<resources>
<!-- resource identifier -->
<GMO_setup>
<!-- specify that this resource is a setup resource and used for upgrades -->
<setup>
<!-- which module to look for install/upgrade files in -->
<module>GMO_Payment</module>
</setup>
<!-- specify database connection for this resource -->
<connection>
<!-- do not create new connection, use predefined core setup connection -->
<use>core_setup</use>
</connection>
</GMO_setup>
<GMO_write>
<connection>
<use>core_write</use>
</connection>
</GMO_write>
<GMO_read>
<connection>
<use>core_read</use>
</connection>
</GMO_read>
</resources>
<default>
<payment>
<GMO>
<model>Payment/PaymentGMO</model>
<active>1</active>
<order_status>pending</order_status>
<title>GMO</title>
<payment_action>sale</payment_action>
<submit_url>https://someurl.com</submit_url>
<merchant_id>Insert merchant id</merchant_id>
<allowspecific>0</allowspecific>
<sort_order>1</sort_order>
</GMO>
</payment>
</default>
<frontend>
<routers>
<GMO>
<use>standard</use>
<args>
<module>GMO_Payment</module>
<frontName>GMO</frontName>
</args>
</GMO>
</routers>
</frontend>
</config>
System.Xmlの
<?xml version="1.0"?>
<config>
<sections>
<payment>
<groups>
<GMO_Payment translate="label comment" module="paypal">
<label>GMO</label>
<frontend_type>text</frontend_type>
<sort_order>0</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<active translate="label">
<label>Enabled</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
</active>
<title translate="label">
<label>Title</label>
<frontend_type>text</frontend_type>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</title>
<order_status translate="label">
<label>New Order Status</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_order_status</source_model>
<sort_order>50</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
</order_status>
<submit_url>
<label>Gateway URL</label>
<frontend_type>text</frontend_type>
<sort_order>58</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
</submit_url>
<merchant_id>
<label>Merchant ID</label>
<frontend_type>text</frontend_type>
<sort_order>59</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
</merchant_id>
<allowspecific translate="label">
<label>Payment Applicable From</label>
<frontend_type>select</frontend_type>
<sort_order>60</sort_order>
<source_model>adminhtml/system_config_source_payment_allspecificcountries
</source_model>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
</allowspecific>
<specificcountry translate="label">
<label>Countries Payment Applicable From</label>
<frontend_type>multiselect</frontend_type>
<sort_order>70</sort_order>
<source_model>adminhtml/system_config_source_country</source_model>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
<depends><allowspecific>1</allowspecific></depends>
</specificcountry>
<sort_order translate="label">
<label>Sort Order</label>
<frontend_type>text</frontend_type>
</sort_order><sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
</fields>
</GMO_Payment>
</groups>
</payment>
</sections>
</config>
app \ code \ local \ GMO \ Payment \ Model \ standard.php