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 7574125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:21:28+00:00 2026-05-30T16:21:28+00:00

I have downloaded a module from a blog and it works fine. but i

  • 0

I have downloaded a module from a blog and it works fine. but i need to add two more text boxes.

 class Excellence_Pay_Block_Info_Pay extends Mage_Payment_Block_Info
    {
        protected function _prepareSpecificInformation($transport = null)
        {
            if (null !== $this->_paymentSpecificInformation) {
                return $this->_paymentSpecificInformation;
            }
            $info = $this->getInfo();
            $transport = new Varien_Object();
            $transport = parent::_prepareSpecificInformation($transport);
            $transport->addData(array(
                Mage::helper('payment')->__('Voucher #') => $info->getCheckNo(),
                Mage::helper('payment')->__('Voucher Date') => $info->getCheckDate(),
                Mage::helper('payment')->__('Field Date') => $info->getCheckField(), //custom field
                Mage::helper('payment')->__('Field new') => $info->getCheckField1() //custom field
            ));
            return $transport;
        }
    }

I change the code to this in block/info, and change some code in model/pay.php




public function assignData($data)
        {
            if (!($data instanceof Varien_Object)) {
                $data = new Varien_Object($data);
            }
            $info = $this->getInfoInstance();
            $info->setCheckNo($data->getCheckNo())
            ->setCheckDate($data->getCheckDate())
            ->setCheckField($data->getCheckField())
            ->setCheckField1($data->getCheckField1());
            return $this;
        }

and add some code etc/config.xml

<fieldsets>
             <sales_convert_quote_payment>
                <check_no>
                    <to_order_payment>*</to_order_payment>
                </a>
                <check_date>
                    <to_order_payment>*</to_order_payment>
                </check_date>
                <check_field>
                    <to_order_payment>*</to_order_payment>
                </check_field>
                <check_field1>
                    <to_order_payment>*</to_order_payment>
                </check_field1>
             </sales_convert_quote_payment>
        </fieldsets>

but its not functioning. . I also updated the database and add some input textbox in pay.phtml.

  • 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-30T16:21:30+00:00Added an answer on May 30, 2026 at 4:21 pm

    Please refer to same questions answered here before

    Magento Payment Info Block

    Saving extra data with an order in Magento

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

have downloaded page by webbrowser and need to get mail address. But it is
I have downloaded the two releases of python 2.6.8 from here http://www.python.org/getit/releases/2.6.8/ and I
I have downloaded follwing code from one of Google Codes but problem is in
I have downloaded the Kohana Pagination module from Git and have been having some
i have installed PrestaShop™ 1.4.7.3 i download the module BillSafe from http://www.billsafe.de/ I configure
I have just downloaded and installed the 'facebook status' module and 'user feedback' module
We're using DotNetNuke 5.01. I've downloaded a module from a third party company. While
I have downloaded php 5.4.0 from php.net and i want to upgrade it on
I downloaded the php_printer extension from http://downloads.php.net/pierre/ . But when i try to configure
I have with my Cucumbertesting, downloaded an .xls file, but this is downloaded as

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.