Created
May 3, 2017 05:53
-
-
Save rintoug/2ed0bd65183d940e083769dd63aa9c16 to your computer and use it in GitHub Desktop.
Create a Custom Payment Method Module in Magento - system.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <config> | |
| <sections> | |
| <payment> | |
| <groups> | |
| <localpay translate="label" module="localpay"> | |
| <label>Localpay</label> | |
| <sort_order>1000</sort_order> | |
| <show_in_default>1</show_in_default> | |
| <show_in_website>1</show_in_website> | |
| <show_in_store>1</show_in_store> | |
| <fields> | |
| <title translate="label"> | |
| <label>Title</label> | |
| <frontend_type>text</frontend_type> | |
| <show_in_default>1</show_in_default> | |
| <show_in_website>1</show_in_website> | |
| <show_in_store>1</show_in_store> | |
| <sort_order>1</sort_order> | |
| </title> | |
| <active translate="label"> | |
| <label>Enabled</label> | |
| <frontend_type>select</frontend_type> | |
| <source_model>adminhtml/system_config_source_yesno</source_model> | |
| <show_in_default>1</show_in_default> | |
| <show_in_website>1</show_in_website> | |
| <show_in_store>0</show_in_store> | |
| <sort_order>2</sort_order> | |
| </active> | |
| <merchantid translate="label"> | |
| <label>Merchant ID</label> | |
| <frontend_type>text</frontend_type> | |
| <show_in_default>1</show_in_default> | |
| <show_in_website>1</show_in_website> | |
| <show_in_store>0</show_in_store> | |
| <sort_order>3</sort_order> | |
| </merchantid> | |
| <accesscode translate="label"> | |
| <label>Access Code</label> | |
| <frontend_type>text</frontend_type> | |
| <show_in_default>1</show_in_default> | |
| <show_in_website>1</show_in_website> | |
| <show_in_store>0</show_in_store> | |
| <sort_order>4</sort_order> | |
| </accesscode> | |
| <securehash translate="label"> | |
| <label>Secure Hash</label> | |
| <frontend_type>text</frontend_type> | |
| <show_in_default>1</show_in_default> | |
| <show_in_website>1</show_in_website> | |
| <show_in_store>0</show_in_store> | |
| <sort_order>5</sort_order> | |
| </securehash> | |
| <returnurl translate="label"> | |
| <label>Return URl</label> | |
| <frontend_type>text</frontend_type> | |
| <show_in_default>1</show_in_default> | |
| <show_in_website>1</show_in_website> | |
| <show_in_store>0</show_in_store> | |
| <sort_order>6</sort_order> | |
| </returnurl> | |
| <order_status translate="label"> | |
| <label>New order status</label> | |
| <frontend_type>select</frontend_type> | |
| <source_model>adminhtml/system_config_source_order_status</source_model> | |
| <show_in_default>1</show_in_default> | |
| <show_in_website>1</show_in_website> | |
| <show_in_store>0</show_in_store> | |
| <sort_order>7</sort_order> | |
| </order_status> | |
| <allowspecific translate="label"> | |
| <label>Payment from applicable countries</label> | |
| <frontend_type>allowspecific</frontend_type> | |
| <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>1</show_in_store> | |
| <sort_order>8</sort_order> | |
| </allowspecific> | |
| <specificcountry translate="label"> | |
| <label>Payment from Specific countries</label> | |
| <frontend_type>multiselect</frontend_type> | |
| <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>1</show_in_store> | |
| <sort_order>9</sort_order> | |
| </specificcountry> | |
| </fields> | |
| </localpay> | |
| </groups> | |
| </payment> | |
| </sections> | |
| </config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment