Magento Admin Menu action not working gives 404 error Magento 1.9.2.4Admin personal module routes failedMagento custom admin module not routing to controllerCustom Module back end keeps coming up as a 404Admin page gives 404 error after domain name change404 Error. Magento2 admin page not workingCustom Module Displays Blank PageAdmin custom page form action not workingCustom module admin panel section gives 404 error on saveMagento Custom Admin Module gives 404 errorNew extension appears in admin menu but gives error 404 when i click on it

What is the difference between 2/4 and 4/4 when it comes the accented beats?

How can a class have multiple methods without breaking the single responsibility principle

Why is “deal 6 damage” a legit phrase?

Can an alphabet for a Turing machine contain subsets of other alphabets?

How do people drown while wearing a life jacket?

Is this popular optical illusion made of a grey-scale image with coloured lines?

Went to a big 4 but got fired for underperformance in a year recently - Now every one thinks I'm pro - How to balance expectations?

Is it moral to remove/hide certain parts of a photo, as a photographer?

Feedback diagram

What's the term for a group of people who enjoy literary works?

cannot trash malware NGPlayerSetup.dmg

Can I shorten this filter, that finds disk sizes over 100G?

Pre-Greek θάλασσα "thalassa" and Turkish talaz

Reasons for using monsters as bioweapons

Overprovisioning SSD on ubuntu. How? Ubuntu 19.04 Samsung SSD 860

Map vs. Table for index-specific operations on 2D arrays

Basic transistor circuit

How to avoid a lengthy conversation with someone from the neighborhood I don't share interests with

Export economy of Mars

Gold Battle KoTH

Plotting Chebyshev polynomials using PolarPlot and FilledCurve

Why are sugars in whole fruits not digested the same way sugars in juice are?

Why have both: BJT and FET transistors on IC output?

What do the screens say after you are set free?



Magento Admin Menu action not working gives 404 error Magento 1.9.2.4


Admin personal module routes failedMagento custom admin module not routing to controllerCustom Module back end keeps coming up as a 404Admin page gives 404 error after domain name change404 Error. Magento2 admin page not workingCustom Module Displays Blank PageAdmin custom page form action not workingCustom module admin panel section gives 404 error on saveMagento Custom Admin Module gives 404 errorNew extension appears in admin menu but gives error 404 when i click on it






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















Problem Statement: I have created an adminmenu and call an action on it. For the action, I have created one controller. When click on menu it redirects to 404 page on front side.(Can't access to controller and it jump to frontarea)
Code is as below:



config.xml (demo/etc/config.xml)



<?xml version="1.0"?>
<config>
<modules>
<Sevenbits_Demo>
<version>1.0.0</version>
</Sevenbits_Demo>
</modules>
<global>
<models>
<demo>
<class>Sevenbits_Demo_Model</class>
</demo>
</models>
<helpers>
<demo>
<class>Sevenbits_Demo_Helper</class>
</demo>
</helpers>
<blocks>
<demo>
<class>Sevenbits_Demo_Block</class>
</demo>
</blocks>
</global>
<!-- Frontend Controller started here -->
<frontend>
<routers>
<demo>
<use>standard</use>
<args>
<frontName>Demo</frontName>
<module>Sevenbits_Demo</module>
</args>
</demo>
</routers>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>

</updates>
</layout>
</frontend>
<!-- Frontend Controller end here -->

<!-- Frontend Controller started here -->
<admin>
<routers>
<adminhtml>
<args>
<module>
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>

</module>
</args>
</adminhtml>
</routers>
</admin>
<!-- Frontend Controller end here -->
</config>


adminhtml.xml(demo/etc/adminhtml.xml)



<?xml version="1.0"?>
<config>
<menu>
<demo transalte="title" module="demo">
<title>Mage Hunter</title>
<sort_order>1000</sort_order>
<action>Adminhtml/demo</action>
</demo>
</menu>
</config>


DemoController.php (/demo/controllers/Adminhtml/DemoController.php)



<?php

class Sevenbits_Demo_Adminhtml_DemoController extends Mage_Adminhtml_Controller_Action


public function indexAction()

//$this->loadLayout();
echo "Hwll";
return $this->renderLayout();





After Menu click (page redirect to 404 page and display frontend layout) get this output.










share|improve this question
































    2















    Problem Statement: I have created an adminmenu and call an action on it. For the action, I have created one controller. When click on menu it redirects to 404 page on front side.(Can't access to controller and it jump to frontarea)
    Code is as below:



    config.xml (demo/etc/config.xml)



    <?xml version="1.0"?>
    <config>
    <modules>
    <Sevenbits_Demo>
    <version>1.0.0</version>
    </Sevenbits_Demo>
    </modules>
    <global>
    <models>
    <demo>
    <class>Sevenbits_Demo_Model</class>
    </demo>
    </models>
    <helpers>
    <demo>
    <class>Sevenbits_Demo_Helper</class>
    </demo>
    </helpers>
    <blocks>
    <demo>
    <class>Sevenbits_Demo_Block</class>
    </demo>
    </blocks>
    </global>
    <!-- Frontend Controller started here -->
    <frontend>
    <routers>
    <demo>
    <use>standard</use>
    <args>
    <frontName>Demo</frontName>
    <module>Sevenbits_Demo</module>
    </args>
    </demo>
    </routers>
    <layout>
    <updates>
    <demo>
    <file>demo.xml</file>
    </demo>

    </updates>
    </layout>
    </frontend>
    <!-- Frontend Controller end here -->

    <!-- Frontend Controller started here -->
    <admin>
    <routers>
    <adminhtml>
    <args>
    <module>
    <demo before="Mage_Adminhtml">
    Sevenbits_Demo_Adminhtml
    </demo>

    </module>
    </args>
    </adminhtml>
    </routers>
    </admin>
    <!-- Frontend Controller end here -->
    </config>


    adminhtml.xml(demo/etc/adminhtml.xml)



    <?xml version="1.0"?>
    <config>
    <menu>
    <demo transalte="title" module="demo">
    <title>Mage Hunter</title>
    <sort_order>1000</sort_order>
    <action>Adminhtml/demo</action>
    </demo>
    </menu>
    </config>


    DemoController.php (/demo/controllers/Adminhtml/DemoController.php)



    <?php

    class Sevenbits_Demo_Adminhtml_DemoController extends Mage_Adminhtml_Controller_Action


    public function indexAction()

    //$this->loadLayout();
    echo "Hwll";
    return $this->renderLayout();





    After Menu click (page redirect to 404 page and display frontend layout) get this output.










    share|improve this question




























      2












      2








      2








      Problem Statement: I have created an adminmenu and call an action on it. For the action, I have created one controller. When click on menu it redirects to 404 page on front side.(Can't access to controller and it jump to frontarea)
      Code is as below:



      config.xml (demo/etc/config.xml)



      <?xml version="1.0"?>
      <config>
      <modules>
      <Sevenbits_Demo>
      <version>1.0.0</version>
      </Sevenbits_Demo>
      </modules>
      <global>
      <models>
      <demo>
      <class>Sevenbits_Demo_Model</class>
      </demo>
      </models>
      <helpers>
      <demo>
      <class>Sevenbits_Demo_Helper</class>
      </demo>
      </helpers>
      <blocks>
      <demo>
      <class>Sevenbits_Demo_Block</class>
      </demo>
      </blocks>
      </global>
      <!-- Frontend Controller started here -->
      <frontend>
      <routers>
      <demo>
      <use>standard</use>
      <args>
      <frontName>Demo</frontName>
      <module>Sevenbits_Demo</module>
      </args>
      </demo>
      </routers>
      <layout>
      <updates>
      <demo>
      <file>demo.xml</file>
      </demo>

      </updates>
      </layout>
      </frontend>
      <!-- Frontend Controller end here -->

      <!-- Frontend Controller started here -->
      <admin>
      <routers>
      <adminhtml>
      <args>
      <module>
      <demo before="Mage_Adminhtml">
      Sevenbits_Demo_Adminhtml
      </demo>

      </module>
      </args>
      </adminhtml>
      </routers>
      </admin>
      <!-- Frontend Controller end here -->
      </config>


      adminhtml.xml(demo/etc/adminhtml.xml)



      <?xml version="1.0"?>
      <config>
      <menu>
      <demo transalte="title" module="demo">
      <title>Mage Hunter</title>
      <sort_order>1000</sort_order>
      <action>Adminhtml/demo</action>
      </demo>
      </menu>
      </config>


      DemoController.php (/demo/controllers/Adminhtml/DemoController.php)



      <?php

      class Sevenbits_Demo_Adminhtml_DemoController extends Mage_Adminhtml_Controller_Action


      public function indexAction()

      //$this->loadLayout();
      echo "Hwll";
      return $this->renderLayout();





      After Menu click (page redirect to 404 page and display frontend layout) get this output.










      share|improve this question
















      Problem Statement: I have created an adminmenu and call an action on it. For the action, I have created one controller. When click on menu it redirects to 404 page on front side.(Can't access to controller and it jump to frontarea)
      Code is as below:



      config.xml (demo/etc/config.xml)



      <?xml version="1.0"?>
      <config>
      <modules>
      <Sevenbits_Demo>
      <version>1.0.0</version>
      </Sevenbits_Demo>
      </modules>
      <global>
      <models>
      <demo>
      <class>Sevenbits_Demo_Model</class>
      </demo>
      </models>
      <helpers>
      <demo>
      <class>Sevenbits_Demo_Helper</class>
      </demo>
      </helpers>
      <blocks>
      <demo>
      <class>Sevenbits_Demo_Block</class>
      </demo>
      </blocks>
      </global>
      <!-- Frontend Controller started here -->
      <frontend>
      <routers>
      <demo>
      <use>standard</use>
      <args>
      <frontName>Demo</frontName>
      <module>Sevenbits_Demo</module>
      </args>
      </demo>
      </routers>
      <layout>
      <updates>
      <demo>
      <file>demo.xml</file>
      </demo>

      </updates>
      </layout>
      </frontend>
      <!-- Frontend Controller end here -->

      <!-- Frontend Controller started here -->
      <admin>
      <routers>
      <adminhtml>
      <args>
      <module>
      <demo before="Mage_Adminhtml">
      Sevenbits_Demo_Adminhtml
      </demo>

      </module>
      </args>
      </adminhtml>
      </routers>
      </admin>
      <!-- Frontend Controller end here -->
      </config>


      adminhtml.xml(demo/etc/adminhtml.xml)



      <?xml version="1.0"?>
      <config>
      <menu>
      <demo transalte="title" module="demo">
      <title>Mage Hunter</title>
      <sort_order>1000</sort_order>
      <action>Adminhtml/demo</action>
      </demo>
      </menu>
      </config>


      DemoController.php (/demo/controllers/Adminhtml/DemoController.php)



      <?php

      class Sevenbits_Demo_Adminhtml_DemoController extends Mage_Adminhtml_Controller_Action


      public function indexAction()

      //$this->loadLayout();
      echo "Hwll";
      return $this->renderLayout();





      After Menu click (page redirect to 404 page and display frontend layout) get this output.







      magento-1.9 admin 404






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 19 '16 at 6:20







      Vasim Shaikh

















      asked Jul 18 '16 at 11:00









      Vasim ShaikhVasim Shaikh

      1251 silver badge9 bronze badges




      1251 silver badge9 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          0














          remove the new lines in here:



          <demo before="Mage_Adminhtml">
          Sevenbits_Demo_Adminhtml
          </demo>


          make that look like this



          <demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>





          share|improve this answer

























          • still same issue

            – Vasim Shaikh
            Jul 18 '16 at 11:08


















          0














          You need to define layout for it



          Create file for it app/design/adminhtml/default/default/layout/demo.xml



          add below code to it:



          <?xml version="1.0"?>
          <layout version="0.1.0">
          <adminhtml_demo_index>
          <reference name="content">
          <block type="demo/adminhtml_demo" name="demo" />
          </reference>
          </adminhtml_demo_index>
          </layout>


          Also you need to add below code in config.xml file between <adminhtml></adminhtml>



          <layout>
          <updates>
          <demo>
          <file>demo.xml</file>
          </demo>
          </updates>
          </layout>


          Also give the link



          <action>adminhtml/demo</action> instead of <action>Adminhtml/demo</action>






          share|improve this answer



























          • ok @prashant let me check

            – Vasim Shaikh
            Jul 18 '16 at 11:16











          • I have already demo.xml

            – Vasim Shaikh
            Jul 18 '16 at 11:17











          • Where it is located and what is inside it?

            – Prashant Valanda
            Jul 18 '16 at 11:18











          • its in frontend

            – Vasim Shaikh
            Jul 18 '16 at 11:18











          • I just added into adminhtml

            – Vasim Shaikh
            Jul 18 '16 at 11:19













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f126170%2fmagento-admin-menu-action-not-working-gives-404-error-magento-1-9-2-4%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          remove the new lines in here:



          <demo before="Mage_Adminhtml">
          Sevenbits_Demo_Adminhtml
          </demo>


          make that look like this



          <demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>





          share|improve this answer

























          • still same issue

            – Vasim Shaikh
            Jul 18 '16 at 11:08















          0














          remove the new lines in here:



          <demo before="Mage_Adminhtml">
          Sevenbits_Demo_Adminhtml
          </demo>


          make that look like this



          <demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>





          share|improve this answer

























          • still same issue

            – Vasim Shaikh
            Jul 18 '16 at 11:08













          0












          0








          0







          remove the new lines in here:



          <demo before="Mage_Adminhtml">
          Sevenbits_Demo_Adminhtml
          </demo>


          make that look like this



          <demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>





          share|improve this answer













          remove the new lines in here:



          <demo before="Mage_Adminhtml">
          Sevenbits_Demo_Adminhtml
          </demo>


          make that look like this



          <demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 18 '16 at 11:03









          MariusMarius

          171k30 gold badges333 silver badges707 bronze badges




          171k30 gold badges333 silver badges707 bronze badges















          • still same issue

            – Vasim Shaikh
            Jul 18 '16 at 11:08

















          • still same issue

            – Vasim Shaikh
            Jul 18 '16 at 11:08
















          still same issue

          – Vasim Shaikh
          Jul 18 '16 at 11:08





          still same issue

          – Vasim Shaikh
          Jul 18 '16 at 11:08













          0














          You need to define layout for it



          Create file for it app/design/adminhtml/default/default/layout/demo.xml



          add below code to it:



          <?xml version="1.0"?>
          <layout version="0.1.0">
          <adminhtml_demo_index>
          <reference name="content">
          <block type="demo/adminhtml_demo" name="demo" />
          </reference>
          </adminhtml_demo_index>
          </layout>


          Also you need to add below code in config.xml file between <adminhtml></adminhtml>



          <layout>
          <updates>
          <demo>
          <file>demo.xml</file>
          </demo>
          </updates>
          </layout>


          Also give the link



          <action>adminhtml/demo</action> instead of <action>Adminhtml/demo</action>






          share|improve this answer



























          • ok @prashant let me check

            – Vasim Shaikh
            Jul 18 '16 at 11:16











          • I have already demo.xml

            – Vasim Shaikh
            Jul 18 '16 at 11:17











          • Where it is located and what is inside it?

            – Prashant Valanda
            Jul 18 '16 at 11:18











          • its in frontend

            – Vasim Shaikh
            Jul 18 '16 at 11:18











          • I just added into adminhtml

            – Vasim Shaikh
            Jul 18 '16 at 11:19















          0














          You need to define layout for it



          Create file for it app/design/adminhtml/default/default/layout/demo.xml



          add below code to it:



          <?xml version="1.0"?>
          <layout version="0.1.0">
          <adminhtml_demo_index>
          <reference name="content">
          <block type="demo/adminhtml_demo" name="demo" />
          </reference>
          </adminhtml_demo_index>
          </layout>


          Also you need to add below code in config.xml file between <adminhtml></adminhtml>



          <layout>
          <updates>
          <demo>
          <file>demo.xml</file>
          </demo>
          </updates>
          </layout>


          Also give the link



          <action>adminhtml/demo</action> instead of <action>Adminhtml/demo</action>






          share|improve this answer



























          • ok @prashant let me check

            – Vasim Shaikh
            Jul 18 '16 at 11:16











          • I have already demo.xml

            – Vasim Shaikh
            Jul 18 '16 at 11:17











          • Where it is located and what is inside it?

            – Prashant Valanda
            Jul 18 '16 at 11:18











          • its in frontend

            – Vasim Shaikh
            Jul 18 '16 at 11:18











          • I just added into adminhtml

            – Vasim Shaikh
            Jul 18 '16 at 11:19













          0












          0








          0







          You need to define layout for it



          Create file for it app/design/adminhtml/default/default/layout/demo.xml



          add below code to it:



          <?xml version="1.0"?>
          <layout version="0.1.0">
          <adminhtml_demo_index>
          <reference name="content">
          <block type="demo/adminhtml_demo" name="demo" />
          </reference>
          </adminhtml_demo_index>
          </layout>


          Also you need to add below code in config.xml file between <adminhtml></adminhtml>



          <layout>
          <updates>
          <demo>
          <file>demo.xml</file>
          </demo>
          </updates>
          </layout>


          Also give the link



          <action>adminhtml/demo</action> instead of <action>Adminhtml/demo</action>






          share|improve this answer















          You need to define layout for it



          Create file for it app/design/adminhtml/default/default/layout/demo.xml



          add below code to it:



          <?xml version="1.0"?>
          <layout version="0.1.0">
          <adminhtml_demo_index>
          <reference name="content">
          <block type="demo/adminhtml_demo" name="demo" />
          </reference>
          </adminhtml_demo_index>
          </layout>


          Also you need to add below code in config.xml file between <adminhtml></adminhtml>



          <layout>
          <updates>
          <demo>
          <file>demo.xml</file>
          </demo>
          </updates>
          </layout>


          Also give the link



          <action>adminhtml/demo</action> instead of <action>Adminhtml/demo</action>







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 18 '16 at 11:26

























          answered Jul 18 '16 at 11:13









          Prashant ValandaPrashant Valanda

          10.2k1 gold badge29 silver badges58 bronze badges




          10.2k1 gold badge29 silver badges58 bronze badges















          • ok @prashant let me check

            – Vasim Shaikh
            Jul 18 '16 at 11:16











          • I have already demo.xml

            – Vasim Shaikh
            Jul 18 '16 at 11:17











          • Where it is located and what is inside it?

            – Prashant Valanda
            Jul 18 '16 at 11:18











          • its in frontend

            – Vasim Shaikh
            Jul 18 '16 at 11:18











          • I just added into adminhtml

            – Vasim Shaikh
            Jul 18 '16 at 11:19

















          • ok @prashant let me check

            – Vasim Shaikh
            Jul 18 '16 at 11:16











          • I have already demo.xml

            – Vasim Shaikh
            Jul 18 '16 at 11:17











          • Where it is located and what is inside it?

            – Prashant Valanda
            Jul 18 '16 at 11:18











          • its in frontend

            – Vasim Shaikh
            Jul 18 '16 at 11:18











          • I just added into adminhtml

            – Vasim Shaikh
            Jul 18 '16 at 11:19
















          ok @prashant let me check

          – Vasim Shaikh
          Jul 18 '16 at 11:16





          ok @prashant let me check

          – Vasim Shaikh
          Jul 18 '16 at 11:16













          I have already demo.xml

          – Vasim Shaikh
          Jul 18 '16 at 11:17





          I have already demo.xml

          – Vasim Shaikh
          Jul 18 '16 at 11:17













          Where it is located and what is inside it?

          – Prashant Valanda
          Jul 18 '16 at 11:18





          Where it is located and what is inside it?

          – Prashant Valanda
          Jul 18 '16 at 11:18













          its in frontend

          – Vasim Shaikh
          Jul 18 '16 at 11:18





          its in frontend

          – Vasim Shaikh
          Jul 18 '16 at 11:18













          I just added into adminhtml

          – Vasim Shaikh
          Jul 18 '16 at 11:19





          I just added into adminhtml

          – Vasim Shaikh
          Jul 18 '16 at 11:19

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f126170%2fmagento-admin-menu-action-not-working-gives-404-error-magento-1-9-2-4%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?