Jump to content

Need help please ??


eli_h

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/86888-need-help-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.