eli_h Posted January 20, 2008 Share Posted January 20, 2008 Hi everyone, I need some help please to change the below code: $selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array( array('title' => MODULE_PAYMENT_NETPAY_TEXT_CREDIT_CARD_ACCEPT,'field' => MODULE_PAYMENT_NETPAY_TEXT_CREDIT_CARD_TYPE), array( 'title' => MODULE_PAYMENT_NETPAY_TEXT_CREDIT_CARD_OWNER, 'field' => tep_draw_input_field('netpay_cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), array('title' => MODULE_PAYMENT_NETPAY_TEXT_CREDIT_CARD_NUMBER, 'field' => tep_draw_input_field('netpay_cc_number')), array('title' => MODULE_PAYMENT_NETPAY_TEXT_CREDIT_CARD_EXPIRES, 'field' => tep_draw_pull_down_menu('netpay_cc_expires_month', $expires_month) . ' ' . tep_draw_pull_down_menu('netpay_cc_expires_year', $expires_year)), array('title' => MODULE_PAYMENT_NETPAY_TEXT_CCV_NUMBER, 'field' => tep_draw_input_field('netpay_ccv_number')))); return $selection; Now what I need to do is: 1. Add after this code: array( 'title' => MODULE_PAYMENT_NETPAY_TEXT_CREDIT_CARD_OWNER, 'field' => tep_draw_input_field('netpay_cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), That: "Cardholder government issued id number" as a title, with input field 2. Add to the last line of code which is: array('title' => MODULE_PAYMENT_NETPAY_TEXT_CCV_NUMBER, 'field' => tep_draw_input_field ('netpay_ccv_number') A check box (if it checked the variable get 1 if it unchecked it get 0) with this text after "My card doesn't have security digits" This is for now.. cause I do not want to mess it up, but if it will work I may add some code after it.. Thanks for any help I get from you !! Best Regards, Eli Quote Link to comment https://forums.phpfreaks.com/topic/86888-need-help-please/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.