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

One-Page Checkout [Support Thread]

Views: 628,981

Results 2,401 to 2,420 of 3,073
15 Jul 2022, 6:58 PM
#2401
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
362
Plugin Contributions:
0

One-Page Checkout [Support Thread]

Thanks for your reply. I might just forget how it looks like by default...

16 Jul 2022, 12:59 PM
#2402
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

lat9:

I've just submitted v2.4.2 of One-Page Checkout for the Zen Cart moderators' review and will post back here when it's available for download (https://www.zen-cart.com/downloads.php?do=file&id=2095).

This release contains changes associated with the following GitHub issues:

#332: Guest shipping-address overwritten if billing address is changed.
#334: Disable Confirm/Review buttons until terms/privacy are agreed to.
#335: Correct 'languages_id' warning when cart's restored by "Keep Cart".
#338: Display HTML in status-history comments for all but the first, customer-entered, one.
#339: Remove extraneous language constants from ot_coupon and ot_gv overrides.
#340: Check for terms/privacy acceptance only if no previous redirect detected.
#341: Correct warnings (or PHP 8 errors) when 'credit covers' an order.
#342: Don't default guest-checkout state selections to the store's zone/state; require a selection.
#343: Correct interaction with square_webPay payment module.
#344: Convert language files to adhere to zc158 language-file naming conventions.
#345: Remove unneeded template-override language file.
#346: Document additional payment modules supported (authorizenet_cim and authorizenet_cof).
#347: PayPal Express Checkout proceeds to OPC if the cart's changed ... it shouldn't!
#348: order_status: Correct handling for stores that use Force Cookie Usage set to 'True'.
Now available for download.

17 Jul 2022, 5:28 AM
#2403
titanowl avatar

titanowl

New Zenner

Join Date:
May 2022
Location:
Canada
Posts:
19
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

It is a different template, but the point was to see why some customers can't enter their DOB. Did you try choosing a date from the calendar popup provided by your phone ... i.e. that's not the template doing that popup.

Hi again,

Yes, I picked a BD from the pop up calendar. The issue is as I wrote before, after entering the billing/shipping information in Mobile mode, after saving it, the bottom part which gives options for shipping and payment grays out and there is no way to access that part to enter the payment information or change the shipping method.

It works in Desktop mode, but it does not work in Mobile mode.

In order to verify the issue, I made a clean install of latest zen cart then added the OPC 2.4.2 to it, please check the https://www.tajerak.com and place a products in your shopping cart by using your cell phone ( mine is Android) then go to guest check out and try to see if you can change the shipping method or if you can enter the payment information.

Please test and let me know , thank you.

17 Jul 2022, 5:06 PM
#2404
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

TitanOwl:

Hi again,

Yes, I picked a BD from the pop up calendar. The issue is as I wrote before, after entering the billing/shipping information in Mobile mode, after saving it, the bottom part which gives options for shipping and payment grays out and there is no way to access that part to enter the payment information or change the shipping method.

It works in Desktop mode, but it does not work in Mobile mode.

In order to verify the issue, I made a clean install of latest zen cart then added the OPC 2.4.2 to it, please check the https://www.tajerak.com and place a products in your shopping cart by using your cell phone ( mine is Android) then go to guest check out and try to see if you can change the shipping method or if you can enter the payment information.

Please test and let me know , thank you.
Thanks for your persistance, @TitanOwl. There is, as you identified, an issue with the responsive_classic template's rendering as it (for whatever reason) causes that date popup to be displayed.

See this (https://github.com/lat9/one_page_checkout/issues/350) GitHub issue for the correction. The only file changed is /includes/classes/OnePageCheckout.php. The correction will be included in OPC v2.4.3.

18 Jul 2022, 2:52 PM
#2405
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
362
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

My site received another log file over the last weekend...

[15-Jul-2022 17:36:43 America/New_York] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=validateCustomerInfo, IP address: 5.81.xxx.xxx (IP from UK)
#1 trigger_error() called at [/public_html/includes/classes/OnePageCheckout.php:1300]
#2 OnePageCheckout->validateAndSaveAjaxCustomerInfo() called at [/public_html/includes/classes/ajax/zcAjaxOnePageCheckout.php:401]
#3 zcAjaxOnePageCheckout->validateCustomerInfo() called at [/public_html/ajax.php:85]
--> PHP Fatal error: validateAndSaveAjaxCustomerInfo, invalid POST: array (
) in /public_html/includes/classes/OnePageCheckout.php on line 1300.

It is an intermittent issue (all other orders over the last weekend are good) and it is my first time to see this error. I did some search in this post and it is recommended to set "Payment-Block Action on Shipping Change" to "update". I set it to "no-update" currently.

I'm using USPS/FedEx and PayPal express & payment pro. So if I'm right, those payment blocks don't need an update. The reason I set it to "no-update" is that I don't want the customer to re-enter the credit card info again if he changes the shipping method, and "no-update" seems working fine for a majority of the cases.

BTW last Friday, I updated my OPC from 2.4.2 beta to 2.4.2.

Please let me know. Thanks in advance.

18 Jul 2022, 10:04 PM
#2406
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: One-Page Checkout [Support Thread]

This is apparently new but can't state when it happened.

The site is 1.5.7d and running the latest from GitHub in Square WebPay, USPS (both Ground and Priority), and OPC. It is NOT bootsrap but a clone of responsive_classic.

The store sits in a location that can be reached in minutes from three or four states. As such, the owner does not want to limit store pickup to the one state.

This was working fine for at least two years with no zone restrictions on Store Pickup, OPC set to allow Guest Checkout, and OPC's Enable Shipping=Billing set to true.

Confusion by folks entering their Shipping Address first in OPC resulted in the turning off the Enable Shipping=Billing.

Since doing that, the system no longer selects the cheaper USPS option. No matter what is entered the shipping defaults to Store Pickup.

If there was a change causing this, where can we reset the code?

If there was not ever a change for this, where might we tell the system to bypass Store Pickup when considering the cheapest shipping method.

It's easier to refund postage than try to add it on. And, their location makes it easier for three local states to drive there than 50% of the state they are located in.

THANX for any input.

19 Jul 2022, 6:54 AM
#2407
shags38 avatar

shags38

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

v1.5.5f OPC 2.3.12 Westminster_New template site treeoflifejewellery.com

Hi Cindy, I recently upgraded to OPC 2.3.12 on a v1.5.5f site - using guest checkout and credit card the transaction progresses as it should and actually completes (received order confirmation in my inbox after test) however instead of getting the successful transaction page I get the "Whoops! Your session has expired." message with the login blocks etc. I googled and found a few threads on the subject but none seem to fit - this one was closest discussing config. files http vs https but my whole site is set to https so I can't see the fit here either - https://www.zen-cart.com/showthread.php?224623-Message-quot-Whoops!-Your-session-has-expired-quot-after-upgrading-site

I noticed in one thread I found that you asked the poster with a sub-directory Whoops issue if they had and other sites in the root - so not sure if it is relevant but I have recently built a v1.5.7d site in a folder in the root to test and then convert the site to this version - it has OPC 2.4.2 installed (can't check if that works due to Ceon URI Mapping redirect issues (redirects new store to old existing store when clicking on a product or category etc - have posted that issue elsewhere)

No error log.

cheers, Mike

19 Jul 2022, 10:17 AM
#2408
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

dbltoe:

This is apparently new but can't state when it happened.

The site is 1.5.7d and running the latest from GitHub in Square WebPay, USPS (both Ground and Priority), and OPC. It is NOT bootsrap but a clone of responsive_classic.

The store sits in a location that can be reached in minutes from three or four states. As such, the owner does not want to limit store pickup to the one state.

This was working fine for at least two years with no zone restrictions on Store Pickup, OPC set to allow Guest Checkout, and OPC's Enable Shipping=Billing set to true.

Confusion by folks entering their Shipping Address first in OPC resulted in the turning off the Enable Shipping=Billing.

Since doing that, the system no longer selects the cheaper USPS option. No matter what is entered the shipping defaults to Store Pickup.

If there was a change causing this, where can we reset the code?

If there was not ever a change for this, where might we tell the system to bypass Store Pickup when considering the cheapest shipping method.

It's easier to refund postage than try to add it on. And, their location makes it easier for three local states to drive there than 50% of the state they are located in.

THANX for any input.
Identifying what version of OPC is in use would help me to determine the root cause.

19 Jul 2022, 10:23 AM
#2409
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

shags38:

v1.5.5f OPC 2.3.12 Westminster_New template site treeoflifejewellery.com

Hi Cindy, I recently upgraded to OPC 2.3.12 on a v1.5.5f site - using guest checkout and credit card the transaction progresses as it should and actually completes (received order confirmation in my inbox after test) however instead of getting the successful transaction page I get the "Whoops! Your session has expired." message with the login blocks etc. I googled and found a few threads on the subject but none seem to fit - this one was closest discussing config. files http vs https but my whole site is set to https so I can't see the fit here either - https://www.zen-cart.com/showthread.php?224623-Message-quot-Whoops!-Your-session-has-expired-quot-after-upgrading-site

I noticed in one thread I found that you asked the poster with a sub-directory Whoops issue if they had and other sites in the root - so not sure if it is relevant but I have recently built a v1.5.7d site in a folder in the root to test and then convert the site to this version - it has OPC 2.4.2 installed (can't check if that works due to Ceon URI Mapping redirect issues (redirects new store to old existing store when clicking on a product or category etc - have posted that issue elsewhere)

No error log.

cheers, Mike
Mike, I've got no means (or time, unfortunately) to test the operation on zc155f ... there are way to many differences between that Zen Cart version and that currently released (zc157d). Is this the live site or a test site? Are there any debug-logs created during the checkout-process step?

19 Jul 2022, 5:24 PM
#2410
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: One-Page Checkout [Support Thread]

dbltoe:

The site is 1.5.7d and running the latest from GitHub in Square WebPay, USPS (both Ground and Priority), and OPC. It is NOT bootsrap but a clone of responsive_classic.
I've got new trifocals on the way myself. :P

19 Jul 2022, 6:11 PM
#2412
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
362
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

shags38:

v1.5.5f OPC 2.3.12 Westminster_New template site treeoflifejewellery.com

Hi Cindy, I recently upgraded to OPC 2.3.12 on a v1.5.5f site - using guest checkout and credit card the transaction progresses as it should and actually completes (received order confirmation in my inbox after test) however instead of getting the successful transaction page I get the "Whoops! Your session has expired." message with the login blocks etc. I googled and found a few threads on the subject but none seem to fit - this one was closest discussing config. files http vs https but my whole site is set to https so I can't see the fit here either - https://www.zen-cart.com/showthread.php?224623-Message-quot-Whoops!-Your-session-has-expired-quot-after-upgrading-site

I noticed in one thread I found that you asked the poster with a sub-directory Whoops issue if they had and other sites in the root - so not sure if it is relevant but I have recently built a v1.5.7d site in a folder in the root to test and then convert the site to this version - it has OPC 2.4.2 installed (can't check if that works due to Ceon URI Mapping redirect issues (redirects new store to old existing store when clicking on a product or category etc - have posted that issue elsewhere)

No error log.

cheers, Mike

I want to share my experience for the same error "Whoops! Your session has expired."

  1. The previous threads suggested it is http & https error in configure.php file from zc (two files). Please check both files make sure you only use https, not http.

  2. My site uses htaccess file to force redirect. It is not recommended but it works fine on my end. My case will be different because I need to redirect twice: non-www to www, http to https. I wrote the code by myself at first which may not be good. So I googled and found the example code shared by other developers.

  3. Admin -> Configuration -> Sessions, Force Cookie Use. Set it as false. This bug was fix in OPC 2.4.2. But I remember, before I installed OPC, sometimes I will also see this error. Maybe that is the root cause.

  4. As @dbltoe mentioned, https://docs.zen-cart.com/user/payment/payment_whoops_timeouts/

19 Jul 2022, 10:48 PM
#2413
titanowl avatar

titanowl

New Zenner

Join Date:
May 2022
Location:
Canada
Posts:
19
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

Thanks for your persistance, @TitanOwl. There is, as you identified, an issue with the responsive_classic template's rendering as it (for whatever reason) causes that date popup to be displayed.

See this (https://github.com/lat9/one_page_checkout/issues/350) GitHub issue for the correction. The only file changed is /includes/classes/OnePageCheckout.php. The correction will be included in OPC v2.4.3.

thank you for update, it works now after updating the files, waiting for OPC v2.4.3 .

20 Jul 2022, 11:26 AM
#2414
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

TitanOwl:

thank you for update, it works now after updating the files, waiting for OPC v2.4.3 .
Thanks for the verification that the correction works, additional eyes are always a good thing!

21 Jul 2022, 12:34 AM
#2415
shags38 avatar

shags38

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

@dbltoe @njcyx @lat9

Many thanks to all - so the code suggested unfortunately did not work in this case so I deleted the updated 2.3.12 version and reinstated the prior existing version (2.3.9) - subsequently I have completed the rebuild of the site to v157d with the latest version OPC and all is great.

cheers,
Mike

21 Jul 2022, 1:20 AM
#2416
ikirin avatar

ikirin

New Zenner

Join Date:
Apr 2019
Location:
shanghai
Posts:
27
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

TitanOwl:

Hi again,

Yes, I picked a BD from the pop up calendar. The issue is as I wrote before, after entering the billing/shipping information in Mobile mode, after saving it, the bottom part which gives options for shipping and payment grays out and there is no way to access that part to enter the payment information or change the shipping method.

It works in Desktop mode, but it does not work in Mobile mode.

In order to verify the issue, I made a clean install of latest zen cart then added the OPC 2.4.2 to it, please check the https://www.tajerak.com and place a products in your shopping cart by using your cell phone ( mine is Android) then go to guest check out and try to see if you can change the shipping method or if you can enter the payment information.

Please test and let me know , thank you.

Hello, I also have the same problem, in guest mode, the mobile device cannot save birthdays correctly, is the problem solved? The test model iphone7plus iOS15.5, Google Chrome developer mobile device simulator is the same problem.

21 Jul 2022, 1:39 AM
#2417
ikirin avatar

ikirin

New Zenner

Join Date:
Apr 2019
Location:
shanghai
Posts:
27
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I see your solution, it is also applicable to my website, thanks, the website template I use is responsive_classic

21 Jul 2022, 4:37 PM
#2418
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: One-Page Checkout [Support Thread]

I can confirm I now have OPC 2.4.3-beta1 downloaded from Git Hub

And I also have Square Web Pay Installed from here https://www.zen-cart.com/downloads.php?do=file&id=2345 and still get this if I enter the credit card details before pressing the radio button when I click confirm order.

Tested in Safari and Chrome on a Macbook

**We have a problem on our end. So Sorry! Please report this error to the Store Owner: SQ-MISSING-TOKEN

**Any ideas lat9?

Switching back to the old Square Module for now which works with OPC for the moment.

21 Jul 2022, 4:39 PM
#2419
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: One-Page Checkout [Support Thread]

Nick1973:

I can confirm I now have OPC 2.4.3-beta1 downloaded from Git Hub

And I also have Square Web Pay Installed from here https://www.zen-cart.com/downloads.php?do=file&id=2345 and still get this if I enter the credit card details before pressing the radio button when I click confirm order.

Tested in Safari and Chrome on a Macbook

**We have a problem on our end. So Sorry! Please report this error to the Store Owner: SQ-MISSING-TOKEN

**Any ideas lat9?

Switching back to the old Square Module for now which works with OPC for the moment.

Forgot to say I am using Template Name: "ZCA Bootstrap-4"

Template Version: Version 3.1.5

21 Jul 2022, 5:08 PM
#2420
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: One-Page Checkout [Support Thread]

Nick1973:

Forgot to say I am using Template Name: "ZCA Bootstrap-4"

Template Version: Version 3.1.5

Seriously I am thinking of moving away from this new Square WebPay Module at the moment as it doesn't function well with OPC. Although I want to use OPC. So which modules do a similar thing with the credit card payment form actually in the checkout....this is if I can't get square WebPay working? Which I have to say at the moment it is doing my head in.