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

One-Page Checkout [Support Thread]

Views: 629,232

Results 2,281 to 2,300 of 3,073
18 May 2022, 9:45 PM
#2281
dbltoe avatar

dbltoe

Totally Zenned

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

One-Page Checkout [Support Thread]

Traveling at the speed of volunteer:P

I just jumped in to answer because lat9 was gracious enough to work with me on a site with problems and it seemed as if she is tied up elsewhre.

Her volunteering to help me in the midst of all her other work was of tremendous value.

Since I am not the author, I can't post or commit the Pull request.

I'm sure that lat9 will handle the situation as soon as is possible.

One thing to note, these were warnings that did not necessarily stop the processing of orders.

18 May 2022, 9:58 PM
#2282
nick1973 avatar

nick1973

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

dbltoe:

If you are getting those issues, you are not using the files from github. Go to https://github.com/lat9/one_page_checkout, click on the Green CODE button and download the zip.

There are some changes in the admin files that need to be made for WebPay to work with some shipping modules AND some changes in files inside the includes folder to fix the var_export problem.

The errors you reported were fixed with the fix for #328 and ARE included in the download zip file.

You can fix the third var_export mentioned in the Pull Request either before or after you upload all the files. If you don't do the fix, you will get yet another var_export error for line 784 of includes/cllasses/observers/class.checkout_one_observer.php.

You can just overrite the existing files on your site and it wil work fine.

I am still getting issues with the 'Save Changes' button on two websites, can you help?

19 May 2022, 8:27 AM
#2283
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]

Nick1973:

I am still getting issues with the 'Save Changes' button on two websites, can you help?Please define the "issues". Don't show up, can't cllick on them, etc.
Need to know to help.

19 May 2022, 8:40 AM
#2284
nick1973 avatar

nick1973

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Nick1973:

Right well this is obviously where I am getting confused and other people will get confused. So obviously this needs putting in 'Plugins' asap really as not everyone is aware they will exist there. Now I know which ones I should be using, I will go and get them though.

It's easier for you to just go on one of the sites and see for yourself.

There is a product set up called 'Test' here

https://businesscardprinting.uk

Add it to the cart and try to fill out some details then 'Save Changes'

You will see what happens.

19 May 2022, 2:22 PM
#2285
njcyx avatar

njcyx

Zen Follower

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

Re: One-Page Checkout [Support Thread]

Nick1973:

It's easier for you to just go on one of the sites and see for yourself.

There is a product set up called 'Test' here

https://businesscardprinting.uk

Add it to the cart and try to fill out some details then 'Save Changes'

You will see what happens.

I just tested this link above. I added the "test" item to the shopping cart, then go to guest checkout. Fill in my contact info and shipping address, then "Save Changes" button doesn't work on my side. I can still click it, but no function afterwards. No error shows up, no pop-up. I tested with chrome. No adblock is installed. Not sure if you can find some log files on the admin page for my test.

I just installed the latest version v2.4.0 one week ago and I don't have this issue. I guess this type of strange issue may either related to the server side (like php incompatible), or maybe you have not uploaded correct/complete files to your server, or maybe some conflicts with other plug-ins you installed. If I were you, I will re-upload all the plug-in files to the server and see how it works. I'm not a professional developer. That is just my thought.

19 May 2022, 2:41 PM
#2286
nick1973 avatar

nick1973

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

njcyx:

I just tested this link above. I added the "test" item to the shopping cart, then go to guest checkout. Fill in my contact info and shipping address, then "Save Changes" button doesn't work on my side. I can still click it, but no function afterwards. No error shows up, no pop-up. I tested with chrome. No adblock is installed. Not sure if you can find some log files on the admin page for my test.

I just installed the latest version v2.4.0 one week ago and I don't have this issue. I guess this type of strange issue may either related to the server side (like php incompatible), or maybe you have not uploaded correct/complete files to your server, or maybe some conflicts with other plug-ins you installed. If I were you, I will re-upload all the plug-in files to the server and see how it works. I'm not a professional developer. That is just my thought.

Already done it, I develop sites anyway so I will probably get onto it at some point soon. I am in the middle of another project at the minute. I have two sites where this issue is happening, and I don't think it is PHP as I have other sites with the same set up running on PHP7.4 where OPC is working. I am not sure at the minute, might be a JQUERY issue from the previous install got left over. I have already tried installing it again and get the same issue on two sites. There are some log files so I am hoping, with a bit of help, I should be able to get to the bottom of it.

19 May 2022, 2:47 PM
#2287
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

You're receiving a 404-Not Found when trying to Save the guest customer's address. Are you sure that the file /includes/classes/ajax/zcAjaxOnePageCheckout.php is present?

19 May 2022, 2:53 PM
#2288
nick1973 avatar

nick1973

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

You're receiving a 404-Not Found when trying to Save the guest customer's address. Are you sure that the file /includes/classes/ajax/zcAjaxOnePageCheckout.php is present?

yes it is there Cindy

On this path /includes/classes/ajax/zcAjaxOnePageCheckout.php

On the two sites that are affected

19 May 2022, 3:30 PM
#2289
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

I've just submitted v2.4.1 for the Zen Cart moderators' review.

This release contains changes associated with the following GitHub issues:

#123: Correcting login page layout when the 'PayPal' block is not the first.
#325: Correct PHP Warning when a shipping module reports errors.
#326: Session messages were 'lost' during the checkout_one_confirmation page's processing.
#327: Logged-in customers' ship-to address set by the shipping-estimator weren't being used.
#328: Correcting PHP warnings due to var_export complaining about circular references.
#329: Use JSON.parse instead of the (deprecated) jQuery.parseJSON; correct HTML validation issues.
#330: Use zen_country_zones to gather any country-specific 'zones'.

19 May 2022, 3:32 PM
#2290
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Nick1973:

yes it is there Cindy

On this path /includes/classes/ajax/zcAjaxOnePageCheckout.php

On the two sites that are affected
Well, there's something else going on in the site. Perhaps check the .htaccess files. If that class-file is present, there's something specific to those sites that is resulting in that 404 ... which is ultimately preventing OPC's AJAX calls from working.

19 May 2022, 3:54 PM
#2291
nick1973 avatar

nick1973

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

Well, there's something else going on in the site. Perhaps check the .htaccess files. If that class-file is present, there's something specific to those sites that is resulting in that 404 ... which is ultimately preventing OPC's AJAX calls from working.

Ok I will have a look and try to work it out. I haven't had a chance to dig in really today. They are my own sites anyway, so kind of on the back burner. It's just weird that the others I have are the same set up and they work perfectly.

19 May 2022, 6:23 PM
#2292
titanowl avatar

titanowl

New Zenner

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

Re: One-Page Checkout [Support Thread]

mvstudio:

Hello.
I'm having a weird issue on mobile with this module.
New install ZC1.5.7d and OPC 2.3.11
In trying to checkout as a guest, after entering the contact/billing/shipping info and pressing the SAVE CHANGES button I'm getting a blank page and the following error
in the logs

#1 trigger_error() called at [/includes/classes/OnePageCheckout.php:1310]
#2 OnePageCheckout->validateAndSaveAjaxCustomerInfo() called at [/includes/classes/ajax/zcAjaxOnePageCheckout.php:401]
#3 zcAjaxOnePageCheckout->validateCustomerInfo() called at [/ajax.php:85]
--> PHP Fatal error: validateAndSaveAjaxCustomerInfo, invalid POST: array (
'email_address_conf' => '[email protected]',
'telephone' => '',
) in /includes/classes/OnePageCheckout.php on line 1310.

It's only happening on mobile, but not on desktop.

Any idea what could be causing this?

Thank you!

Zen cart v1.5.7c
PHP Version 7.4.29
Responsive Classic Template

Module : One Page Checkout 2.4.0

The module for guest checkout works great for Desktop, it interacts properly, but when I use a mobile (for example my own cell phone) to do checkout as a guest, it takes the initial information such as email/BD/Name and address and when I click save, it saves information except the BD and stays in the same page without giving any option to be able to confirm and check out.
So basically it does not work on Mobile.
I realized many customers like to check out as a guest and we lose lots of them.

Please help in this matter. thank you.

19 May 2022, 6:45 PM
#2293
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

TitanOwl:

Zen cart v1.5.7c
PHP Version 7.4.29
Responsive Classic Template

Module : One Page Checkout 2.4.0

The module for guest checkout works great for Desktop, it interacts properly, but when I use a mobile (for example my own cell phone) to do checkout as a guest, it takes the initial information such as email/BD/Name and address and when I click save, it saves information except the BD and stays in the same page without giving any option to be able to confirm and check out.
So basically it does not work on Mobile.
I realized many customers like to check out as a guest and we lose lots of them.

Please help in this matter. thank you.
As others have said, welcome to the Zen Cart forums.

When you say it "doesn't work for mobile", what device type is in use? Are we talking about an iSomething or an Android-based mobile device?

When you enter the DOB, what format are you using? For example, for the US, a value of 01-31-2000 works find when I view a site using an Android mobile.

19 May 2022, 7:19 PM
#2294
titanowl avatar

titanowl

New Zenner

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

Re: One-Page Checkout [Support Thread]

lat9:

As others have said, welcome to the Zen Cart forums.

When you say it "doesn't work for mobile", what device type is in use? Are we talking about an iSomething or an Android-based mobile device?

When you enter the DOB, what format are you using? For example, for the US, a value of 01-31-2000 works find when I view a site using an Android mobile.

Tested on Android and IOS, does not proceed to finish the check out.
In terms of DOB, if you hoover on mobile browser you can see that the format is entered by the module since it pops up to choose the DOB, it is not the same as Desktop to be able to enter manually. So we assume it collects it properly, otherwise either it has to give an error ( about the format which it does if you dont enter it at all) or the OPC has issue of accepting it, however the initial entry is accepted and the address is saved , so we assume it has accepted the DOB and it must give the same options which are available on Desktop ( Save and Cancel options) but it gives one option to Save, after clicking that, the page goes back to the same loop and does not proceed to next level of choosing the shipping option or payment option, the rest of the page grays out !

20 May 2022, 5:03 AM
#2295
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hi
I have been working to integrate the square webpay with opc.
I have a fresh installation of a zencart 1.5.7d with OPC 2.4 in php 7.4
On chooosing shipping option the credit card fields goes offline. Only a text called credit card is displayed there.
Can you please advise if there is a solution to this?
Thanks
Balaji

20 May 2022, 7:09 AM
#2296
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

My test site link which has the above said problem is here.

https://test.mysourcebest.com/zencart/

No other plugins were installed.

Kindly help / advise to over come this issue

Thanks

20 May 2022, 7:59 AM
#2297
titanowl avatar

titanowl

New Zenner

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

Re: One-Page Checkout [Support Thread]

Balaji:

My test site link which has the above said problem is here.

https://test.mysourcebest.com/zencart/

No other plugins were installed.

Kindly help / advise to over come this issue

Thanks
Please go to Admin->Configuration-> One Page Checkout Setting and let me know what you set for "Payment-Block Action on Shipping Change", and you may need to change it to update or refresh.

I see the issue, however let me know how you were able to remove the DOB entry! mine requires DOB entry. Also I checked it on Mobile and yours works well except the above issue, it will help me to figure out why mine does not work on Mobile, thank you.

20 May 2022, 11:40 AM
#2298
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

TitanOwl:

Tested on Android and IOS, does not proceed to finish the check out.
In terms of DOB, if you hoover on mobile browser you can see that the format is entered by the module since it pops up to choose the DOB, it is not the same as Desktop to be able to enter manually. So we assume it collects it properly, otherwise either it has to give an error ( about the format which it does if you dont enter it at all) or the OPC has issue of accepting it, however the initial entry is accepted and the address is saved , so we assume it has accepted the DOB and it must give the same options which are available on Desktop ( Save and Cancel options) but it gives one option to Save, after clicking that, the page goes back to the same loop and does not proceed to next level of choosing the shipping option or payment option, the rest of the page grays out !
If you disable OPC and attempt to create an account, does the same issue occur with the date-of-birth? I ask because OPC uses the same method to check that entry as the 'base' Zen Cart create-account process.

20 May 2022, 2:30 PM
#2299
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: One-Page Checkout [Support Thread]

Balaji:

My test site link which has the above said problem is here.

https://test.mysourcebest.com/zencart/

No other plugins were installed.

Kindly help / advise to over come this issue

Thanks

TitanOwl:

Please go to Admin->Configuration-> One Page Checkout Setting and let me know what you set for "Payment-Block Action on Shipping Change", and you may need to change it to update or refresh.

this is now a confirmed bug.

the solution provided by TitanOwl is not a solution for this problem.

20 May 2022, 2:39 PM
#2300
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

carlwhat:

this is now a confirmed bug.

the solution provided by TitanOwl is not a solution for this problem.
@carlwhat, which device(s) are in use when the issue occurs?