Guest Posted July 29, 2008 Share Posted July 29, 2008 Hello, I would like to remove the fields Card Valid From Date and Card Issue Number from my checkout_confirmation.php. I am using Paypal Pro and Express as my sole checkout methods. I only ship in the US. I am pretty familiar with editing pages, fields and even the database related to oscommerce, but these fields I'm not quite sure if I should edit. My initial feeling is that these fields come from the database ($confirmation array in checkout_confirmation.php). Does anybody know: can I get rid of these fields safely? If so, what is the best way. Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted September 5, 2008 Share Posted September 5, 2008 I am also looking to remove these from the checkout. Any help would be greatly appreciated! Quote Link to comment Share on other sites More sharing options...
Guest Posted September 17, 2008 Share Posted September 17, 2008 I am also looking to remove these from the checkout. Any help would be greatly appreciated! Quote Link to comment Share on other sites More sharing options...
joe124c41 Posted October 29, 2008 Share Posted October 29, 2008 Any answers on how to remove: Card Valid Date: & Card Issue Number: (for Maestro and Solo cards only) <_< Quote Link to comment Share on other sites More sharing options...
pchem Posted November 29, 2008 Share Posted November 29, 2008 I'd like to know this too. Quote Link to comment Share on other sites More sharing options...
pchem Posted February 1, 2009 Share Posted February 1, 2009 Maestro and Solo cards (MasterCard's debit card in UK and possibly other parts or Europe) were not desired on my site. I cleaned up the look of the page by removing the Credit Card Valid From and Card Issue Number from the PayPal Direct module. To do this I commented out the code at about line 35 & 106 in catalog/inculdes/modules/payment/paypal_direct.php Changed this: $this->cc_types = array('VISA' => 'Visa', 'MASTERCARD' => 'MasterCard', 'DISCOVER' => 'Discover Card', 'AMEX' => 'American Express', 'SWITCH' => 'Maestro', 'SOLO' => 'Solo'); } To this: $this->cc_types = array('VISA' => 'Visa', 'MASTERCARD' => 'MasterCard', 'DISCOVER' => 'Discover Card', 'AMEX' => 'American Express'); // 'SWITCH' => 'Maestro', // 'SOLO' => 'Solo'); **commented out, removed "," after AmEx and then added ");" ** } Changed this: array('title' => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_VALID_FROM, 'field' => tep_draw_pull_down_menu('cc_starts_month', $months_array) . ' ' . tep_draw_pull_down_menu('cc_starts_year', $year_valid_from_array) . ' ' . MODULE_PAYMENT_PAYPAL_DIRECT_CARD_VALID_FROM_INFO), array('title' => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_EXPIRES, 'field' => tep_draw_pull_down_menu('cc_expires_month', $months_array) . ' ' . tep_draw_pull_down_menu('cc_expires_year', $year_expires_array)), array('title' => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_CVC, 'field' => tep_draw_input_field('cc_cvc_nh-dns', '', 'size="5" maxlength="4"')), array('title' => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_ISSUE_NUMBER, 'field' => tep_draw_input_field('cc_issue_nh-dns', '', 'size="3" maxlength="2"') . ' ' . MODULE_PAYMENT_PAYPAL_DIRECT_CARD_ISSUE_NUMBER_INFO))); return $confirmation; } TO THIS: // array('title' => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_VALID_FROM, // 'field' => tep_draw_pull_down_menu('cc_starts_month', $months_array) . ' ' . tep_draw_pull_down_menu('cc_starts_year', $year_valid_from_array) . ' ' . MODULE_PAYMENT_PAYPAL_DIRECT_CARD_VALID_FROM_INFO), array('title' => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_EXPIRES, 'field' => tep_draw_pull_down_menu('cc_expires_month', $months_array) . ' ' . tep_draw_pull_down_menu('cc_expires_year', $year_expires_array)), array('title' => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_CVC, 'field' => tep_draw_input_field('cc_cvc_nh-dns', '', 'size="5" maxlength="4"'))); // array('title' => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_ISSUE_NUMBER, // 'field' => tep_draw_input_field('cc_issue_nh-dns', '', 'size="3" maxlength="2"') . ' ' . MODULE_PAYMENT_PAYPAL_DIRECT_CARD_ISSUE_NUMBER_INFO)); } This change works on my site and I hope others will also find it useful! Quote Link to comment 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.