function onPaymentConfiguration(&$element){
$this->cmcic_recurrent = JRequest::getCmd('name','cmcic_recurrent');
if(empty($element)){
$element = null;
$element->payment_name='CMCIC_REC';
$element->payment_description='You can pay by credit card using this payment method';
$element->payment_images='MasterCard,VISA,Credit_card,American_Express';
$element->payment_type=$this->cmcic_recurrent;
$element->payment_params=null;
$element->payment_params->invalid_status='cancelled';
$element->payment_params->pending_status='created';
$element->payment_params->verified_status='confirmed';
$element = array($element);
}
$bar = & JToolBar::getInstance('toolbar');
JToolBarHelper::save();
JToolBarHelper::apply();
JToolBarHelper::cancel();
JToolBarHelper::divider();
$bar->appendButton( 'Pophelp','payment-cmcic-form');
hikashop_setTitle('CMCIC_REC','plugin','plugins&plugin_type=payment&task=edit&name='.$this->cmcic_recurrent);
$app =& JFactory::getApplication();
$app->setUserState( HIKASHOP_COMPONENT.'.payment_plugin_type', $this->cmcic_recurrent);
$this->address = hikashop_get('type.address');
$this->category = hikashop_get('type.categorysub');
$this->category->type = 'status';
}