-
- arthurio

-
Total Posts: 10
Joined: 2012-10-11
|
Hey everyone.
I have event:
<frontend> <events> <payment_method_is_active> <observers> <customer_group_check> <class>company_modulename_model_payment_observer</class> <method>methodIsAvailable</method> </customer_group_check> </observers> </payment_method_is_active> </events> </frontend>
Also, I have a block, which dynamically creates necessary fields in back-end.
I want to get values from this block to my observer, but not these values, which are saved. I need variables which i declared in block class.
In block function I have(included only necessary part):
protected function _getFieldHtml($fieldset, $payment) { $paymentCode = $payment->getId();
I need this $paymentCode variable to my observer.
If you need more details, just ask.
Many thanks.
|