0

I am a beginner to Magento, I want to send the form fields data from payment method step in the onepage checkout Page to a model without saving data in the database.

Please find the below screenshot enter image description here

Magento : 1.9.2.0

I want to get the data in the following file: app/code/community/PayUbiz/PayUbiz/Model/Standard.php with method name : getStandardCheckoutFormFields()

1 Answer 1

0

You need to create an observer in your module to listen the following observers

sales_quote_payment_import_data_before or sales_order_payment_save_before

Use Mage::app()->getRequest()->getParam('field_name_here') this code for get the params.

use any of them and do your stuff there.

2
  • I want to get the data in the following file: app/code/community/PayUbiz/PayUbiz/Model/Standard.php with method name : getStandardCheckoutFormFields
    – prashanth
    Commented Sep 19, 2017 at 12:17
  • I have created the observer in the payment module still I am not getting the data.
    – prashanth
    Commented Sep 20, 2017 at 9:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.