carpenoctem Posted December 5, 2005 Posted December 5, 2005 in the authorize.net module, i added in some code to make a little "lock" appear after the Credit Card field, and also the Date field. it looked fine..... but whenever the page loaded it gave me a popup saying.... This page contains secure and non secure items, do you want to continue loading..... what can i do to make it so that the locks appear, but that popup doesnt? the code that i have is if(MODULE_PAYMENT_AUTHORIZENET_CCV == 'True' ) { $selection = array('id' => $this->code, 'module' => $this->title . ' ' . $this->get_cc_images(), 'fields' => array(array('title' => MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_TYPE, 'field' => tep_draw_pull_down_menu('credit_card_type', $card_menu)), array('title' => MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_OWNER, 'field' => tep_draw_input_field('authorizenet_cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), 'field' => tep_draw_input_field('authorizenet_cc_number') . '<img src="http://www.mydomain.com/images/lock.gif>'), array('title' => MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_EXPIRES, 'field' => tep_draw_pull_down_menu('authorizenet_cc_expires_month', $expires_month) . ' ' . tep_draw_pull_down_menu('authorizenet_cc_expires_year', $expires_year)), array('title' => '<b>CVV number</b> ' . ' ' .'<a href="java script:CVVPopUpWindow(\'' . tep_href_link('cvv.html') . '\')">' . '<u><i><b>' . '(' . MODULE_PAYMENT_AUTHORIZENET_TEXT_CVV_LINK . ')' . '</i></u></b></a>', 'field' => tep_draw_input_field('cvv','',"SIZE=4, MAXLENGTH=4")))); Quote
minghoo Posted December 7, 2005 Posted December 7, 2005 in the authorize.net module, i added in some code to make a little "lock" appear after the Credit Card field, and also the Date field. it looked fine..... but whenever the page loaded it gave me a popup saying.... This page contains secure and non secure items, do you want to continue loading..... what can i do to make it so that the locks appear, but that popup doesnt? the code that i have is if(MODULE_PAYMENT_AUTHORIZENET_CCV == 'True' ) { $selection = array('id' => $this->code, 'module' => $this->title . ' ' . $this->get_cc_images(), 'fields' => array(array('title' => MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_TYPE, 'field' => tep_draw_pull_down_menu('credit_card_type', $card_menu)), array('title' => MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_OWNER, 'field' => tep_draw_input_field('authorizenet_cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), 'field' => tep_draw_input_field('authorizenet_cc_number') . '<img src="http://www.mydomain.com/images/lock.gif>'), array('title' => MODULE_PAYMENT_AUTHORIZENET_TEXT_CREDIT_CARD_EXPIRES, 'field' => tep_draw_pull_down_menu('authorizenet_cc_expires_month', $expires_month) . ' ' . tep_draw_pull_down_menu('authorizenet_cc_expires_year', $expires_year)), array('title' => '<b>CVV number</b> ' . ' ' .'<a href="java script:CVVPopUpWindow(\'' . tep_href_link('cvv.html') . '\')">' . '<u><i><b>' . '(' . MODULE_PAYMENT_AUTHORIZENET_TEXT_CVV_LINK . ')' . '</i></u></b></a>', 'field' => tep_draw_input_field('cvv','',"SIZE=4, MAXLENGTH=4")))); Change http://www.mydomain.com/images/lock.gif to images/lock.gif Quote My contributions: EZ new fields easy way add Qty box in your product_info.php
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.
Note: Your post will require moderator approval before it will be visible.