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

One-Page Checkout [Support Thread]

Views: 629,400

Results 881 to 900 of 3,078
9 Jul 2018, 10:02 PM
#881
shags38 avatar

shags38

Totally Zenned

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

One-Page Checkout [Support Thread]

lat9:

Mike, make sure that you're using OPC v2.0.3 (a couple of important bugfixes since 2.0.1) ... but there hasn't been change since v2.0.1 that would have bearing on your issue.

I'll send you a PM with my direct email address so you can send over that OPC debug information.

Update: Your PM inbox is full ...

Thanks Cindy - PM inbox now clear

10 Jul 2018, 3:07 AM
#882
shags38 avatar

shags38

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Hi Cindy - not sure what I have done or not done but after installing v2.0.3 into treeoflifejewellery.com.au/testsite/ I am now getting the login_timeout page when I click 'add to cart' from a product info page;

Whoops! Your session has expired.
If you were placing an order, please login and your shopping cart will be restored. You may then go back to the checkout and complete your final purchases.
If you had completed an order and wish to review it, or had a download and wish to retrieve it, please go to your My Account page to view your order.

I have also upgraded another test site (sterlingsilverrings.com.au/teststore/), same ZC version 1.5.5f and same template and it works fine (that site I have not configured paypal express nor payments pro) - so it would indicate something has gone awry with my uploading of the new OPC version in tree of life jewellery - albeit I have re-uploaded a few times with the same set of files as for the other but the problem still exists.

Since the issue yesterday with the credit card I have not done anything else to the site so I am baffled as to what is happening.

This is likely not relevant however I am getting this zenid=a76ogtcotb0534u39jagst8jf4 at the end of every url after index page - normally it should disappear after going back to 'home' from wherever you are on the site and then back to any page (I sometimes have to do this before copying and past a url) - so could the zenid session be overriding the login/checkout page?

cheers,
Mike

10 Jul 2018, 11:25 AM
#883
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Mike, the changes from v2.0.1 to v2.0.3 would have no bearing on the login timeout. Is this the same site that is running on 1.5.5f with an out-of-date configure.php file?

12 Jul 2018, 12:19 AM
#884
dbltoe avatar

dbltoe

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Linux 3.10.0-693.11.6.el7 .x86_64
PHP 5.6.36

MODS:
Site map XML
One-Page Checkout ***
Edit Orders
Magic Thumb
Magic Slideshow
Display Log Files
Clone a Template
Mod List
customer's wish list
Square
Scheduled Events
USPS
Encrypted Master Passwowrd
Order Total Qty Discount

Back in April, while doing some testing on a site to bring mods up to date, a complete copy of haredoDOTcom was made in the folder squaretest. Straight copy-over with config files changed to reflect the new file structure.

Database was copied to new database for the squaretest site. The epitome of "separate but equal."

Once the mods were brought up to current version in the squaretest, it was copied over the main site.

One page checkout had an update along that time and it was done to the main site.

Not long after, it was noticed that the "how to" brochure could not be downloaded. All appeared to go well, BUT the link to the file downloaded a file of 0kb versus the 0.6M of the correct file. The download was not copied into the pub folder for security either.

Several attempts were made on the main site to see if any change in settings would cure the problem. None of the attempts were successful.

A few days ago, we noticed that the squaretest test site would actually perform as required. Order the brochure and you get a proper download regardless if you selected the pdf or zip.

Of, course the first act was to copy the files from squaretest to the root. Upon so doing, the downloads proceeded to work. Yeehah!

Both the main site and the square test had older versions of OPC. Both were turned off as we knew it was well behind the power curve and needed upgrading.

Squaretest site was the first to get updated to the latest version of OPC. In fact, we dropped in the beta and turned it on.

At no time during any of the process did either the main site or squaretest create any debug files.

Downloads on squaretest immediately ceased to work correctly. Again, we were getting 0kb files for the free downloads.

We turned off OPC completed and tried again. The downloads still fail.

Since we had copies of the old and new, we re-loaded squaretest to just before the upgrade to OPC. All worked as advertised. Turning on OPC, again, caused downloads to not copy to the pubs folder and the file size of each was 0kb. Turn it off and the problem still exists.

I'm making a WAG when I propose that some function of processing a free download is carrying it's little "hell no, we won't go" protest sign. Unfortunately, there's no debug being generated to find the problem.

Can PM more info for troubleshooting if needed.

THANX

12 Jul 2018, 1:54 PM
#885
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

@dbltoe, I was able to replicate this issue on my demo site. It looks like an incompatibility of sorts as the OPC update includes the zc156 version of the download page's header processing.

I'll play with this a bit and post back when I've got a solution (and root-cause).

12 Jul 2018, 3:49 PM
#886
dbltoe avatar

dbltoe

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Thanks,

Just to reiterate, download works fine with OPC initial load. Won't work with OPC set true. Won't work when OPC set back to false.

12 Jul 2018, 4:02 PM
#887
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

dbltoe:

Thanks,

Just to reiterate, download works fine with OPC initial load. Won't work with OPC set true. Won't work when OPC set back to false.
Right, as documented in this GitHub issue, the problem is that the OPC distribution is missing the zc156 observer-class "helpers" for the downloads' processing.

12 Jul 2018, 4:26 PM
#888
dbltoe avatar

dbltoe

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

:blush:
Hadn't looked there yet but thought it interesting that simply loading OPC did not stop proper download, but once turned on it never worked again whether OPC was on or off.

Didn't know if I made that clear in all my previous verbiage. But, I did use carriage returns.:P

12 Jul 2018, 4:26 PM
#889
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

lat9:

Right, as documented in this GitHub issue, the problem is that the OPC distribution is missing the zc156 observer-class "helpers" for the downloads' processing.
See this GitHub commit for the names of the four (4) /includes/classes/observers files that need to be included to properly download those downloadable products.

12 Jul 2018, 4:40 PM
#890
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

@lat9, Thank you for the fix !!! :)

12 Jul 2018, 4:57 PM
#891
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

haredo:

@lat9, Thank you for the fix !!! :)
No problems ... I'm working through another issue but hope to have v2.0.4 ready for release by the weekend.

12 Jul 2018, 5:59 PM
#892
dbltoe avatar

dbltoe

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Just ran through the check on this.

Works fine whether OPC is on or off.

Works fine if OPC is on and Guest is off.

Fails as 0kb when using Guest Checkout.

Not a bug, but possibly something to consider in future. Do we really need to collect data on a free download? In the case of haredo.com, we're happy to let anyone have the file without gathering their info. Might be different for a brick and mortar. Just an item for thought.

As always, thanx for your work. Can we someday do a Vulcan mind-meld. Even if partially successful, I would be SO much wiser. :hug:

12 Jul 2018, 6:32 PM
#893
dbltoe avatar

dbltoe

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

The results of the debug with OPC Guest enabled```
2018-07-12 18:00:54 OnePageCheckout: updateOrderAddresses, on entry:order::__set_state(array('info' =>
array (
'order_status' => '1',
'currency' => 'USD',
'currency_value' => '1.00000000',
'payment_method' => NULL,
'payment_module_code' => NULL,
'coupon_code' => NULL,
'shipping_method' => '',
'shipping_module_code' => NULL,
'shipping_cost' => 0,
'subtotal' => 0,
'shipping_tax' => 0,
'tax' => 0,
'total' => 0,
'tax_groups' =>
array (
),
'comments' => '',
'ip_address' => '...',
),
'totals' =>
array (
),
'products' =>
array (
),
'customer' =>
array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'format_id' => 0,
'telephone' => NULL,
'email_address' => NULL,
),
'delivery' =>
array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'country_id' => NULL,
'format_id' => 0,
),
'content_type' => 'virtual',
'email_low_stock' => NULL,
'products_ordered_attributes' => NULL,
'products_ordered' => NULL,
'products_ordered_email' => NULL,
'attachArray' => NULL,
'billing' =>
array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'country_id' => NULL,
'format_id' => 0,
),
))OnePageCheckout::__set_state(array(
'isGuestCheckoutEnabled' => true,
'registeredAccounts' => false,
'guestIsActive' => false,
'isEnabled' => true,
'tempAddressValues' => NULL,
'guestCustomerInfo' => NULL,
'guestCustomerId' => 645,
'tempBilltoAddressBookId' => 742,
'tempSendtoAddressBookId' => 743,
'dbStringType' => 'string',
'customerInfoOk' => true,
'billtoTempAddrOk' => true,
'sendtoTempAddrOk' => false,
'isVirtualOrder' => true,
'billtoAddressChangeable' => true,
'shiptoAddressChangeable' => NULL,
'sendtoAddressChangeable' => true,
))
2018-07-12 18:00:54 OnePageCheckout: updateOrderAddresses, , , 0, 0array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'format_id' => 0,
'telephone' => NULL,
'email_address' => NULL,
)array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'country_id' => NULL,
'format_id' => 0,
)array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'country_id' => NULL,
'format_id' => 0,
)
2018-07-12 18:00:58 checkout_one_observer: checkout_one redirect: array (
'main_page' => 'checkout_shipping',
)
2018-07-12 18:00:58 checkout_one: CHECKOUT_ONE_ENTRY, version (2.0.4-beta5 (2018-07-12)), Zen Cart version (1.5.5a), template (
*****)
2018-07-12 18:00:58 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:00:58 OnePageCheckout: startGuestOnePageCheckout, exit: sendto: not set, billto: not setOnePageCheckout::__set_state(array(
'isGuestCheckoutEnabled' => true,
'registeredAccounts' => false,
'guestIsActive' => false,
'isEnabled' => true,
'tempAddressValues' =>
array (
'ship' =>
array (
'gender' => '',
'company' => '',
'firstname' => '',
'lastname' => '',
'street_address' => '',
'suburb' => '',
'city' => '',
'postcode' => '',
'state' => '',
'country' => 223,
'zone_id' => 47,
'zone_name' => 'Ohio',
'address_book_id' => 0,
'selected_country' => 223,
'country_has_zones' => true,
'state_field_label' => '',
'show_pulldown_states' => true,
'error' => false,
'error_state_input' => false,
'validated' => false,
),
'bill' =>
array (
'gender' => '',
'company' => '',
'firstname' => '',
'lastname' => '',
'street_address' => '',
'suburb' => '',
'city' => '',
'postcode' => '',
'state' => '',
'country' => 223,
'zone_id' => 47,
'zone_name' => 'Ohio',
'address_book_id' => 0,
'selected_country' => 223,
'country_has_zones' => true,
'state_field_label' => '',
'show_pulldown_states' => true,
'error' => false,
'error_state_input' => false,
'validated' => false,
),
),
'guestCustomerInfo' => NULL,
'guestCustomerId' => 645,
'tempBilltoAddressBookId' => 742,
'tempSendtoAddressBookId' => 743,
'dbStringType' => 'string',
'customerInfoOk' => true,
'billtoTempAddrOk' => true,
'sendtoTempAddrOk' => false,
'isVirtualOrder' => true,
'billtoAddressChangeable' => true,
'shiptoAddressChangeable' => NULL,
'sendtoAddressChangeable' => true,
))
2018-07-12 18:00:58 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:00:58 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:00:58 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:01:00 checkout_one: CHECKOUT_ONE_ENTRY, version (2.0.4-beta5 (2018-07-12)), Zen Cart version (1.5.5a), template (haredo)
2018-07-12 18:01:00 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:01:00 OnePageCheckout: startGuestOnePageCheckout, exit: sendto: not set, billto: not setOnePageCheckout::__set_state(array(
'isGuestCheckoutEnabled' => true,
'registeredAccounts' => false,
'guestIsActive' => true,
'isEnabled' => true,
'tempAddressValues' =>
array (
'ship' =>
array (
'gender' => '',
'company' => '',
'firstname' => '',
'lastname' => '',
'street_address' => '',
'suburb' => '',
'city' => '',
'postcode' => '',
'state' => '',
'country' => 223,
'zone_id' => 47,
'zone_name' => 'Ohio',
'address_book_id' => 0,
'selected_country' => 223,
'country_has_zones' => true,
'state_field_label' => '',
'show_pulldown_states' => true,
'error' => false,
'error_state_input' => false,
'validated' => false,
),
'bill' =>
array (
'gender' => '',
'company' => '',
'firstname' => '',
'lastname' => '',
'street_address' => '',
'suburb' => '',
'city' => '',
'postcode' => '',
'state' => '',
'country' => 223,
'zone_id' => 47,
'zone_name' => 'Ohio',
'address_book_id' => 0,
'selected_country' => 223,
'country_has_zones' => true,
'state_field_label' => '',
'show_pulldown_states' => true,
'error' => false,
'error_state_input' => false,
'validated' => false,
),
),
'guestCustomerInfo' =>
array (
'firstname' => '',
'lastname' => '',
'email_address' => '',
'telephone' => '',
'dob' => '',
),
'guestCustomerId' => 645,
'tempBilltoAddressBookId' => 742,
'tempSendtoAddressBookId' => 743,
'dbStringType' => 'string',
'customerInfoOk' => false,
'billtoTempAddrOk' => false,
'sendtoTempAddrOk' => false,
'isVirtualOrder' => true,
'billtoAddressChangeable' => true,
'shiptoAddressChangeable' => NULL,
'sendtoAddressChangeable' => true,
))

AND the larger will not fit.  Available by email if needed.
12 Jul 2018, 7:30 PM
#894
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

@dbltoe, did you enable the site's **download **page as valid for use during guest-checkout (Configuration->One-Page Checkout Settings->Guest Checkout: Pages Allowed Post-Checkout)?

On my test setup, I was receiving a login timeout when attempting to download a download from the post-checkout "success" page until I changed the above setting. I'll need to add that to the OPC's start-up configuration documentation.

12 Jul 2018, 7:36 PM
#895
dbltoe avatar

dbltoe

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

:blush:
No I did not, and yes it works with the download page added.

12 Jul 2018, 8:01 PM
#896
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Excellent, thanks for posting back. I'll get the OPC's readme instructions updated to reflect that requirement.

Update: After rethinking, I'll update the OPC's admin-level initialization to set the download page as the default for that setting.

12 Jul 2018, 8:20 PM
#897
dbltoe avatar

dbltoe

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Sounds like a plan. I was tempted to be completely facetious and ask, "what readme?":D

Thanks for your work this busy day.

12 Jul 2018, 8:27 PM
#898
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

That change to the OPC's installation script is now posted on the GitHub repository.

... and I realize that most people don't RTFM (and never will).

15 Jul 2018, 2:04 AM
#899
nicksab avatar

nicksab

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

I am currently working on a new website using zen cart 1.5.5f with responsive Sheffield blue template.

I installed OPC 2.0.3 and everything works however I need it to work with order delivery date.

I did all the changes as requested but I can t get the calendar to display ( see Screenshot)

I can input any date in it but it is not being reflected on the order. I am getting delivery date of 11/30/1999 00:00:00 in admin

Please any help would be appreciated. I need both of these to work together for a flower shop business

Thank you

15 Jul 2018, 2:31 AM
#900
nicksab avatar

nicksab

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

nicksab:

I am currently working on a new website using zen cart 1.5.5f with responsive Sheffield blue template.

I installed OPC 2.0.3 and everything works however I need it to work with order delivery date.

I did all the changes as requested but I can t get the calendar to display ( see Screenshot)

I can input any date in it but it is not being reflected on the order. I am getting delivery date of 11/30/1999 00:00:00 in admin

Please any help would be appreciated. I need both of these to work together for a flower shop business

Thank you
here is the screenshot

Attachment 17971