Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6604437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:09:21+00:00 2026-05-25T19:09:21+00:00

I’m having some issues with my custom payment module. The problem is that whatever

  • 0

I’m having some issues with my custom payment module.

The problem is that whatever I try, I can’t see the selection for my payment method in the frontend.

This might seem like a duplicate of similar questions, but I’ve already read them and the solutions didn’t work out for me.

The setup

File tree:

/app/code/local/CatalystCode/EwirePayment/
-controllers/
--CallbackController.php
-etc/
--config.xml
-etc/
--system.xml
-Model/
--Payment.php

The content

config.xml:

<?xml version="1.0"?>
<config>    
    <modules>
        <CatalystCode_EwirePayment>
            <version>0.1.0</version>
        </CatalystCode_EwirePayment>
    </modules>
    <global>

                <resources>
                    <ewirepayment_setup>
                        <setup>
                            <module>CatalystCode_EwirePayment</module>
                        </setup>
                        <connection>
                            <use>core_setup</use>
                        </connection>
                    </ewirepayment_setup>
                    <ewirepayment_write>
                        <connection>
                            <use>core_write</use>
                        </connection>
                    </ewirepayment_write>
                    <ewirepayment_read>
                        <connection>
                        <use>core_read</use>
                            </connection>
                    </ewirepayment_read>
                </resources>        

        <events>
            <controller_front_init_routers>
                <observers>
                    <CatalystCode_ewirepayment_model_observer>
                        <type>singleton</type>                          
                        <class>CatalystCode_EwirePayment_Model_Observer</class>
                        <method>checkForConfigRequest</method>
                    </CatalystCode_ewirepayment_model_observer>
                </observers>
            </controller_front_init_routers>
        </events>


    <frontend>
        <routers>
            <ewirepayment>
                <use>standard</use>
                <args>
                    <module>CatalystCode_EwirePayment</module>
                    <frontName>ewirepayment</frontName>
                </args>
            </ewirepayment>
        </routers>  
    </frontend>    

    </global>    


<default>
    <payment>
        <ewirepayment>
            <active>1</active>
            <model>ewirepayment/payment</model>
            <order_status>pending</order_status>
            <title>Pay with Ewire</title>           
        </ewirepayment>
    </payment>
</default>

</config> 

system.xml:

<?xml version="1.0"?>
<config>
    <sections>


        <payment>
            <groups>
                <CatalystCode_EwirePayment>


                    <label>Ewire Payment</label>

                    <sort_order>670</sort_order>
                    <show_in_default>1</show_in_default>
                    <show_in_website>1</show_in_website>
                    <show_in_store>0</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>1</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>0</show_in_store>
                        </active>

                        <company_id translate="label">
                            <label>CompanyID</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>2</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>0</show_in_store>
                        </company_id>
                        <encryption_key translate="label">
                            <label>Encryption key</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>3</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>0</show_in_store>
                        </encryption_key>

                        <payment_action translate="label">
                            <label>Payment Action</label>
                            <frontend_type>select</frontend_type>

                            <source_model>paygate/authorizenet_source_paymentAction</source_model>
                            <sort_order>4</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>0</show_in_store>
                        </payment_action>

                        <order_status translate="label">
                            <label>New order status</label>
                            <frontend_type>select</frontend_type>
                            <source_model>adminhtml/system_config_source_order_status_processing</source_model>
                            <sort_order>5</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>

                        <test translate="label">
                            <label>Test mode</label>
                            <frontend_type>select</frontend_type>

                            <source_model>adminhtml/system_config_source_yesno</source_model>
                            <sort_order>6</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>0</show_in_store>
                        </test>                        

                        <title translate="label">
                            <label>Title</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>7</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </title>

                    </fields>
                </CatalystCode_EwirePayment>
            </groups>
        </payment>
    </sections>
</config>

Payment.php

<?php

    class CatalystCode_EwirePayment_Model_Payment extends Mage_Payment_Model_Method_Abstract
    {
        protected $_code  = 'ewirepayment';

        protected $_isInitializeNeeded      = true;
        protected $_canUseInternal          = false;
        protected $_canUseForMultishipping  = false;


        /**
        * Return Order place redirect url
        *
        * @return string
        */
        public function getOrderPlaceRedirectUrl()
        {
            // TODO - fix the url when I'm able to select my payment method...
            return Mage::getUrl('customcard/standard/redirect', array('_secure' => true));
        }

    }       
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:09:22+00:00Added an answer on May 25, 2026 at 7:09 pm

    Seems like you are missing a models section so it has no idea where to find your classes.

    <?xml version="1.0"?>
    <config>
        <modules>
            <CatalystCode_EwirePayment>
                <version>0.1.0</version>
            </CatalystCode_EwirePayment>
        </modules>
        <global>
            <models>
                <ewirepayment>
                    <class>CatalystCode_EwirePayment_Model</class>
                </ewirepayment>
            </models>
            <resources>
                <ewirepayment_setup>
                    <setup>
                        <module>CatalystCode_EwirePayment</module>
                    </setup>
                    <connection>
                        <use>core_setup</use>
                    </connection>
                </ewirepayment_setup>
                <ewirepayment_write>
                    <connection>
                        <use>core_write</use>
                    </connection>
                </ewirepayment_write>
                <ewirepayment_read>
                    <connection>
                        <use>core_read</use>
                    </connection>
                </ewirepayment_read>
            </resources>
            <events>
                <controller_front_init_routers>
                    <observers>
                        <CatalystCode_ewirepayment_model_observer>
                            <type>singleton</type>
                            <class>ewirepayment/observer</class>
                            <method>checkForConfigRequest</method>
                        </CatalystCode_ewirepayment_model_observer>
                    </observers>
                </controller_front_init_routers>
            </events>
            <frontend>
                <routers>
                    <ewirepayment>
                        <use>standard</use>
                        <args>
                            <module>CatalystCode_EwirePayment</module>
                            <frontName>ewirepayment</frontName>
                        </args>
                    </ewirepayment>
                </routers>
            </frontend>
        </global>
        <default>
            <payment>
                <ewirepayment>
                    <active>1</active>
                    <model>ewirepayment/payment</model>
                    <order_status>pending</order_status>
                    <title>Pay with Ewire</title>
                </ewirepayment>
            </payment>
        </default>
    </config>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a French site that I want to parse, but am running into
We're building an app, our first using Rails 3, and we're having to build
I have some data like this: 1 2 3 4 5 9 2 6
Seemingly simple, but I cannot find anything relevant on the web. What is the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.