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

One-Page Checkout [Support Thread]

Views: 632,616

Results 2,961 to 2,980 of 3,088
11 Jul 2025, 7:11 PM
#2961
dave224 avatar

dave224

Zen Follower

Join Date:
Jun 2012
Posts:
481
Plugin Contributions:
0

One-Page Checkout [Support Thread]

Thank you Cindy for finding the solution to my problem!

Dave

27 Jul 2025, 11:23 PM
#2962
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I seem to get this error again, going through many pages to check description formatting. I added a couple items to cart, gone through couple hundred items. Then blank page on every refresh. In a different browser, its no problem and I can resume going through page. I thought the previous fix I mentioned not long ago worked. It did at time, I still have that code fix. But it gives the same error again. I have 2.55 Beta version:-

[28-Jul-2025 00:17:09 Europe/London] PHP Fatal error: Uncaught Error: Call to a member function guestCheckoutEnabled() on int in /includes/classes/observers/class.checkout_one_observer.php:216
Stack trace:
#0 /includes/autoload_func.php(64): checkout_one_observer->messageCheck()
#1 /includes/application_top.php(329): require('/home/****/...')
#2 /index.php(25): require('/home/*****/...')
#3 {main}
thrown in /includes/classes/observers/class.checkout_one_observer.php on line 216

27 Jul 2025, 11:38 PM
#2963
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I cleared zen_sessions table, and I can resume in current browser. But it must be saving the error in the session for some reason? After click through of couple of hundred pages? Some customers can do that for real I imagine, perhaps more so if an item is saved in basket. I also have Automatic Login module enabled. I did try disabling that, but it didn't help. Whether they can play together for session, I don't know.

29 Jul 2025, 11:34 PM
#2964
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

HeathenMagic:

I cleared zen_sessions table, and I can resume in current browser. But it must be saving the error in the session for some reason? After click through of couple of hundred pages? Some customers can do that for real I imagine, perhaps more so if an item is saved in basket. I also have Automatic Login module enabled. I did try disabling that, but it didn't help. Whether they can play together for session, I don't know.
That observer is making a call to OPC's session-based class ... which has mysteriously "gone missing" sometime between load point 75 and 131. I'll be home next Monday and will take a deeper look.

30 Jul 2025, 1:26 PM
#2965
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

That observer is making a call to OPC's session-based class ... which has mysteriously "gone missing" sometime between load point 75 and 131. I'll be home next Monday and will take a deeper look.

Ah I see. Was hard to replicate, but definitely when going through lots and lots of items. Otherwise, it seems to be okay.

20 Aug 2025, 3:51 PM
#2967
dave224 avatar

dave224

Zen Follower

Join Date:
Jun 2012
Posts:
481
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I need to force a specific shipping method (shipping by quote) for not only customers in a geo-zone specified in the shipping by quote shipping module but also for customers in a specific customer group regardless of their geo-zone. How can I do this in OPC? A notifier suggestion would be a big help.

Thank you!

Dave
zc2.1.0, opc2.5.4, bootstrap3.7.7

20 Aug 2025, 4:34 PM
#2968
dave224 avatar

dave224

Zen Follower

Join Date:
Jun 2012
Posts:
481
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Sorry, I found an article here that provides one way to do what I need.

Dave

25 Aug 2025, 9:32 AM
#2969
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

I have also seen the "Call to a member function guestCheckoutEnabled() on int" error in ZC 2.1.0/OPC 2.5.4.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

25 Aug 2025, 12:48 PM
#2970
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

swguy:

I have also seen the "Call to a member function guestCheckoutEnabled() on int" error in ZC 2.1.0/OPC 2.5.4.
Unfortunately, that's meaningless without the full log with the backtrace and the page on which it was issued.

25 Aug 2025, 1:11 PM
#2971
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

[01-Aug-2025 03:07:38 America/Chicago] PHP Fatal error: Uncaught Error: Call to a member function guestCheckoutEnabled() on int in /home/client/public_html/includes/classes/observers/class.checkout_one_observer.php:216
Stack trace:
#0 /home/client/public_html/includes/autoload_func.php(64): checkout_one_observer->messageCheck()
#1 /home/client/public_html/includes/application_top.php(329): require('/home/client/...')
#2 /home/client/public_html/index.php(25): require('/home/client/...')
#3 {main}
thrown in /home/client/public_html/includes/classes/observers/class.checkout_one_observer.php on line 216

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

19 Sep 2025, 12:29 PM
#2972
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

v2.5.5 of One-Page Checkout is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

This release contains changes associated with these GitHub issues:

#425: Disregard shipping modules/methods with no 'id'
#428: Passing E_USER_ERROR to trigger_error() is deprecated
#431: Corrections needed for shipping modules with 'extra' fields
#432: AJAX: Conditionally load order-related classes
#435: 'state_code' address element not created for temporary address updates
#440: Correct product tax display on shipping change
#441: Disallow guest-checkout if email_address is registered but not authorized
#442: Remove overrides now present in zc158 and later

26 Sep 2025, 11:43 PM
#2973
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

is it normal for OPC to be display has on column on responsive template?

When combine with the bootstrap template, OPC is display in several columns.

I am not able to add screenshot somehow but:

OPC on bootstrap is like

column 1 column 2 column 3

billing info cart content other
shipping info comment box

OPC on responsive is one column only

billing info
shipping info
comment
cart content

How can i get the 3 column on responsive classic template?

Thank you

27 Sep 2025, 12:25 PM
#2974
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

nicksab:

is it normal for OPC to be display has on column on responsive template?

When combine with the bootstrap template, OPC is display in several columns.

I am not able to add screenshot somehow but:

OPC on bootstrap is like

column 1 column 2 column 3

billing info cart content other
shipping info comment box

OPC on responsive is one column only

billing info
shipping info
comment
cart content

How can i get the 3 column on responsive classic template?

Thank you
OPC provides a checkout_one.css file in its distribution's /includes/templates/YOUR_TEMPLATE directory. Did you copy that .css file to your responsive_classic clone's template directory?

Note that the file should not be copied for the Bootstrap template and its clones.

28 Sep 2025, 1:32 AM
#2975
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

OPC provides a checkout_one.css file in its distribution's /includes/templates/YOUR_TEMPLATE directory. Did you copy that .css file to your responsive_classic clone's template directory?

Note that the file should not be copied for the Bootstrap template and its clones.

The file is there and I am using the latest version of OPC 2.5.5

I am still getting error when trying to attach images so maybe these dropbox link would work better.

Here is the website using Bootstrap Template with OPC

[https://www.dropbox.com/scl/fi/vv180ctihrarrlq9oc5yg/Screenshot_27-9-2025_181854_www.royal-fleur.com.jpeg?rlkey=rgbgcmj6ux5w86gsihodjhrfy&st=3zt2azxo&dl=0](https://www.dropbox.com/scl/fi/vv180ctihrarrlq9oc5yg/Screenshot_27-9-2025_181854_www.royal-fleur.com.jpeg?rlkey=rgbgcmj6ux5w86gsihodjhrfy&st=3zt2azxo&dl=0)

Here is the site with Responsive Template and OPC Checkout

https://www.dropbox.com/scl/fi/ml3p9e02h735e66q537gb/Screenshot-2025-09-27-at-18-20-09-Same-Day-Flower-Delivery-by-your-Local-Florist.png?rlkey=2vykydn7la4xbziso9dymsgnf&st=ufd3t1ju&dl=0

Same site Responsive Template with classic checkout

https://www.dropbox.com/scl/fi/3p0dir2g2axgjokbrq7iq/Screenshot-2025-09-27-at-18-24-47-Step-2-of-3-Payment-Information-Same-Day-Flower-Delivery-by-your-Local-Florist.png?rlkey=fufgosfi4ge050kdrunfxiidn&st=0jyjlhht&dl=0

28 Sep 2025, 11:43 AM
#2976
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

That screenshot of Bootstrap with OPC doesn't look like the as-shipped version and the screenshot with responsive_classic is too teeny to make out.

Noting, too, that debugging CSS issues via screenshots is pretty "impossible".

28 Sep 2025, 6:12 PM
#2977
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

That screenshot of Bootstrap with OPC doesn't look like the as-shipped version and the screenshot with responsive_classic is too teeny to make out.

Noting, too, that debugging CSS issues via screenshots is pretty "impossible".

sorry forgot to add the link to site with issues

https://www.royal-fleur.com/belvedere/

29 Sep 2025, 12:32 PM
#2978
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

nicksab:

sorry forgot to add the link to site with issues

https://www.royal-fleur.com/belvedere/
A couple of things with your site-specific customizations:

  1. I'm not sure what the goal is with the addition of a <div id="main-content" class="box_spacer"> is, but I don't think that that's helping.
  2. Your stylesheet_zcustom.css is overriding the onerow-fluid class' layout
29 Sep 2025, 6:18 PM
#2979
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: One-Page Checkout [Support Thread]

PHP 8.4 / ZC 2.1.0 / OPC 2.5.5

This is a bit of a weird one. I'm trying to modify the Square WebPay payment module to add on Square's CashApp payments to be processed through the site. So far, it works when I do so with the standard checkout and One Page Checkout with nothing extra added.

However, if I enable the option "Confirm Terms and Conditions During Checkout Procedure" and then try to proceed with one-page checkout, ZenCart will alert that I need to confirm to the terms of service. But clicking that checkbox, and then trying to confirm order, it stops cold (no processing) or anything. Meanwhile, if I get rid of the checkbox to agree to Terms, it works fine.

I noticed on Developer Console the following "warnings"(?):

Content Script Bridge: Sending response back to page context: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}content-scripts.js:1 CONTENT_SHELL: Page is excluded. Skipping shell protection.
content-scripts.js:1 Content Script Bridge: Unknown message type,  MSG_CHECK_DOMAIN_ALLOW_LIST_RESPONSE
injection-tss-mv3.js:1 TSS: Received response from checkDomainAndRun: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
injection-tss-mv3.js:1 injection-tss TSS: hosted page injected
injection-tss-mv3.js:1 injection-tss MBTSS: Nonce:  nonce
content-scripts.js:1 TSS: excluded result:  true
content-scripts.js:1 SCHJK: Search Hijacking notification feature flag is enabled. true
content-scripts.js:1 DFP: Breach notification feature flag is enabled. true
content-scripts.js:1 CONTENT_SHELL: Page is excluded. Skipping shell protection.
content-scripts.js:1 TSS: excluded result:  true
content-scripts.js:1 Content Script Bridge: Sending response back to page context: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
content-scripts.js:1 Content Script Bridge: Unknown message type,  MSG_CHECK_DOMAIN_ALLOW_LIST_RESPONSE
injection-tss-mv3.js:1 TSS: Received response from checkDomainAndRun: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
injection-tss-mv3.js:1 injection-tss TSS: hosted page injected
injection-tss-mv3.js:1 injection-tss MBTSS: Nonce:  nonce
content-scripts.js:1 SCHJK: Search Hijacking notification feature flag is enabled. true
content-scripts.js:1 DFP: Breach notification feature flag is enabled. true
square.js:3 Initializing Cash App Pay... success! {addEventListener: ƒ, attach: ƒ, destroy: ƒ, detach: ƒ, removeEventListener: ƒ}
square.js:3 found checkoutOneSubmit button!
content-scripts.js:1 Content Script Bridge: Sending response back to page context: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
content-scripts.js:1 Content Script Bridge: Unknown message type,  MSG_CHECK_DOMAIN_ALLOW_LIST_RESPONSE
injection-tss-mv3.js:1 TSS: Received response from checkDomainAndRun: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
injection-tss-mv3.js:1 injection-tss TSS: hosted page injected
injection-tss-mv3.js:1 injection-tss MBTSS: Nonce:  nonce
square.js:3 setFormSubmitButton, payment-module: square_webPay
square.js:3 Showing "confirm", paymentMethodHandlesSubmit (true)
square.js:3 setFormSubmitButton, enabling Review and Confirm buttons.
square.js:3 submitFunction, on exit submitter=null
square.js:3 Setting orderConfirmed (1), submitter (null)
square.js:3 Form being submitted, submit_type(confirm
square.js:3 setFormSubmitButton, payment-module: square_webPay
square.js:3 Showing "confirm", paymentMethodHandlesSubmit (true)
square.js:3 setFormSubmitButton, enabling Review and Confirm buttons.
square.js:3 Form checked, passed (true)
square.js:3 Deferring form submittal to the currently-selected payment method.

Not sure what else I could provide to help track it down.

29 Sep 2025, 6:27 PM
#2980
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: One-Page Checkout [Support Thread]

retched:

PHP 8.4 / ZC 2.1.0 / OPC 2.5.5

This is a bit of a weird one. I'm trying to modify the Square WebPay payment module to add on Square's CashApp payments to be processed through the site. So far, it works when I do so with the standard checkout and One Page Checkout with nothing extra added.

However, if I enable the option "Confirm Terms and Conditions During Checkout Procedure" and then try to proceed with one-page checkout, ZenCart will alert that I need to confirm to the terms of service. But clicking that checkbox, and then trying to confirm order, it stops cold (no processing) or anything. Meanwhile, if I get rid of the checkbox to agree to Terms, it works fine.

I noticed on Developer Console the following "warnings"(?):

Content Script Bridge: Sending response back to page context: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}content-scripts.js:1 CONTENT_SHELL: Page is excluded. Skipping shell protection.
content-scripts.js:1 Content Script Bridge: Unknown message type, MSG_CHECK_DOMAIN_ALLOW_LIST_RESPONSE
injection-tss-mv3.js:1 TSS: Received response from checkDomainAndRun: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
injection-tss-mv3.js:1 injection-tss TSS: hosted page injected
injection-tss-mv3.js:1 injection-tss MBTSS: Nonce: nonce
content-scripts.js:1 TSS: excluded result: true
content-scripts.js:1 SCHJK: Search Hijacking notification feature flag is enabled. true
content-scripts.js:1 DFP: Breach notification feature flag is enabled. true
content-scripts.js:1 CONTENT_SHELL: Page is excluded. Skipping shell protection.
content-scripts.js:1 TSS: excluded result: true
content-scripts.js:1 Content Script Bridge: Sending response back to page context: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
content-scripts.js:1 Content Script Bridge: Unknown message type, MSG_CHECK_DOMAIN_ALLOW_LIST_RESPONSE
injection-tss-mv3.js:1 TSS: Received response from checkDomainAndRun: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
injection-tss-mv3.js:1 injection-tss TSS: hosted page injected
injection-tss-mv3.js:1 injection-tss MBTSS: Nonce: nonce
content-scripts.js:1 SCHJK: Search Hijacking notification feature flag is enabled. true
content-scripts.js:1 DFP: Breach notification feature flag is enabled. true
square.js:3 Initializing Cash App Pay... success! {addEventListener: ƒ, attach: ƒ, destroy: ƒ, detach: ƒ, removeEventListener: ƒ}
square.js:3 found checkoutOneSubmit button!
content-scripts.js:1 Content Script Bridge: Sending response back to page context: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
content-scripts.js:1 Content Script Bridge: Unknown message type, MSG_CHECK_DOMAIN_ALLOW_LIST_RESPONSE
injection-tss-mv3.js:1 TSS: Received response from checkDomainAndRun: {isAllowListed: false, isProtectionEnabled: true, isScamsProtectionEnabled: true}
injection-tss-mv3.js:1 injection-tss TSS: hosted page injected
injection-tss-mv3.js:1 injection-tss MBTSS: Nonce: nonce
square.js:3 setFormSubmitButton, payment-module: square_webPay
square.js:3 Showing "confirm", paymentMethodHandlesSubmit (true)
square.js:3 setFormSubmitButton, enabling Review and Confirm buttons.
square.js:3 submitFunction, on exit submitter=null
square.js:3 Setting orderConfirmed (1), submitter (null)
square.js:3 Form being submitted, submit_type(confirm
square.js:3 setFormSubmitButton, payment-module: square_webPay
square.js:3 Showing "confirm", paymentMethodHandlesSubmit (true)
square.js:3 setFormSubmitButton, enabling Review and Confirm buttons.
square.js:3 Form checked, passed (true)
square.js:3 Deferring form submittal to the currently-selected payment method.

> 
> Not sure what else I could provide to help track it down.

To add here: if I click the "terms" box BEFORE trying to submit payment details THEN click to submit payment details, it works normally.