support

Author Topic: How set default value as full url and make filed disabled in payment config page  (Read 5467 times)

Offline vishwanath

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Hi All,

I have make config.xml file and have one field as notification url
<item id="custom_hpp_notificationURL">
            <type>input</type>
            <default_value>HTTP_SERVER/index.php?rt=extension/custom_hpp/callback</default_value>
        </item>

i want two things here :

1) it will return full URL in admin on payment configuration page as
fullURL/index.php?rt=extension/custom_hpp/callback

2) make this filed disabled or non editable for admin.

How can i do this? Please help me.
Thnaks,
« Last Edit: October 20, 2016, 09:29:13 AM by vishwanath »

 

Powered by SMFPacks Social Login Mod