Zen Cart Logo
Forums / All Other Contributions/Addons / Fast and Easy Checkout

Fast and Easy Checkout

Views: 550,669

Results 1,881 to 1,900 of 2,177
29 Sep 2014, 6:10 PM
#1881
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Fast and Easy Checkout

Never mind and apologies for the bug-report:blush:. The person who performed the installation failed to RTFM, so the changes required to /includes/classes/order.php to make a distinction between a guest order (pointing to the orders_status page) and a regular order (pointing to the account_history_info page) were not performed. That's one of the downsides of having "hidden" updates (i.e. readme-only) since a lot of people don't bother to read the readme, assuming that copying/merging the files in the plugin's distribution is sufficient.

I'm off to (1) upgrade to v1.15.3 and (2) perform the missing core-file updates.

30 Sep 2014, 7:15 PM
#1882
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Fast and Easy Checkout

So, I performed the upgrade from 1.14.3 to 1.15.3 ... including the core-file updates this time. My comments:

  1. The upgrade did not preserve my original settings. Luckily, I installed first on a local copy so that I could see what the settings were on the live site.
  2. Clicking through on the order_status page link in a customer email didn't go to the order's history. A couple of updates were needed to /includes/modules/pages/order_status/header_php.php:```
<?php /** * * @package page * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: J_Schilz for Integrated COWOA - 14 April 2007 */ // This should be first line of the script: $zco_notifier->notify('NOTIFY_HEADER_START_ACCOUNT_HISTORY_INFO'); if (!isset($_REQUEST['order_id']) || (isset($_REQUEST['order_id']) && !is_numeric($_REQUEST['order_id']))) $errorInvalidID=TRUE; $query_email_address = trim($_REQUEST['query_email_address']); if(!isset($query_email_address) || zen_validate_email($query_email_address) == false) $errorInvalidEmail=TRUE; if(!$errorInvalidID && !$errorInvalidEmail) { $customer_info_query = "SELECT customers_email_address, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country FROM " . TABLE_ORDERS . " WHERE orders_id = :ordersID"; $customer_info_query = $db->bindVars($customer_info_query, ':ordersID', $_REQUEST['order_id'], 'integer'); //-20140929-lat9-Changed from $_POST to $_REQUEST $customer_info = $db->Execute($customer_info_query); if (isset($query_email_address) && $customer_info->fields['customers_email_address'] != $query_email_address && $customer_info->fields['customers_email_address'] != $query_email_address . '.') $errorNoMatch=TRUE; else { $statuses_query = "SELECT os.orders_status_name, osh.date_added, osh.comments FROM " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh WHERE osh.orders_id = :ordersID AND osh.orders_status_id = os.orders_status_id AND os.language_id = :languagesID AND osh.customer_notified >= 0 ORDER BY osh.date_added"; $statuses_query = $db->bindVars($statuses_query, ':ordersID', $_POST['order_id'], 'integer'); $statuses_query = $db->bindVars($statuses_query, ':languagesID', $_SESSION['languages_id'], 'integer'); $statuses = $db->Execute($statuses_query); while (!$statuses->EOF) { $statusArray[] = array('date_added'=>$statuses->fields['date_added'], 'orders_status_name'=>$statuses->fields['orders_status_name'], 'comments'=>$statuses->fields['comments']); $statuses->MoveNext(); } require(DIR_WS_CLASSES . 'order.php'); $order = new order($_REQUEST['order_id']); //-20140929-lat9-Changed from $_POST to $_REQUEST } } require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php')); $breadcrumb->add(NAVBAR_TITLE_1, zen_href_link(FILENAME_ACCOUNT, '', 'SSL')); // This should be last line of the script: $zco_notifier->notify('NOTIFY_HEADER_END_ACCOUNT_HISTORY_INFO'); ?>
22 Oct 2014, 7:57 PM
#1883
gregsmarine avatar

gregsmarine

New Zenner

Join Date:
Oct 2014
Location:
PA
Posts:
1
Plugin Contributions:
0

Re: Fast and Easy Checkout

Okay, I spent the last 3 days searching and normally I can find an answer. But for the life of me I am stumped on this one!

I installed the latest and greatest Zen Cart along with latest and greatest FEC checkout. Everything looks great “But” for some reason the checkout pages 1-3 and 2-3 look good, but when you go to Confirmation page 3-3 the FEC box wrappers are gone.

Don’t get me wrong, it has all the normal text that it needs to function and confirm he order, but the FEC box wrapper is missing. (It’s killing me!)

Any help would be greatly appreciated. I will post the website, but do not use any personal information on the checkout. I am waiting for the EV SSL to process and install.

customboatcables.co m

22 Oct 2014, 9:45 PM
#1884
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Fast and Easy Checkout

gregsmarine:

Okay, I spent the last 3 days searching and normally I can find an answer. But for the life of me I am stumped on this one!

I installed the latest and greatest Zen Cart along with latest and greatest FEC checkout. Everything looks great “But” for some reason the checkout pages 1-3 and 2-3 look good, but when you go to Confirmation page 3-3 the FEC box wrappers are gone.

Don’t get me wrong, it has all the normal text that it needs to function and confirm he order, but the FEC box wrapper is missing. (It’s killing me!)

Any help would be greatly appreciated. I will post the website, but do not use any personal information on the checkout. I am waiting for the EV SSL to process and install.

customboatcables.co m

JavaScript is broken on your site. None of the JS for the plugin is loading. It looks like CSS JS Loader may be missing or incorrectly installed. I see in your source code that you have it hard coded to load jQuery site-wide. This will also cause duplicate loading of jQuery and instead you should use the methodology described in the CSS JS Loader sample files (or reference the files that come with FEC).

Please contact us through the Numinix.com website if you need us to perform the installation or build the auto loaders for your existing plugins.

22 Oct 2014, 9:50 PM
#1885
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Fast and Easy Checkout

lat9:

So, I performed the upgrade from 1.14.3 to 1.15.3 ... including the core-file updates this time. My comments:

  1. The upgrade did not preserve my original settings. Luckily, I installed first on a local copy so that I could see what the settings were on the live site.
  1. Clicking through on the order_status page link in a customer email didn't go to the order's history. A couple of updates were needed to /includes/modules/pages/order_status/header_php.php:```
<?php /** * * @package page * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: J_Schilz for Integrated COWOA - 14 April 2007 */ // This should be first line of the script: $zco_notifier->notify('NOTIFY_HEADER_START_ACCOUNT_HISTORY_INFO'); if (!isset($_REQUEST['order_id']) || (isset($_REQUEST['order_id']) && !is_numeric($_REQUEST['order_id']))) $errorInvalidID=TRUE; $query_email_address = trim($_REQUEST['query_email_address']); if(!isset($query_email_address) || zen_validate_email($query_email_address) == false) $errorInvalidEmail=TRUE; if(!$errorInvalidID && !$errorInvalidEmail) { $customer_info_query = "SELECT customers_email_address, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country FROM " . TABLE_ORDERS . " WHERE orders_id = :ordersID"; $customer_info_query = $db->bindVars($customer_info_query, ':ordersID', $_REQUEST['order_id'], 'integer'); //-20140929-lat9-Changed from $_POST to $_REQUEST $customer_info = $db->Execute($customer_info_query); if (isset($query_email_address) && $customer_info->fields['customers_email_address'] != $query_email_address && $customer_info->fields['customers_email_address'] != $query_email_address . '.') $errorNoMatch=TRUE; else { $statuses_query = "SELECT os.orders_status_name, osh.date_added, osh.comments FROM " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh WHERE osh.orders_id = :ordersID AND osh.orders_status_id = os.orders_status_id AND os.language_id = :languagesID AND osh.customer_notified >= 0 ORDER BY osh.date_added"; $statuses_query = $db->bindVars($statuses_query, ':ordersID', $_POST['order_id'], 'integer'); $statuses_query = $db->bindVars($statuses_query, ':languagesID', $_SESSION['languages_id'], 'integer'); $statuses = $db->Execute($statuses_query); while (!$statuses->EOF) { $statusArray[] = array('date_added'=>$statuses->fields['date_added'], 'orders_status_name'=>$statuses->fields['orders_status_name'], 'comments'=>$statuses->fields['comments']); $statuses->MoveNext(); } require(DIR_WS_CLASSES . 'order.php'); $order = new order($_REQUEST['order_id']); //-20140929-lat9-Changed from $_POST to $_REQUEST } } require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php')); $breadcrumb->add(NAVBAR_TITLE_1, zen_href_link(FILENAME_ACCOUNT, '', 'SSL')); // This should be last line of the script: $zco_notifier->notify('NOTIFY_HEADER_END_ACCOUNT_HISTORY_INFO'); ?>
>

Thanks lat9 for debugging and resolving this issue.  In your quoted text I see one other case that also needed to be updated on line 44.  We will include this in the next release.
22 Oct 2014, 10:59 PM
#1886
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Fast and Easy Checkout

numinix:

Thanks lat9 for debugging and resolving this issue. In your quoted text I see one other case that also needed to be updated on line 44. We will include this in the next release.
No problem; thanks for letting me know that I missed one!

11 Nov 2014, 9:21 PM
#1887
tomtom55 avatar

tomtom55

New Zenner

Join Date:
Oct 2014
Posts:
17
Plugin Contributions:
0

Re: Fast and Easy Checkout

I am having an issue with the FEC checkout as guest function. I am able to fill out all of the shipping/billing info but when I click confirm it flashes what looks like the order success page and immediately redirects me to the whoops your session has timed out page and asks me to log in. I am able to place orders without issue when logged in to an account but not with the guest order. The transaction does not post to my gateway account. I have searched for the forums/Google for others with a similar issue but cannot find anything relevant. Any help would be appreciated. Thank you.

11 Nov 2014, 10:36 PM
#1888
tomtom55 avatar

tomtom55

New Zenner

Join Date:
Oct 2014
Posts:
17
Plugin Contributions:
0

Re: Fast and Easy Checkout

tomtom55:

I am having an issue with the FEC checkout as guest function. I am able to fill out all of the shipping/billing info but when I click confirm it flashes what looks like the order success page and immediately redirects me to the whoops your session has timed out page and asks me to log in. I am able to place orders without issue when logged in to an account but not with the guest order. The transaction does not post to my gateway account. I have searched for the forums/Google for others with a similar issue but cannot find anything relevant. Any help would be appreciated. Thank you.

Correction, I can see now that it is the processing page that briefly displays prior to the whoops page. I have tried on both Chrome and Firefox with the same results.

11 Nov 2014, 10:36 PM
#1889
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Fast and Easy Checkout

I installed FAEC per instructions. Everything seemed to be working perfectly.
Then I noticed that the FEC menu item was not showing up in the "Admin" "Configuration" menu.
So I read the previous posts here about the FAEC menu item not showing up in the "Admin" "Configuration" menu and followed the advice about running the sql removal file. I ran the file and it completed 5 statements successfully. I clicked on "Admin Home" and the auto loaders then ran and showed several different actions had run successfully. I checked the "Configuration" menu again and sure enough there was the FEAC menu item. Unfortunately, I then accessed the menu and changed a couple of features but when I clicked on "Save" nothing would happen and the items would not be changed to the new setting if I moved away from that page and then back to it. I then deleted the entire installation per the instructions, minus all the changes in the files they require you to complete, and attempted to load the entire module again. But, again, the menu item would not show up nor do I get any of the successful action bars at the top of the screen. I ran the sql removal again, giving me the removal success statements at the top of the screen, but the menu item will no longer return.
Any input beyond what has been posted so far about this issue?

12 Nov 2014, 3:10 AM
#1890
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Fast and Easy Checkout

Something must have went wrong with the auto-installer.
in the admin choose the last item in the configuration.
In the address bar will be gID=xx
increase/decrease the xx and you should see it.

Then for easy access next time in your DB, TABLE_ADMIN_PAGES. look for the entry for Fast & Easy Checkout and change the parameter to gID=YY

That usually does the trick.

12 Nov 2014, 3:11 PM
#1891
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Fast and Easy Checkout

That would be why it is not showing up then because there is no entry in that table for Fast And Easy.
I guess the auto installer is not completing the SQL entries either.
Is there a specific location in the setup files where the SQL entries would be so I can run them manually?

bislewl:

Something must have went wrong with the auto-installer.
in the admin choose the last item in the configuration.
In the address bar will be gID=xx
increase/decrease the xx and you should see it.

Then for easy access next time in your DB, TABLE_ADMIN_PAGES. look for the entry for Fast & Easy Checkout and change the parameter to gID=YY

That usually does the trick.

18 Nov 2014, 5:42 AM
#1892
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Fast and Easy Checkout

Hello,
v1.3.9h

I successfully loaded FEC on a site using standard ZC template, no problems, however I am having difficulty getting it to work on a site using Abbington Mega template by Picaflor Azul (I have 6 sites with this particular template).

I have triple checked the file uploads and the CSS/JS Loader - all is as it should be including filename changes etc.

Problem occurs on page 2/3 after completing data input and then clicking 'continue to checkout' or 'checkout with PayPal' after which I get this error message [The page isn't redirecting properly - Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies.]

So I am wondering if there is a conflict with this mod working with Abbington Mega template?

cheers,
Mike

site http://treeoflife.net.au/tree_of_life_store/

19 Nov 2014, 4:44 PM
#1893
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Fast and Easy Checkout

Does this result happen when using IE (Internet Explorer) ...

19 Nov 2014, 8:30 PM
#1894
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Fast and Easy Checkout

haredo:

Does this result happen when using IE (Internet Explorer) ...

Thanks for your response Haredo - No it doesn't work in IE - as indicated above, worked fine with standard ZC template but not with Abbington Mega template so I figure it is likely to be a conflict - just need someone at Numinix to check this scenario.
cheers, Mike

19 Nov 2014, 9:20 PM
#1895
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Fast and Easy Checkout

Your loading 2 versions of jQuery 1.4.4 and 1.10.2, remove the 1.4.4 (leaving 1.10.2 and the migrate 1.2.1) and it should work

19 Nov 2014, 10:54 PM
#1896
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Fast and Easy Checkout

bislewl:

Your loading 2 versions of jQuery 1.4.4 and 1.10.2, remove the 1.4.4 (leaving 1.10.2 and the migrate 1.2.1) and it should work

thanks for your response - have had partial success, using checkout with paypal express button now works however guest checkout still doesn't. Interestingly there is a checkout tab in the header in this template and with something in the cart when using this tab it goes nowhere, i.e. same error message.

in includes/templates/abbington_mega/jscript I deleted two files jscript_jquery_1.4.4.js and jquery-1.4.4_min.js, firstly both at once then restored each individually one at a time without success - both are currently deleted.

So current situation is from shopping cart >checkout with paypal works (this is an improvement); shopping cart>go to checkout>guest checkout> works then fails on this page when the 'continue' button is hit.

looking forward to further assistance, cheers, Mike

20 Nov 2014, 1:31 AM
#1897
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Fast and Easy Checkout

Mike-

Couple quick items. For conversion.
1.) Add the add to cart button below the products, customers don't always intuitively know to enter the quantity and then go either up/down to click add to cart.
2.) Remove the email salutation Configuration->Customer Details, this really serves little purpose anymore and is nothing more than a frustration to customers when the form doesn't validate.
3.) I suspect part of your issues might be related to your SEO module, It shouldn't rewrite checkout pages.

ok, you removed the other versions of jQuery, so you aren't loading duplicates on checkout, but now you aren't loading it at all on the rest of the site.

to fix this

Create a file: includes/templates/abbington_mega/auto_loaders/loader_sitewide.php

<?php
$loaders[] = array('conditions' => array('pages' => array('*)),
    'jscript_files' => array(
        'jquery/jquery-1.10.2.min.js' => 1,
        'jquery/jquery-migrate-1.2.1.min.js' => 2
    )
);
20 Nov 2014, 3:14 AM
#1898
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Fast and Easy Checkout

bislewl:

Mike-

Couple quick items. For conversion.
1.) Add the add to cart button below the products, customers don't always intuitively know to enter the quantity and then go either up/down to click add to cart.
2.) Remove the email salutation Configuration->Customer Details, this really serves little purpose anymore and is nothing more than a frustration to customers when the form doesn't validate.
3.) I suspect part of your issues might be related to your SEO module, It shouldn't rewrite checkout pages.

ok, you removed the other versions of jQuery, so you aren't loading duplicates on checkout, but now you aren't loading it at all on the rest of the site.

to fix this

Create a file: includes/templates/abbington_mega/auto_loaders/loader_sitewide.php

<?php $loaders[] = array('conditions' => array('pages' => array('*)), 'jscript_files' => array( 'jquery/jquery-1.10.2.min.js' => 1, 'jquery/jquery-migrate-1.2.1.min.js' => 2 ) ); ``` Hi - I created that php and loaded it - then the site would not load at all!! so I have removed it. any other suggestions? cheers, Mike
20 Nov 2014, 5:10 AM
#1899
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Fast and Easy Checkout

shags38:

Hi - I created that php and loaded it - then the site would not load at all!! so I have removed it.

any other suggestions? cheers, Mike

Sorry Typo in that, I missed the ' after the *

<?php
$loaders[] = array('conditions' => array('pages' => array('*')),
    'jscript_files' => array(
        'jquery/jquery-1.10.2.min.js' => 1,
        'jquery/jquery-migrate-1.2.1.min.js' => 2
    )
);
20 Nov 2014, 5:43 AM
#1900
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Fast and Easy Checkout

bislewl:

Sorry Typo in that, I missed the ' after the *

<?php $loaders[] = array('conditions' => array('pages' => array('*')), 'jscript_files' => array( 'jquery/jquery-1.10.2.min.js' => 1, 'jquery/jquery-migrate-1.2.1.min.js' => 2 ) ); ``` Thanks Larry - that solved the issue of the site not loading at all however unfortunately the original issue still exists. As much as I have a checkout not working (eating baked beans for a few days now :) ) I am loathe to uninstall FEC until a solution is found as I want to integrate it into 5 other sites using this template - hopefully it can be resolved soon. Other than the other version of jscript being a problem I cannot see where the conflict may be? Should I send an email to numinix? cheers, Mike