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

One-Page Checkout [Support Thread]

Views: 629,510

Results 1,441 to 1,460 of 3,078
8 Dec 2019, 9:31 AM
#1441
shags38 avatar

shags38

Totally Zenned

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

One-Page Checkout [Support Thread]

v1.5.5f php 7.1

Hi Cindy,

I have an issue, likely of my own doing (again), with checkout either when logged in or logged out and using OPC - getting a blank page

this is the resultant url with logged in and when logged out and using guest checkout - https://www.treeoflifejewellery.com.au/index.php?main_page=checkout_one

in both instances the blank page appears when 'checkout' tab is clicked. no error logs have been generated.

I upgraded to 2.2.0 and had some issues which were the subject of posts on page 142 I believe but this is different.

So I will likely try to revert to the previous version I was using (2.0.5) which worked fine ... unless you have a solution - I have customers backing up.

cheers,
Mike

I often wish I hadn't upgrade to 1.5.5F - it has been problematic with a number of plugins

8 Dec 2019, 12:25 PM
#1442
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Mike, you're definitely getting a "Server 500" which implies that there should be a log somewhere.

8 Dec 2019, 9:31 PM
#1443
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, you're definitely getting a "Server 500" which implies that there should be a log somewhere.

Many thanks for responding Cindy. No error logs can be found in the logs folder or on the server, I double checked. I enabled 'log and email' in admin/payment/paypal_express last night - some results listed below - this morning I enabled the same in website payments pro and have attempted some transactions - I also changed from log and email to log and file and attempted some more transactions. From this mornings trials as yet I have not seen any emails via PayPal nor error logs.

Last nights emails - very sparse info;

  1. IPN FATAL ERROR :: No POST data available -- Most likely initiated by browser and not PayPal. *** The rest of this log report can most likely be ignored !! ***
  2. IPN ERROR :: Could not find stored session {} in DB; thus cannot validate or re-create session as a transaction awaiting PayPal Website Payments Standard confirmation initiated by this store. Might be an Express Checkout or eBay transaction or some other action that triggers PayPal IPN notifications.
  3. IPN ERROR :: No saved Website Payments Standard session data available. Must be an Express Checkout or Direct Pay transaction.
    Could be a test notification, or the incoming IPN notification is not actually a bonafide PayPal transaction.
    NOTE: It is likely that all the following log content is meaningless or irrelevant.
  4. Breakpoint: 0 - Initializing debugging.
  5. Breakpoint: Flag Status:
    isECtransaction = 0
    isDPtransaction = 0
  6. IPN INFO - POST VARS received (sorted):
    Array
    (
    )
  7. Breakpoint: Flag Status:
    isECtransaction = 0
    isDPtransaction = 0
  8. IPN ERROR :: Could not find stored session {} in DB; thus cannot validate or re-create session as a transaction awaiting PayPal Website Payments Standard confirmation initiated by this store. Might be an Express Checkout or eBay transaction or some other action that triggers PayPal IPN notifications.

A couple of the above were repeated - likely from different attempts.

I hope you can make sense of them, I certainly cannot :smile:

So it is about 15 minutes since my most recent attempts with debug errors or emails.

Not sure if this is relevant but here it is - I recently moved this site to another server (same host) - followed the ZC procedure for doing this correctly and everything is working correctly - it was remiss of me to not test checkout directly after the move but I could see no reason why a server move would affect checkout - then again I could be wrong.

cheers,
Mike

p.s. if you need ftp access just let me know

9 Dec 2019, 4:30 AM
#1444
shags38 avatar

shags38

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Cindy,
I did a full upgrade from 2.2.0 (not working) to 2.2.1 following every step in the installation pages including merging files etc (I overwrote files, I did not uninstall - interestingly the same version 2.2.0 is stated in admin/configuration/opc) .... and the same issue is happening - so my logic tells me one of two things; I have still made an error in installing or more likely that this has little to do with OPC and more to do with the ZC payment system not responding correctly due to a corrupt or missing file or a file in OPC which is interfering in the process. When OPC is disabled I get the same result.

A real head shaker - on another site that I upgraded from 2.0.5 to 2.2.0 I could not get Guest checkout to work so I disabled it and enabled the PayPal Express button and customers can now checkout directly via PayPal and/or via login. On this particular site neither happens.

I checked every file associated with OPC on the site I can at least get working without OPC and compared them to the corresponding files on this problem site - they all matched. So I am well and truly stumped.

My host has no record of any 500 server errors and there are none in my public_html/logs folder

So before I revert to 2.0.3 as a fall back I need to try to understand why these url's that return a blank page are not proceeding somewhere, anywhere
https://www.treeoflifejewellery.com.au/index.php?main_page=checkout_payment
and
https://www.treeoflifejewellery.com.au/ipn_main_handler.php?type=ec

What files being called are not being actioned? obviously something is saying I won't proceed - a file in OPC not talking to the standard checkout system maybe?- which files are shared / common if any?

Anything you can think of that I can investigate would be wonderful.

cheers,
Mike

9 Dec 2019, 12:25 PM
#1445
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Mike, what version and 'type' of PHP is being used? Would you post a screenshot of the top of your admin's Tools->Server/Version Information (the top bit and the blue PHP section)?

10 Dec 2019, 6:00 PM
#1446
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hi,

PHP 7.1
zen-cart-v1.5.6a-01042019
[CloneClassic Template]
one_page_checkout-2.0.5
extra_field_on_customer_sign_up_0
Several core mods.

Been searching all morning and can't find a solution.
Need to validate some numeric and email fields (Phone Number, Fax, 777-666-6666), (Zip Code 77777) and (email [email protected]) also need add "re-enter PW" on the registration page. (Please see attached)
Have set the minimum/maximum length values but need more control as in some cases the bots are bypassing my Re-Captcha.

Thanks for Your Time!!
Attachment 18752

10 Dec 2019, 6:35 PM
#1447
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Sorry, but I've no longer got any test-sites set up with that version of OPC.

11 Dec 2019, 4:15 PM
#1448
swguy avatar

swguy

Administrator

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

Re: One-Page Checkout [Support Thread]

Cindy, in tpl_checkout_one_default.php, should the call to zen_draw_form also include onsubmit="submitonce();" as part of the $parameters argument?

11 Dec 2019, 4:34 PM
#1449
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

swguy:

Cindy, in tpl_checkout_one_default.php, should the call to zen_draw_form also include onsubmit="submitonce();" as part of the $parameters argument?
@swguy, the OPC templates don't use any of the HTML on{whatever} attributes. If the order is being confirmed (rather than reviewed), the checkout_one page's jQuery disables that "Confirm" button just prior to the form's submittal.

11 Dec 2019, 6:38 PM
#1450
swguy avatar

swguy

Administrator

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

Re: One-Page Checkout [Support Thread]

OK, thanks for checking. I'm trying to track down the root cause of a recurring duplicate order issue.

21 Dec 2019, 6:47 PM
#1451
jiji2018 avatar

jiji2018

Zen Follower

Join Date:
Apr 2018
Posts:
121
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

1.55f how to install the latest version of One Page Checkout

22 Dec 2019, 12:47 PM
#1452
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jiji2018:

1.55f how to install the latest version of One Page Checkout
Just follow the steps outlined in the readme, making sure to include the steps required for zc155b-f.

23 Dec 2019, 12:18 PM
#1453
jiji2018 avatar

jiji2018

Zen Follower

Join Date:
Apr 2018
Posts:
121
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

Just follow the steps outlined in the readme, making sure to include the steps required for zc155b-f.

What have been optimized in the last two updates? Have you simplified the information?

23 Dec 2019, 1:58 PM
#1454
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jiji2018:

What have been optimized in the last two updates? Have you simplified the information?
The changes, from one release to the next, are documented in that readme.

28 Dec 2019, 11:49 PM
#1455
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

Yes, except for the core-file changes. Don't forget to remove any template-overrides that you might have made, too.

I finally have some time to work on this (nobody in my store) and I have a few questions.

1- what is a core-file? How do I identify them? I am so not familiar with the files structure.
2- when you mention "template-overrides", how do I identify those files?
3- in the github, there is a mention of 129 changes, but in the installation of the 1.4.1 version, there are only 39 files in the File list. Does that mean there are really only 39 files even if some of them might have had multiple changes, which would make those 129?

Thanks.

29 Dec 2019, 12:25 PM
#1456
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

CaroleAs:

I finally have some time to work on this (nobody in my store) and I have a few questions.

1- what is a core-file? How do I identify them? I am so not familiar with the files structure.
2- when you mention "template-overrides", how do I identify those files?
3- in the github, there is a mention of 129 changes, but in the installation of the 1.4.1 version, there are only 39 files in the File list. Does that mean there are really only 39 files even if some of them might have had multiple changes, which would make those 129?

Thanks.
A core-file is a file that is distributed in the Zen cart base and is required for proper execution on your store. My readme's highlight those files in red.

Template-overrides are where you've made a change in your template, e.g. copying /includes/templates/template_default/templates/tpl_checkout_one_default.php to /includes/templates/YOUR_TEMPLATE/templates and making changes there.

v1.4.1 of OPC was prior to the split-out of individual template 'modules' that format the various sections (e.g. billing address, payment methods) used in the one-page checkout. That's why your version only has 39 files.

15 Jan 2020, 2:30 PM
#1457
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

I've just submitted v2.2.2 of One-Page Checkout for the Zen Cart moderators' review; I'll post back here when it's available for download.

 This release contains changes associated with the following GitHub issues:

#222: Establish compatibility with "Ship2Pay" payment method.
#223: Correct parameters passed to zen_address_label.
#224: paypalwpp, correcting PHP warnings on address-creation bypass.
#225: Establish compatibility with "Ceon Sage Pay Direct" payment method.

20 Jan 2020, 7:58 PM
#1458
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

PHP 7.2
mysql (10.2.30-MariaDB)
zen-cart-v1.5.6a-01042019 (Clone Classic with several Core Mods.)
CheckBoxTextBoxIconV1.0.3
ColumnGridLayout_for_155f
extra_field_on_customer_sign_up_0
purchase_order_basic_v1_1b
export_shipping_information_V1.3.5
EasyPopulate-4.master-ZC
ckeditor-for-zencart

What code can I add to the registration page to verify the marked fields and prevent non alpha characters from being entered in those fields? (Please see below image)
Obviously Email and Passwords fields will accept non alpha characters.

Thank You for your time.

20 Jan 2020, 8:05 PM
#1459
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

@linuxguy2, could you give me an example of the characters you're wanting to weed-out?

21 Jan 2020, 1:25 PM
#1460
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

lat9:

I've just submitted v2.2.2 of One-Page Checkout for the Zen Cart moderators' review; I'll post back here when it's available for download.

 This release contains changes associated with the following GitHub issues:

#222: Establish compatibility with "Ship2Pay" payment method.
#223: Correct parameters passed to zen_address_label.
#224: paypalwpp, correcting PHP warnings on address-creation bypass.
#225: Establish compatibility with "Ceon Sage Pay Direct" payment method.
Now available for download.