lifeisboost Posted March 31, 2009 Share Posted March 31, 2009 Has anyone had an issue where the singe plage checkot is not passing the CC expire month and year? it is passing it blank and OSC is inserting a default of december 2019. Quote Link to comment Share on other sites More sharing options...
steve_s Posted April 1, 2009 Share Posted April 1, 2009 (edited) Has anyone had an issue where the singe plage checkot is not passing the CC expire month and year? it is passing it blank and OSC is inserting a default of december 2019. Hi are you using country/state single page checkout or the normal one? Correct me if im wrong but dont you enter CC details in checkout_confirmation.php and not in checkout.php? Edited April 1, 2009 by steve_s Quote Link to comment Share on other sites More sharing options...
lifeisboost Posted April 1, 2009 Share Posted April 1, 2009 Hi are you using country/state single page checkout or the normal one? Correct me if im wrong but dont you enter CC details in checkout_confirmation.php and not in checkout.php? it does it for either page. and you enter the CC info into checkout.php. Quote Link to comment Share on other sites More sharing options...
steve_s Posted April 1, 2009 Share Posted April 1, 2009 (edited) it does it for either page. and you enter the CC info into checkout.php. One i downloaded and added country/state selector didnt was only on checkout_confirmation.php I downloaded the version on 7 Dec 2008, do you still get error on checkout_confirmation.php? if not remove bottom part of checkout.php where it displays oreder confiramtion, i removed that on mine as was same details on checkout_confirmation.php, to avoid confusing the customer with same deatils Edited April 1, 2009 by steve_s Quote Link to comment Share on other sites More sharing options...
lifeisboost Posted April 1, 2009 Share Posted April 1, 2009 One i downloaded and added country/state selector didnt was only on checkout_confirmation.php I downloaded the version on 7 Dec 2008, do you still get error on checkout_confirmation.php? if not remove bottom part of checkout.php where it displays oreder confiramtion, i removed that on mine as was same details on checkout_confirmation.php, to avoid confusing the customer with same deatils the issue i have is with the CC expire month and year not getting passed correctly. unfortunatly it does not have anything to do with the confirmation. if i go back and use checkout_payment.php it passes the infor correctly. so it rules out it being cc.php or the validation class file. im trying to figure out why checkout.php is not passing the month or year. Quote Link to comment Share on other sites More sharing options...
steve_s Posted April 2, 2009 Share Posted April 2, 2009 the issue i have is with the CC expire month and year not getting passed correctly. unfortunatly it does not have anything to do with the confirmation. if i go back and use checkout_payment.php it passes the infor correctly. so it rules out it being cc.php or the validation class file. im trying to figure out why checkout.php is not passing the month or year. Ahh it sounds like it needs a loop ie after you press continue it processes code then redirects back to same page then goes to checkout_confirmation.php, one thing to test does it work fine in IE first time and needs twice in firefox? if so i had same problem and way around it was to comment out if youur using date of birth /* if (ACCOUNT_DOB == 'true') { if (checkdate(substr(tep_date_raw($dob), 4, 2), substr(tep_date_raw($dob), 6, 2), substr(tep_date_raw($dob), 0, 4)) == false) { $error = true; $messageStack->add('checkout_payment', ENTRY_DATE_OF_BIRTH_ERROR); } } */ if not using try commenting out some other checks on create account, ok wont get any error message but it will return to same page if not entered or is worng format Quote Link to comment Share on other sites More sharing options...
steve_s Posted April 2, 2009 Share Posted April 2, 2009 (edited) the issue i have is with the CC expire month and year not getting passed correctly. unfortunatly it does not have anything to do with the confirmation. if i go back and use checkout_payment.php it passes the infor correctly. so it rules out it being cc.php or the validation class file. im trying to figure out why checkout.php is not passing the month or year. ok try this in root create a php file called count.php and add code in it below <?php /* $Id: count.php,v 1.80 2003/06/05 23:28:24 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ $count =1; ?> now in cehckout.php find require('includes/application_top.php'); add after it include_once("count.php"); now in same file find <?php /*require(DIR_WS_CLASSES . 'payment.php'); add before it // redirect to same page for further processing if ($count <2){ $count ++; $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_CHECKOUT, '', 'SSL')); } it will loop through code twice now that should fix your problem Edited April 2, 2009 by steve_s Quote Link to comment Share on other sites More sharing options...
steve_s Posted April 2, 2009 Share Posted April 2, 2009 If that dont work try this one http://addons.oscommerce.com/info/6646/v,22 Quote Link to comment Share on other sites More sharing options...
maxemus Posted January 9, 2010 Share Posted January 9, 2010 (edited) Hi people. Is there an updated install Doc out there found - 0 tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL')); and tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL')); found 2 tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); found 0 in checkout_confirmation.php tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); Would like a single page checkout Edited January 9, 2010 by maxemus Quote Link to comment Share on other sites More sharing options...
nima Posted July 10, 2010 Share Posted July 10, 2010 In the download files I only see one checkout.php file. You mention there are three files. Also there are no install instructions. Quote Link to comment Share on other sites More sharing options...
felis8681 Posted September 8, 2011 Share Posted September 8, 2011 Will this contrib. work on os 2.3.1 and with matc? Quote Link to comment Share on other sites More sharing options...
OSC_FREAK Posted January 18, 2012 Share Posted January 18, 2012 single page checkout works great, but does anyone have a solution for the margintop problem in checkout.php? Quote Link to comment Share on other sites More sharing options...
tufailshaikh Posted February 22, 2014 Share Posted February 22, 2014 (edited) Hi firends.. I am using single page checkout addons in my shop its great and working fine but there is bug in Form .. when i am clicking on new shipping address / or want to change address that i was mention previously in myaccount it is not going to enable all the fields. please help me to fix this error Edited February 22, 2014 by tufailshaikh 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.