Zen Cart Logo
Forums / All Other Contributions/Addons / One-Page Checkout [Support Thread]

One-Page Checkout [Support Thread]

Views: 629,442

Results 1,181 to 1,200 of 3,078
6 Jun 2019, 12:59 PM
#1181
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,279
Plugin Contributions:
37

One-Page Checkout [Support Thread]

rbarbour:

no need for the inline style "display:none"

this is also set in checkout_one.css
#checkoutOneLoading { position: relative; height: 95vh; top: 50%; left: 50%; display: none; }

Removed the display none styles, in what you mentioned as well as tpl_checkout_one_confirmation_default.php and still was not displaying in Firefox, but I changed

#checkoutOneLoading { position: relative; height: 95vh; top: 50%; left: 50%; display: none; }

to

#checkoutOneLoading, #checkoutOneConfirmationLoading { margin: 0 auto;}

Still that gif will not display in FireFox

6 Jun 2019, 1:29 PM
#1182
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

mprough:

Removed the display none styles, in what you mentioned as well as tpl_checkout_one_confirmation_default.php and still was not displaying in Firefox, but I changed

#checkoutOneLoading { position: relative; height: 95vh; top: 50%; left: 50%; display: none; }

to

#checkoutOneLoading, #checkoutOneConfirmationLoading { margin: 0 auto;}

Still that gif will not display in FireFox

I'm not near a computer right now but the only other thing I can think of is if the web page is https. make sure that the images is being called with an https link as well.

6 Jun 2019, 4:53 PM
#1183
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Well Like I said before I have been using the resources of this forum for MANY years now. I can say that my 1st time posting for support I am TOTALLY satisfied with the result and the hospitality! :)

7 Jun 2019, 4:02 PM
#1184
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

okay, so I did some further testing with the bootstrap template, here is what I found:

go through the checkout process as you normally would and the loading image DOES NOT display.

go through the checkout process, click the "confirm order" button WITHOUT selecting a payment or shipping method, click OK in the "You must choose a shipping method for your order before the order can be confirmed" modal, then click the "confirm order" and the loading image displays.

I am thinking the loading image needs to be preloaded.

7 Jun 2019, 4:34 PM
#1185
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

@rbarbour, I'm not seeing that behavior. Running OPC 2.1.1 on zc156b with a clone of the responsive_classic template.

7 Jun 2019, 6:12 PM
#1186
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

lat9:

@rbarbour, I'm not seeing that behavior. Running OPC 2.1.1 on zc156b with a clone of the responsive_classic template.

yep, only happens with the bootstrap template.

10 Jun 2019, 5:32 PM
#1187
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

lat9:

As mentioned above, I've just submitted v2.1.1 of OPC to the Zen Cart moderators for review; I'll post back when it's available for download.

 This release contains changes associated with the following GitHub issues:

#198: Add TEXT/HTML email choice to post-checkout guest account conversion.
#199: Correct debug-log thrown when a store uses non-CSS buttons.
#200: Correct virtual orders can't be checked out.
Now available: https://www.zen-cart.com/downloads.php?do=file&id=2095

14 Jun 2019, 8:01 AM
#1188
shags38 avatar

shags38

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Hi Cindy,

fresh install on new v1.5.6b site running PHP 7.3 and Responsive Classic template .... using credit card then at confirm order I get the following error;

"Error We apologize for the inconvenience, but the credit card you entered is not one that we accept. Please use a different credit card or verify that the details you entered are correct, or contact the store owner for assistance."

Using a Visa card and it is setup in admin/configure/credit cards as 1 (on)

Any ideas please?

cheers,
Mike

[Attachment no longer available]

14 Jun 2019, 11:19 AM
#1189
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Mike, no ideas but a couple of questions:

  1. What credit card payment method is being used?
  2. Does the same thing occur if you disable OPC and go through the built-in 3-page checkout?
14 Jun 2019, 10:37 PM
#1190
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Ok this message showed back up today...

[14-Jun-2019 16:21:50 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: 24.200.129.246
#1  strpos() called at [/home/goodiesbygail/public_html/includes/classes/order.php:681]
#2  order->create() called at [/home/goodiesbygail/public_html/includes/modules/checkout_process.php:88]
#3  require(/home/goodiesbygail/public_html/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php:14]
#4  require(/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/index.php:36]
--> PHP Warning: strpos() expects parameter 1 to be string, array given in /home/goodiesbygail/public_html/includes/classes/order.php on line 681.

[14-Jun-2019 16:21:50 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: 24.200.129.246
#1  mysqli_real_escape_string() called at [/home/goodiesbygail/public_html/includes/classes/db/mysql/query_factory.php:122]
#2  queryFactory->prepare_input() called at [/home/goodiesbygail/public_html/includes/classes/db/mysql/query_factory.php:516]
#3  queryFactory->prepareInput() called at [/home/goodiesbygail/public_html/includes/functions/functions_general.php:896]
#4  zen_db_input() called at [/home/goodiesbygail/public_html/includes/functions/functions_general.php:929]
#5  zen_db_perform() called at [/home/goodiesbygail/public_html/includes/classes/order.php:696]
#6  order->create() called at [/home/goodiesbygail/public_html/includes/modules/checkout_process.php:88]
#7  require(/home/goodiesbygail/public_html/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php:14]
#8  require(/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/index.php:36]
--> PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/goodiesbygail/public_html/includes/classes/db/mysql/query_factory.php on line 122.

[14-Jun-2019 16:21:50 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: 24.200.129.246
#1  strpos() called at [/home/goodiesbygail/public_html/includes/classes/order.php:1068]
#2  order->send_order_email() called at [/home/goodiesbygail/public_html/includes/modules/checkout_process.php:97]
#3  require(/home/goodiesbygail/public_html/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php:14]
#4  require(/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/index.php:36]
--> PHP Warning: strpos() expects parameter 1 to be string, array given in /home/goodiesbygail/public_html/includes/classes/order.php on line 1068.

All these lines with the PHP Warnings match the lines in the zencart 1.5.6b files.

14 Jun 2019, 10:51 PM
#1191
shags38 avatar

shags38

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

Mike, no ideas but a couple of questions:

  1. What credit card payment method is being used?
  2. Does the same thing occur if you disable OPC and go through the built-in 3-page checkout?

Thanks for getting back to me so quickly Cindy -

  1. Credit card is Visa
  2. Works fine with OPC disabled and same credit card in built in 3 page process
  3. Also works fine with OPC enabled and using checkout with PayPal

over to you :smile:

cheers,
Mike

possibly not recognizing that the card is issued in Australia?

14 Jun 2019, 11:31 PM
#1192
shags38 avatar

shags38

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Hi Cindy - should have done this earlier - is this error log of any help to you?

cheers, Mike

[15-Jun-2019 09:19:50 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.81.1
#1  require() called at [/home/dazzlersharmonyn/public_html/includes/init_includes/init_ipn_postcfg.php:22]
#2  require(/home/dazzlersharmonyn/public_html/includes/init_includes/init_ipn_postcfg.php) called at [/home/dazzlersharmonyn/public_html/includes/autoload_func.php:48]
#3  require(/home/dazzlersharmonyn/public_html/includes/autoload_func.php) called at [/home/dazzlersharmonyn/public_html/includes/application_top.php:170]
#4  require(/home/dazzlersharmonyn/public_html/includes/application_top.php) called at [/home/dazzlersharmonyn/public_html/ipn_main_handler.php:114]
--> PHP Warning: require(/home/dazzlersharmonyn/public_html/includes/languages/englishcheckout_process.php): failed to open stream: No such file or directory in /home/dazzlersharmonyn/public_html/includes/init_includes/init_ipn_postcfg.php on line 22.

[15-Jun-2019 09:19:50 Australia/Sydney] PHP Fatal error:  require(): Failed opening required '/home/dazzlersharmonyn/public_html/includes/languages/englishcheckout_process.php' (include_path='.:/opt/alt/php73/usr/share/pear') in /home/dazzlersharmonyn/public_html/includes/init_includes/init_ipn_postcfg.php on line 22
15 Jun 2019, 11:45 AM
#1193
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

shags38:

Hi Cindy - should have done this earlier - is this error log of any help to you?

cheers, Mike

[15-Jun-2019 09:19:50 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.81.1
#1 require() called at [/home/dazzlersharmonyn/public_html/includes/init_includes/init_ipn_postcfg.php:22]
#2 require(/home/dazzlersharmonyn/public_html/includes/init_includes/init_ipn_postcfg.php) called at [/home/dazzlersharmonyn/public_html/includes/autoload_func.php:48]
#3 require(/home/dazzlersharmonyn/public_html/includes/autoload_func.php) called at [/home/dazzlersharmonyn/public_html/includes/application_top.php:170]
#4 require(/home/dazzlersharmonyn/public_html/includes/application_top.php) called at [/home/dazzlersharmonyn/public_html/ipn_main_handler.php:114]
--> PHP Warning: require(/home/dazzlersharmonyn/public_html/includes/languages/englishcheckout_process.php): failed to open stream: No such file or directory in /home/dazzlersharmonyn/public_html/includes/init_includes/init_ipn_postcfg.php on line 22.

[15-Jun-2019 09:19:50 Australia/Sydney] PHP Fatal error: require(): Failed opening required '/home/dazzlersharmonyn/public_html/includes/languages/englishcheckout_process.php' (include_path='.:/opt/alt/php73/usr/share/pear') in /home/dazzlersharmonyn/public_html/includes/init_includes/init_ipn_postcfg.php on line 22

Yes, I saw that on my website once I upgraded to v1.5.6b.  The issue is a missing **/** in /includes/init_includes/init_ipn_postcfg.php on line 22.  You'll need to change

require(zen_get_file_directory(DIR_FS_CATALOG . DIR_WS_LANGUAGES . $_SESSION['language'], 'checkout_process.php', 'false'));

to

require(zen_get_file_directory(DIR_FS_CATALOG . DIR_WS_LANGUAGES . $_SESSION['language'], '[B]/[/B]checkout_process.php', 'false'));

I'll be submitting a PR to Zen Cart's 1.5.7 branch to provide future correction.

See this (<https://github.com/zencart/zencart/pull/2442>) PR for additional information.
15 Jun 2019, 11:57 AM
#1194
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

GoofyGrrl2:

Ok this message showed back up today...

[14-Jun-2019 16:21:50 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: 24.200.129.246
#1 strpos() called at [/home/goodiesbygail/public_html/includes/classes/order.php:681]
#2 order->create() called at [/home/goodiesbygail/public_html/includes/modules/checkout_process.php:88]
#3 require(/home/goodiesbygail/public_html/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php:14]
#4 require(/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/index.php:36]
--> PHP Warning: strpos() expects parameter 1 to be string, array given in /home/goodiesbygail/public_html/includes/classes/order.php on line 681.

[14-Jun-2019 16:21:50 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: 24.200.129.246
#1 mysqli_real_escape_string() called at [/home/goodiesbygail/public_html/includes/classes/db/mysql/query_factory.php:122]
#2 queryFactory->prepare_input() called at [/home/goodiesbygail/public_html/includes/classes/db/mysql/query_factory.php:516]
#3 queryFactory->prepareInput() called at [/home/goodiesbygail/public_html/includes/functions/functions_general.php:896]
#4 zen_db_input() called at [/home/goodiesbygail/public_html/includes/functions/functions_general.php:929]
#5 zen_db_perform() called at [/home/goodiesbygail/public_html/includes/classes/order.php:696]
#6 order->create() called at [/home/goodiesbygail/public_html/includes/modules/checkout_process.php:88]
#7 require(/home/goodiesbygail/public_html/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php:14]
#8 require(/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/index.php:36]
--> PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/goodiesbygail/public_html/includes/classes/db/mysql/query_factory.php on line 122.

[14-Jun-2019 16:21:50 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: 24.200.129.246
#1 strpos() called at [/home/goodiesbygail/public_html/includes/classes/order.php:1068]
#2 order->send_order_email() called at [/home/goodiesbygail/public_html/includes/modules/checkout_process.php:97]
#3 require(/home/goodiesbygail/public_html/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php:14]
#4 require(/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/index.php:36]
--> PHP Warning: strpos() expects parameter 1 to be string, array given in /home/goodiesbygail/public_html/includes/classes/order.php on line 1068.

">> 
> All these lines with the PHP Warnings match the lines in the zencart 1.5.6b files.
> 
Hmm, those appear to be related to the shipping-module setting for the order's conversion from cart.  Remind me, which version of OPC is being used?  Based on previous reports, I'm assuming that the product(s) in the cart are either virtual or downloads, please advise on that as well.
15 Jun 2019, 4:07 PM
#1195
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

OPC version 2.1.0
yes Downloads

15 Jun 2019, 5:08 PM
#1196
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

First, update OPC to v2.1.1, then go to the OPC GitHub (https://github.com/lat9/one_page_checkout/issues) and apply the changes associated with issues 201 and 202.

I'll try to find some time tomorrow to capture the changes for those 2 issue into v2.1.2 and update on the Zen Cart plugins.

15 Jun 2019, 6:15 PM
#1197
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Ok did the update to v2.1.1
Did a order of a free download. Went through but got this error log

[15-Jun-2019 13:10:40 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: 72.182.165.112
#1  strpos() called at [/home/goodiesbygail/public_html/includes/classes/order.php:681]
#2  order->create() called at [/home/goodiesbygail/public_html/includes/modules/checkout_process.php:88]
#3  require(/home/goodiesbygail/public_html/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php:14]
#4  require(/home/goodiesbygail/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/index.php:36]
--> PHP Warning: strpos(): Empty needle in /home/goodiesbygail/public_html/includes/classes/order.php on line 681.

15 Jun 2019, 6:27 PM
#1198
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Update for above post. #1197

I think I have fixed it. I just copied the line 681 from the zen cart 1.5.6b files and did another purchase. There were no error log created.
All these errors seem to only pop up occasionally so hopefully this means all good but I will keep an eye on it and will tackle the next error when or if it occurs.

Thank you for your Wonderful Help and Contributions. :)

15 Jun 2019, 6:38 PM
#1199
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

GoofyGrrl2:

Update for above post. #1197

I think I have fixed it. I just copied the line 681 from the zen cart 1.5.6b files and did another purchase. There were no error log created.
All these errors seem to only pop up occasionally so hopefully this means all good but I will keep an eye on it and will tackle the next error when or if it occurs.

Thank you for your Wonderful Help and Contributions. :)
Back at you; thanks for letting me/us know how you corrected the issue!

16 Jun 2019, 9:48 AM
#1200
shags38 avatar

shags38

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

Yes, I saw that on my website once I upgraded to v1.5.6b. The issue is a missing / in /includes/init_includes/init_ipn_postcfg.php on line 22. You'll need to change

require(zen_get_file_directory(DIR_FS_CATALOG . DIR_WS_LANGUAGES . $_SESSION['language'], 'checkout_process.php', 'false'));

> to
> ```
require(zen_get_file_directory(DIR_FS_CATALOG . DIR_WS_LANGUAGES . $_SESSION['language'], '[B]/[/B]checkout_process.php', 'false'));

I'll be submitting a PR to Zen Cart's 1.5.7 branch to provide future correction.

See this (https://github.com/zencart/zencart/pull/2442) PR for additional information.

Many thanks Cindy .... any developments on the initial problem I posted about .... (credit card type not accepted) ?? .... it is still happening and is the only thing holding me up now from launching the site :(

cheers,
Mike