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

One-Page Checkout [Support Thread]

Views: 633,123

Results 2,441 to 2,460 of 3,107
31 Jul 2022, 6:03 PM
#2441
lat9 avatar

lat9

Administrator

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

One-Page Checkout [Support Thread]

lat9:

I've just submitted v2.4.3 for the Zen Cart moderators' review and will post back here when it's available for download.

This release contains changes associated with the following GitHub issues:

#351: Date-of-birth redisplay doesn't work on some mobile devices.
#353: No shipping quotes returned during guest-checkout if 'Enable shipping=billing' is set to false.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

3 Aug 2022, 5:09 PM
#2442
titanowl avatar

titanowl

New Zenner

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

Re: One-Page Checkout [Support Thread]

Hi everyone,

It is important to have the guest customer agreed to rules before checking out, Terms and Conditions , and Privacy Notice.

Admin->Configuration -> Regulations

When I set the Regulations to True, then in OPC , the guest customer cannot check out and it falls in a loop of asking to confirm again and again.
I have to set them to false in order to have OPC working at checkout, while we need to make sure customer has agreed to the terms.

Please advise how to fix the issue. thank you.

3 Aug 2022, 5:31 PM
#2443
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

TitanOwl:

Hi everyone,

It is important to have the guest customer agreed to rules before checking out, Terms and Conditions , and Privacy Notice.

Admin->Configuration -> Regulations

When I set the Regulations to True, then in OPC , the guest customer cannot check out and it falls in a loop of asking to confirm again and again.
I have to set them to false in order to have OPC working at checkout, while we need to make sure customer has agreed to the terms.

Please advise how to fix the issue. thank you.
Update to the current version? I'm guessing that you're running a version prior to 2.4.3.

4 Aug 2022, 6:01 PM
#2444
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hey Cindy - You have an "ENABLE: Customer List" option.

Any way to get a DISABLE: Customer List option? I'll explain why.

We love the module mainly for the GUEST CHECKOUT option. We don't want customers to feel like they have to create an account before shopping.

But there are some issues with the One Page Checkout screen as I mentioned before (with credit card information is erased if the customers enter that first, but then decide to add Reward Points or Insurance. Those don't behave the same way as changing the shipping options. When I change the shipping AFTER I enter credit card info, it retains all that information. But when I change rewards or insurance, it flags errors with the credit card (either missing information or blanking it out).

ANYWAY........if that alone could be fixed, my problems would be solved.

But if not, I was wondering if I could put certain customers on the DISABLE list, so that when they login, the plug is NOT enabled, and they have to checkout the original non-OPC way.

That way, it's ENABLED by default except for people on the disabled list (the opposite of what your current conditional ENABLE is doing).

  • Jeff
5 Aug 2022, 12:34 PM
#2445
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Jeff_Mash:

Hey Cindy - You have an "ENABLE: Customer List" option.

Any way to get a DISABLE: Customer List option? I'll explain why.

We love the module mainly for the GUEST CHECKOUT option. We don't want customers to feel like they have to create an account before shopping.

But there are some issues with the One Page Checkout screen as I mentioned before (with credit card information is erased if the customers enter that first, but then decide to add Reward Points or Insurance. Those don't behave the same way as changing the shipping options. When I change the shipping AFTER I enter credit card info, it retains all that information. But when I change rewards or insurance, it flags errors with the credit card (either missing information or blanking it out).

ANYWAY........if that alone could be fixed, my problems would be solved.

But if not, I was wondering if I could put certain customers on the DISABLE list, so that when they login, the plug is NOT enabled, and they have to checkout the original non-OPC way.

That way, it's ENABLED by default except for people on the disabled list (the opposite of what your current conditional ENABLE is doing).
The issue with the credit-card information being wiped is due to the transition to-and-back from 'checkout_one' to 'checkout_one_confirmation'. It's the confirmation page where all the order-totals are requested to update their totals. For PCI reasons, the credit-card information is not transmitted back to 'checkout_one' after that confirmation/update.

I've opened a GitHub issue (https://github.com/lat9/one_page_checkout/issues/356) to identify/track your request.

5 Aug 2022, 2:45 PM
#2446
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

1.5.7d
Ubuntu 20.04 LAMP
UPS
FEDEX
USPS
SQUARE PAY
MY PLUGIN EZFEEDS
HTTP Server: Apache/2.4.41 (Ubuntu)
PHP Version: 7.4.3 (Zend: 3.4.0)
MySQL Mode: STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION
SOAP ENABLED

Great plugin but the text input boxes for Square Pay are missing during checkout...not sure if it is this plugin or Square Pay that is the issue.

Anyone had this problem?

Thanks.

5 Aug 2022, 2:59 PM
#2447
carlwhat avatar

carlwhat

zennedOut

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

Re: One-Page Checkout [Support Thread]

mikeel100:

1.5.7d
Ubuntu 20.04 LAMP
UPS
FEDEX
USPS
SQUARE PAY
MY PLUGIN EZFEEDS
HTTP Server: Apache/2.4.41 (Ubuntu)
PHP Version: 7.4.3 (Zend: 3.4.0)
MySQL Mode: STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION
SOAP ENABLED

Great plugin but the text input boxes for Square Pay are missing during checkout...not sure if it is this plugin or Square Pay that is the issue.

Anyone had this problem?

Thanks.

are you using square_webPay? if so, you are having a javascript issue.

send me your url and i can take a look.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

5 Aug 2022, 3:34 PM
#2448
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Okay, after re-reading the install file and studying this thread, jscript_square.php requires modification to work with square.

I found:

if ($payment_modules->in_special_checkout() || empty($square) || !$square->enabled) {
    return false;
}

and replaced it with:

//mikeel100 - file:///var/www/zencart-1.5.7d/docs/one_page_checkout/readme.html#details
if ($payment_modules->in_special_checkout() || !defined(MODULE_PAYMENT_SQUARE_STATUS) || MODULE_PAYMENT_SQUARE_STATUS != 'True' || (!defined('MODULE_PAYMENT_SQUARE_APPLICATION_ID') || MODULE_PAYMENT_SQUARE_ACCESS_TOKEN == '')) {
    return false;
}
//end mikeel100

Next, I closed admin and catalog...and cleared Firefox cache.

I still have the issue so I put the original jscript back and put the corrected code below it.

That did not work as well.

Jscript is not blocked in my ff browser.

I also copied the entire jscript folder from templates_default into my ezfeeds plugin folder but that did not help.

I have one jscript unique to ezfeeds but it is a simple scroll to top of page script:

<script>
$(window).scroll(function() {
    if($(this).scrollTop() != 0) {
        $('#myBtn').fadeIn("fast");
    } else { // else
        $('#myBtn').fadeOut("fast");
    }
});
function topFunction() {
  document.body.scrollTop = 0;
  document.documentElement.scrollTop = 0;
}
</script>

I have exhausted everything I know to get those input boxes to show up.

Ideas welcome.

5 Aug 2022, 4:02 PM
#2449
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Console errors:

This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. index.php

setFormSubmitButton, payment-module: square jquery.checkout_one.min.js:7:934

Showing "confirm", paymentMethodHandlesSubmit (false) jquery.checkout_one.min.js:7:934

setFormSubmitButton, disabling Review and Confirm buttons. jquery.checkout_one.min.js:7:934

Setting orderConfirmed (0), submitter (null) jquery.checkout_one.min.js:7:934

jQuery version: 3.5.1 jquery.checkout_one.min.js:7:934

setFormSubmitButton, payment-module: moneyorder jquery.checkout_one.min.js:7:934

Showing "confirm", paymentMethodHandlesSubmit (false) jquery.checkout_one.min.js:7:934

setFormSubmitButton, disabling Review and Confirm buttons. jquery.checkout_one.min.js:7:934

Updating payment method to moneyorder jquery.checkout_one.min.js:7:934

Object { cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000, data: {…}, url: "ajax.php?act=ajaxOnePageCheckout&method=updatePaymentMethod", error: error(e, o, t) }
index.php:72:19

setFormSubmitButton, payment-module: square jquery.checkout_one.min.js:7:934

Showing "confirm", paymentMethodHandlesSubmit (false) jquery.checkout_one.min.js:7:934

setFormSubmitButton, disabling Review and Confirm buttons. jquery.checkout_one.min.js:7:934

Updating payment method to square jquery.checkout_one.min.js:7:934

Object { cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000, data: {…}, url: "ajax.php?act=ajaxOnePageCheckout&method=updatePaymentMethod", error: error(e, o, t) }
index.php:72:19

setFormSubmitButton, payment-module: moneyorder jquery.checkout_one.min.js:7:934

Showing "confirm", paymentMethodHandlesSubmit (false) jquery.checkout_one.min.js:7:934

setFormSubmitButton, disabling Review and Confirm buttons. jquery.checkout_one.min.js:7:934

Updating payment method to moneyorder jquery.checkout_one.min.js:7:934

Object { cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000, data: {…}, url: "ajax.php?act=ajaxOnePageCheckout&method=updatePaymentMethod", error: error(e, o, t) }
index.php:72:19

setFormSubmitButton, payment-module: square jquery.checkout_one.min.js:7:934

Showing "confirm", paymentMethodHandlesSubmit (false) jquery.checkout_one.min.js:7:934
setFormSubmitButton, disabling Review and Confirm buttons. jquery.checkout_one.min.js:7:934
Updating payment method to square jquery.checkout_one.min.js:7:934

Object { cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000, data: {…}, url: "ajax.php?act=ajaxOnePageCheckout&method=updatePaymentMethod", error: error(e, o, t) }
index.php:72:19

I turned off money order / check to see if it helped...no joy.

5 Aug 2022, 5:24 PM
#2450
carlwhat avatar

carlwhat

zennedOut

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

Re: One-Page Checkout [Support Thread]

you r using square as opposed to square_webPay.

unfortunately i have no help to offer.

but you are missing something very basic. the square jscript file has the input fields. and they are not getting loaded.

good luck.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

5 Aug 2022, 5:52 PM
#2451
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Correct...I saw where the input boxes are in the square jscript file before asking for help.

Free Charger, Check/Money Order and Square are the payments I am using.

Thanks Carl.

Anyone else?

5 Aug 2022, 6:41 PM
#2452
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

carlwhat:

you r using square as opposed to square_webPay.

unfortunately i have no help to offer.

but you are missing something very basic. the square jscript file has the input fields. and they are not getting loaded.

good luck.

I installed your version and the cc input boxes are showing.

How much are you deducting for each transaction?

5 Aug 2022, 9:14 PM
#2453
carlwhat avatar

carlwhat

zennedOut

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

Re: One-Page Checkout [Support Thread]

mikeel100:

I installed your version and the cc input boxes are showing.

How much are you deducting for each transaction?

:laugh: :D :laugh:

on another thread, lat9 had posted this:

lat9:

I'll note that the development of a payment module is a time-consuming process, between understanding the payment-provider's interface, coding and testing. When I'm requested to develop one, it's normally in the US$2000-4000 range, depending on the complexity.

and contributions from the community have been around $400...

if only i was getting 10 basis points per transaction....

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

8 Aug 2022, 2:18 PM
#2454
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

carlwhat:

:laugh: :D :laugh:

on another thread, lat9 had posted this:

and contributions from the community have been around $400...

if only i was getting 10 basis points per transaction....

Excellent approach to get something for all the time spent improving the cart. I hope it pays off.

12 Aug 2022, 3:04 AM
#2455
titanowl avatar

titanowl

New Zenner

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

Re: One-Page Checkout [Support Thread]

lat9:

Update to the current version? I'm guessing that you're running a version prior to 2.4.3.

Hi lat9,

I updated to recent version that is 2.4.3 ( it shows as 2.4.3 (2022-07-23)) but the issue is still there. I went to Admin>-Configuration-> Regulation and set Terms and Configuration to true and tried by adding something to cart and try to checkout, at the bottom it asks you to agree to terms by the check mark, so after marking it and pressing the review, it goes back to the same page again and says:
"Please confirm the terms and conditions bound to this order by ticking the box below."

I do again and same loop.

You can check it through tajerak.com as a test site.

12 Aug 2022, 6:02 PM
#2456
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

TitanOwl:

Hi lat9,

I updated to recent version that is 2.4.3 ( it shows as 2.4.3 (2022-07-23)) but the issue is still there. I went to Admin>-Configuration-> Regulation and set Terms and Configuration to true and tried by adding something to cart and try to checkout, at the bottom it asks you to agree to terms by the check mark, so after marking it and pressing the review, it goes back to the same page again and says:
"Please confirm the terms and conditions bound to this order by ticking the box below."

I do again and same loop.

You can check it through tajerak.com as a test site.
I went to that site and don't see the T&C checkbox. I've just checked a zc157d/responsive_classic test site that has both the privacy and Ts&Cs required for guest checkout. Using the moneyorder payment method, set so that it requires confirmation, the checkboxes were accepted and the order was successfully placed.

I'm putting my money on something amiss with that GPS payment method.

15 Aug 2022, 8:59 PM
#2457
njcyx avatar

njcyx

Zen Follower

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

Re: One-Page Checkout [Support Thread]

Hi @lat9, I have a question for the zen cart upgrade. In order to upgrade my zen cart from 1.57d to 1.58 in the future (there will be a database upgrade, if I'm right), do I have to uninstall my OPC from my site & database at first, then upgrade my zen cart, then install OPC back? Or can I upgrade my old database with OPC directly?

Thanks in advance.

15 Aug 2022, 9:01 PM
#2458
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

njcyx:

Hi @lat9, I have a question for the zen cart upgrade. In order to upgrade my zen cart from 1.57d to 1.58 in the future (there will be a database upgrade, if I'm right), do I have to uninstall my OPC from my site & database at first, then upgrade my zen cart, then install OPC back? Or can I upgrade my old database with OPC directly?

Thanks in advance.
No update required for the OPC installation for a Zen Cart upgrade. You'll just run the zc_install upgrade script and that will upgrade the Zen Cart 'bits'; the OPC 'bits' will remain intact.

15 Aug 2022, 9:10 PM
#2459
njcyx avatar

njcyx

Zen Follower

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

Re: One-Page Checkout [Support Thread]

lat9:

No update required for the OPC installation for a Zen Cart upgrade. You'll just run the zc_install upgrade script and that will upgrade the Zen Cart 'bits'; the OPC 'bits' will remain intact.

Great! Thanks!!

2 Sep 2022, 6:17 PM
#2460
jrcook416 avatar

jrcook416

New Zenner

Join Date:
Jul 2012
Posts:
45
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Has anyone had success changing the default template to add something like a Bootstrap Select object?

--J