Jump to content
Sign in to follow this  
crombiecrunch

[Contribution] Support forum for Single Page Checkout

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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 by steve_s

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 by steve_s

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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 by steve_s

Share this post


Link to post
Share on other sites

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 by maxemus

Share this post


Link to post
Share on other sites

In the download files I only see one checkout.php file. You mention there are three files.

 

Also there are no install instructions.

Share this post


Link to post
Share on other sites

single page checkout works great, but does anyone have a solution for the margintop problem in checkout.php?

Share this post


Link to post
Share on other sites

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

post-313524-0-39618600-1393058458_thumb.jpg

Edited by tufailshaikh

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×