Quote Originally Posted by icecold View Post
so far so good but where the module method has to be called in order to pass the hidden fields to the form?

In this line inside the module ic I call for a bogus action, but nothing happens from the line of code after //This is not working:

PHP Code:
function ic() {
    global 
$order;

    
$this->code 'ic';
    if (
IS_ADMIN_FLAG === true) {
      
// Payment module title in Admin
      
$this->title MODULE_PAYMENT_IC_TEXT_ADMIN_TITLE;
    } else {
      
$this->title MODULE_PAYMENT_IC_TEXT_CATALOG_TITLE;
    }
    
$this->description MODULE_PAYMENT_IC_TEXT_DESCRIPTION;
    
$this->sort_order MODULE_PAYMENT_IC_SORT_ORDER;
    
$this->enabled = ((MODULE_PAYMENT_IC_STATUS == 'True') ? true false);
 
// Note a full bogus URL doesn't work, no error messages
 
$this->form_action_url "https://www.store.com/store/sandbox.php";
//works fine    
if ((int)MODULE_PAYMENT_IC_ORDER_STATUS_ID 0) {
      
$this->order_status MODULE_PAYMENT_IC_ORDER_STATUS_ID;
    }

    if (
is_object($order)) $this->update_status();
  } 
I made a typo before but I am not getting form_action_url to work ... as there are no errors ... no nothing ...