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

One-Page Checkout [Support Thread]

Views: 629,183

Results 361 to 380 of 3,073
16 Feb 2017, 4:16 PM
#361
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

One-Page Checkout [Support Thread]

Hello, I realy liked the idea of having one page checkout but not working for me.

I am using theme from themeforest and when i go to checkout i have these warnings

[16-Feb-2017 18:10:23 Europe/Sofia] Request URI: /v2/index.php?main_page=checkout_one_confirmation, IP address: 212.25.58.42
#1 zen_calculate_tax() called at [/home/xxxxxxx/public_html/v2/includes/classes/order.php:561]
#2 order->cart() called at [/home/xxxxxxx/public_html/v2/includes/classes/order.php:35]
#3 order->__construct() called at [/home/xxxxxxx/public_html/v2/includes/modules/pages/checkout_one_confirmation/header_php.php:112]
#4 require(/home/xxxxxxx/public_html/v2/includes/modules/pages/checkout_one_confirmation/header_php.php) called at [/home/xxxxxxx/public_html/v2/index.php:41]

[16-Feb-2017 18:10:23 Europe/Sofia] PHP Warning: A non-numeric value encountered in /home/xxxxxxx/public_html/v2/includes/functions/functions_taxes.php on line 172
[16-Feb-2017 18:10:23 Europe/Sofia] Request URI: /v2/index.php?main_page=checkout_one_confirmation, IP address: 212.25.58.42
#1 zen_calculate_tax() called at [/home/xxxxxxx/public_html/v2/includes/classes/order.php:562]
#2 order->cart() called at [/home/xxxxxxx/public_html/v2/includes/classes/order.php:35]
#3 order->__construct() called at [/home/xxxxxxx/public_html/v2/includes/modules/pages/checkout_one_confirmation/header_php.php:112]
#4 require(/home/xxxxxxx/public_html/v2/includes/modules/pages/checkout_one_confirmation/header_php.php) called at [/home/xxxxxxx/public_html/v2/index.php:41]

[16-Feb-2017 18:10:23 Europe/Sofia] PHP Warning: A non-numeric value encountered in /home/xxxxxxx/public_html/v2/includes/functions/functions_taxes.php on line 172

Does anybody encoutered the same problem and if yes did you managed to fix it?

Thank you.

16 Feb 2017, 4:39 PM
#362
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: One-Page Checkout [Support Thread]

perfumbg:

PHP Warning: A non-numeric value encountered in /home/xxxxxxx/public_html/v2/includes/functions/functions_taxes.php on line 172
I think that issue is resolved by making the change shown here: https://github.com/zencart/zencart/pull/1380/files ... and is a bug in Zen Cart that only occurs in newer PHP versions. It's not related to One Page Checkout specifically.

16 Feb 2017, 5:07 PM
#363
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

DrByte:

I think that issue is resolved by making the change shown here: https://github.com/zencart/zencart/pull/1380/files

Thank you that did the trick but stil have some isues:

[16-Feb-2017 19:04:15 Europe/Sofia] Request URI: /v2/shoppingcart.php, IP address: 212.25.58.42
#1  session_start() called at [/home/xxxxxx/public_html/v2/includes/functions/sessions.php:107]
#2  zen_session_start() called at [/home/xxxxxx/public_html/v2/includes/init_includes/overrides/init_sessions.php:90]
#3  require(/home/xxxxxx/public_html/v2/includes/init_includes/overrides/init_sessions.php) called at [/home/xxxxxx/public_html/v2/includes/autoload_func.php:48]
#4  require(/home/xxxxxx/public_html/v2/includes/autoload_func.php) called at [/home/xxxxxx/public_html/v2/includes/application_top.php:170]
#5  require(/home/xxxxxx/public_html/v2/includes/application_top.php) called at [/home/xxxxxx/public_html/v2/shoppingcart.php:11]

[16-Feb-2017 19:04:15 Europe/Sofia] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/xxxxxx/public_html/v2/shoppingcart.php:1) in /home/xxxxxx/public_html/v2/includes/functions/sessions.php on line 107
[16-Feb-2017 19:04:15 Europe/Sofia] Request URI: /v2/shoppingcart.php, IP address: 212.25.58.42
#1  header() called at [/home/xxxxxx/public_html/v2/includes/init_includes/init_templates.php:78]
#2  require(/home/xxxxxx/public_html/v2/includes/init_includes/init_templates.php) called at [/home/xxxxxx/public_html/v2/includes/autoload_func.php:48]
#3  require(/home/xxxxxx/public_html/v2/includes/autoload_func.php) called at [/home/xxxxxx/public_html/v2/includes/application_top.php:170]
#4  require(/home/xxxxxx/public_html/v2/includes/application_top.php) called at [/home/xxxxxx/public_html/v2/shoppingcart.php:11]

[16-Feb-2017 19:04:15 Europe/Sofia] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/v2/shoppingcart.php:1) in /home/xxxxxx/public_html/v2/includes/init_includes/init_templates.php on line 78

Where should i look for that ?

Thank you so much!

16 Feb 2017, 6:29 PM
#364
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

Also I checked full debug and new debug was generated with much more information.

[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index:  in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 359
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 359
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index:  in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 360
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 360
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined variable: coupon_code in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 361
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 361
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: shipping in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 368
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined variable: pass in /home/xxxxxxxx/public_html/v2/includes/modules/pages/checkout_one/header_php.php on line 210
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Constant MODULE_ORDER_TOTAL_COUPON_HEADER already defined in /home/xxxxxxxx/public_html/v2/includes/languages/bulgarian/modules/order_total/luxury_temp/ot_coupon.php on line 14
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined property: ot_subtotal::$credit_class in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 165
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: cot_coupon in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 167
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: cot_group_pricing in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 167
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined property: ot_total::$credit_class in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 165
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: cc_id in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_coupon.php on line 392
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: total in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 32
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: total in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 33
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant luxury_preset - assumed 'luxury_preset' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/html_header.php on line 27
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant luxury_preset - assumed 'luxury_preset' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_colorclass.php on line 2
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant luxury_header_option - assumed 'luxury_header_option' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_colorclass.php on line 4
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant luxury_banner_section - assumed 'luxury_banner_section' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_main_page_2.php on line 54
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined variable: class in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_main_page_2.php on line 104
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined variable: style in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_main_page_2.php on line 104
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant luxury_preset - assumed 'luxury_preset' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_header_menu_2.php on line 2
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant luxury_header_option - assumed 'luxury_header_option' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_header_menu_2.php on line 5
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant luxury_category_menu - assumed 'luxury_category_menu' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_header_menu_2.php on line 130
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant luxury_preset - assumed 'luxury_preset' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/templates/tpl_modules_search.php on line 2
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/xxxxxxxx/public_html/v2/includes/functions/html_output.php on line 339
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/xxxxxxxx/public_html/v2/includes/functions/html_output.php on line 339
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined property: ot_subtotal::$credit_class in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 125
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_coupon.php on line 136
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_coupon.php on line 136
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined variable: selection in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 141
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined property: ot_total::$credit_class in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 125
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: checkbox in /home/xxxxxxxx/public_html/v2/includes/templates/template_default/templates/tpl_checkout_one_default.php on line 95
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/xxxxxxxx/public_html/v2/includes/functions/html_output.php on line 339
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: cc_id in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_coupon.php on line 392
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: total in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 32
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Undefined index: total in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 33
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/xxxxxxxx/public_html/v2/includes/functions/html_output.php on line 339
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant luxury_footer - assumed 'luxury_footer' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_footer.php on line 35
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice:  Use of undefined constant CONTACT_US - assumed 'CONTACT_US' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_footer.php on line 87

Any help is wellcome, thanks.

16 Feb 2017, 6:58 PM
#365
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

Maybe there is no problem with the OPC but with compability with modules, when I remove COD no warnings appear in the logs but still have that anoying pop-up:

Please contact the site owner; some of the required elements are mssing

How to fix that what elements are missing, or i cant find them

Link dont use category menu because you will be redirected to the Live site add product form the main page!

login details for custommer
icogiev at g m a i l.com
123456

16 Feb 2017, 7:08 PM
#366
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

I found the problem I was missing shipping_ot when I enabled it no more pop-ups!

Thanks for all the help, great module!

16 Feb 2017, 7:13 PM
#367
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

I just successfully checked out using the credentials you provided.

15 Mar 2017, 6:47 PM
#368
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

:hug:

OPC logfile sure made it easy (for me) to confirm data entered/submitted by customer when contacted by customer insisting that they entered a different shipping address.

Customer finally admits changing address info in their account after order was placed without realizing that a data trail might exist. :oops:

15 Mar 2017, 7:52 PM
#369
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

RixStix:

OPC logfile sure made it easy (for me) to confirm data entered/submitted by customer when contacted by customer insisting that they entered a different shipping address.

Customer finally admits changing address info in their account after order was placed without realizing that a data trail might exist.
Nice one, Rick! You kind of have to "wrap your head" around the formatting, but your comment reinforces my original belief that the debug-logs should be kept on a customer-by-customer basis instead of the transaction-basis that's used by many of the built-in payment methods.

18 Mar 2017, 8:25 PM
#370
manticore avatar

manticore

New Zenner

Join Date:
Dec 2016
Location:
Seattle
Posts:
4
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I'm using One-Page Checkout 1.1.0 on ZenCart 1.55e and COWOA 2.7 beta, and Ceon Manual Card 4.01. Everything is working great with one hiccup that I believe is related to the One-Page Checkout addon
:
If a bad credit card number is entered (wrong number of digits), the normal prompt comes up about it. But after you put the correct one in, a note comes up 'Your order's details have changed. Please review the current values and re-submit.' (That text is in /includes/languages/english/checkout_one_confirmation.php)
Then you have to enter the credit card information AGAIN to get the order to process.

It is a pretty minor inconvenience that won't happen often but if there is an easy fix for it it would be nice if it never happened. Thanks for the great addon!

18 Mar 2017, 8:36 PM
#371
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

It's certainly related to using OPC with COWOA! I haven't yet validated any version of COWOA with OPC and I'll update the OPC readme to indicate as such.

19 Mar 2017, 2:42 PM
#372
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: One-Page Checkout [Support Thread]

lat9:

It's certainly related to using OPC with COWOA! I haven't yet validated any version of COWOA with OPC and I'll update the OPC readme to indicate as such.

For info... I'm working on converting what I have as COWOA to ZC1.5.5e. Already has a one page, but its older code and I like your version better. Setting it up on the response classic template..

19 Mar 2017, 3:55 PM
#373
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

davewest:

For info... I'm working on converting what I have as COWOA to ZC1.5.5e. Already has a one page, but its older code and I like your version better. Setting it up on the response classic template..
Good news, Dave! Thanks for the update.

20 Mar 2017, 5:46 PM
#374
kritterann23 avatar

kritterann23

New Zenner

Join Date:
Mar 2017
Location:
York, SC
Posts:
1
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hi there!

I too am getting the "Please contact the site owner; some of the required elements are missing" pop up error. I followed the instructions from an earlier post to determine the missing element. I'm missing #otshipping. I'm new to all of this and was hoping you could tell me in newbie language what I need to do to resolve this?

Thanks,

20 Mar 2017, 5:55 PM
#375
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Kritterann23:

Hi there!

I too am getting the "Please contact the site owner; some of the required elements are missing" pop up error. I followed the instructions from an earlier post to determine the missing element. I'm missing #otshipping. I'm new to all of this and was hoping you could tell me in newbie language what I need to do to resolve this?

Thanks,
Welcome to the Zen Cart community! If you'll answer a couple of questions, I'll try to help:

  1. Would you provide a link to your store, either here in the support-thread or via PM (private message) to me?
  2. What template are you using?
  3. What version of OPC are you using?
  4. What version of Zen Cart are you using?
21 Mar 2017, 10:03 PM
#376
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Just a follow-up to @Kritterann23's issue, the *YourSite *template from themeforest makes incompatible changes to the /includes/templates/YourSite/templates/tpl_modules_order_total.php module, removing the HTML **id **attributes that OPC is looking for.

I'll add that template to the list of known incompatibilities.

22 Mar 2017, 8:15 PM
#377
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

strange thing I have not noticed before. Might have done this myself when merging. So when I place an order I come to the one page checkout page. All looks as I expect. I fill in credit card info and press confirm order button and it gets me to a 2nd page with all order info on it and card info and such and wants me to confirm again? Is this normal? I use PayPal Pro payment module.

When I tested on the test site I used mainly the money order payment module to testing and this second confirmation page never shows.

Now this one page checkout is suddenly a two page checkout? I am confused.

22 Mar 2017, 8:45 PM
#378
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Just want to add I am on 155e using modified Winchester responsive. COWOA is installed. Payment mods are PayPal Pro and PayPal Express.

22 Mar 2017, 9:30 PM
#379
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

mydanilo:

strange thing I have not noticed before. Might have done this myself when merging. So when I place an order I come to the one page checkout page. All looks as I expect. I fill in credit card info and press confirm order button and it gets me to a 2nd page with all order info on it and card info and such and wants me to confirm again? Is this normal? I use PayPal Pro payment module.

When I tested on the test site I used mainly the money order payment module to testing and this second confirmation page never shows.

Now this one page checkout is suddenly a two page checkout? I am confused.

mydanilo:

Just want to add I am on 155e using modified Winchester responsive. COWOA is installed. Payment mods are PayPal Pro and PayPal Express.
That's to be expected. PayPal Payments Pro, like Authorize.net/AIM, collects credit-card data on-site; that's where the additional confirmation page for those payment methods comes from.

22 Mar 2017, 10:47 PM
#380
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I'm not just getting the confirmation page, I am prompted to confirm a second time. Really confusing and easy to miss that another time the confirm button needs to be pressed. Then the 3rd page is the actual confirmation that order was placed.