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

One-Page Checkout [Support Thread]

Views: 633,114

Results 2,761 to 2,780 of 3,107
4 Mar 2024, 12:40 PM
#2761
lat9 avatar

lat9

Administrator

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

One-Page Checkout [Support Thread]

diptimoy:

Do the plugin works with square webpay ?
As far as I'm aware.

4 Mar 2024, 12:45 PM
#2762
diptimoy avatar

diptimoy

Zen Follower

Join Date:
Apr 2012
Location:
Bardhaman , Bharat
Posts:
217
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

But Client says Square working with normal zencart checkout not working when one page checkout is enabled

4 Mar 2024, 8:09 PM
#2763
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

diptimoy:

But Client says Square working with normal zencart checkout not working when one page checkout is enabled

What version of (a) Zen Cart, (b) Square WebPay and (b) OPC?

"Not working" means nothing, specifics will get a better response!

5 Mar 2024, 12:35 AM
#2764
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: One-Page Checkout [Support Thread]

Not sure how OPC works, but does it automatically handle the redirect from payment plugins to FILENAME_CHECKOUT_PAYMENT? For example, our Braintree plugin does contain such redirects.

5 Mar 2024, 1:16 AM
#2765
diptimoy avatar

diptimoy

Zen Follower

Join Date:
Apr 2012
Location:
Bardhaman , Bharat
Posts:
217
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

lat9:

What version of (a) Zen Cart, (b) Square WebPay and (b) OPC?

"Not working" means nothing, specifics will get a better response!

a) zencart 158
b) https://www.zen-cart.com/downloads.php?do=file&id=2345 , last updated on 18th feb 2023 one
c) The one updated on 20 aug 2023

"It says "We have a problem on our end. So Sorry! Please report this error to the Store Owner: SQ-MISSING-TOKEN"
but if we disable OPC and do normal checkout webpay works fine

even tried this
For those wondering about 1.5.8, WebPay works exactly as expected in Zen Cart 1.5.8 WITHOUT One Page Checkout.

If you are going to use both One Page Checkout AND Square WebPay with Zen Cart, you will need to get the OLD square javascript file from includes/modules/pages/checkout_payment/ called jscript_square.php "

But did not work

5 Mar 2024, 1:57 AM
#2766
carlwhat avatar

carlwhat

zennedOut

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

Re: One-Page Checkout [Support Thread]

diptimoy:

a) zencart 158
b) https://www.zen-cart.com/downloads.php?do=file&id=2345 , last updated on 18th feb 2023 one
c) The one updated on 20 aug 2023

"It says "We have a problem on our end. So Sorry! Please report this error to the Store Owner: SQ-MISSING-TOKEN"
but if we disable OPC and do normal checkout webpay works fine

even tried this
For those wondering about 1.5.8, WebPay works exactly as expected in Zen Cart 1.5.8 WITHOUT One Page Checkout.

If you are going to use both One Page Checkout AND Square WebPay with Zen Cart, you will need to get the OLD square javascript file from includes/modules/pages/checkout_payment/ called jscript_square.php "

But did not work

for those wondering, lets talk about what i know.

  • i am the author of square webPay, ie i coded the module.
  • there are numerous websites out there using this payment module with OPC.
  • i spent an inordinate amount of time to get it to play nice with OPC.
  • there is NO need for any old javascript file in the directory mentioned above.

now lets look at the message listed above. that only gets generated right here on the 3rd line in the following code fragment (lines 435-438):

if ($error['category'] === 'INVALID_REQUEST_ERROR') {
                        trigger_error("Square Connect [configuration] error. \nResponse Body:\n" . print_r($e->getResponseBody(), true) . "\nResponse Headers:\n" . print_r($e->getResponseHeaders(), true), E_USER_NOTICE);
                        $messageStack->add_session('checkout_payment', MODULE_PAYMENT_SQ_WEBPAY_TEXT_MISCONFIGURATION, 'error');
                        zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true, false));

if one looks at the 2nd line of the code fragment, there is a call to the trigger_error function. in a properly configured server, that will generate a log file.

the log file will provide more information as to why OPC is not working.

provide the log and perhaps a solution will be forth coming.

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

9 Mar 2024, 12:31 AM
#2767
katrobb avatar

katrobb

New Zenner

Join Date:
Nov 2006
Posts:
45
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I installed one_page_checkout-2.4.6, on ZC 1.5.7d, and I am using westminster_new_2.1 template.
When I click on "Confirm Order", the program does not process order. I found a thread about someone having the same problem using 1.5.5, but it did not seem to apply to 1.5.7d. It doesn't matter which payment selection I try. The button changes on hover and shows the hand pointer. It just doesn't do anything else. No error messages. I do not see any errors in the logs either.

Does OPC work with westminster_new_2.1?
Could you please give me advice on how to proceed?

Katrina Robb
KatalinaKlark.com

9 Mar 2024, 1:46 AM
#2768
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

katrobb:

I installed one_page_checkout-2.4.6, on ZC 1.5.7d, and I am using westminster_new_2.1 template.
When I click on "Confirm Order", the program does not process order. I found a thread about someone having the same problem using 1.5.5, but it did not seem to apply to 1.5.7d. It doesn't matter which payment selection I try. The button changes on hover and shows the hand pointer. It just doesn't do anything else. No error messages. I do not see any errors in the logs either.

Does OPC work with westminster_new_2.1?
Could you please give me advice on how to proceed?
That westminster_new template, despite its name, is very old. It *might *not load a compatible version of jQuery. You can check by (on a Windows computer), pressing the F12 key while you're viewing your site's checkout_one page and then clicking on the "Console" tab. OPC's jQuery will (if able) write status messages to the console, but if jQuery isn't loaded you'll see a console error message to that effect.

9 Mar 2024, 12:15 PM
#2769
billj avatar

billj

New Zenner

Join Date:
Sep 2013
Location:
Devon, UK
Posts:
88
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

numinix:

Not sure how OPC works, but does it automatically handle the redirect from payment plugins to FILENAME_CHECKOUT_PAYMENT? For example, our Braintree plugin does contain such redirects.
OPC catches the NOTIFY_HEADER_START_CHECKOUT_PAYMENT notification from FILENAME_CHECKOUT_PAYMENT ('checkout_payment') and redirects to FILENAME_CHECKOUT_ONE ('checkout_one').

11 Mar 2024, 2:19 AM
#2770
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

ZC 1.5.8,
OPC 2.4.6 (2023-08-19),
SFL 1.9a

Hi,
Has anyone got this addon working with Save for Later (https://www.zen-cart.com/downloads.php?do=file&id=872) and if so can you supply the changes to the cart page for me?

11 Mar 2024, 2:51 AM
#2771
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

OJ_SIMON:

ZC 1.5.8,
OPC 2.4.6 (2023-08-19),
SFL 1.9a

Hi,
Has anyone got this addon working with Save for Later (https://www.zen-cart.com/downloads.php?do=file&id=872) and if so can you supply the changes to the cart page for me?
please ignore this

18 Mar 2024, 7:09 PM
#2772
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

One-Page Checkout, v2.5.0, is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

This release contains a major change to the basic processing, reducing the number of page refreshes required and (hopefully) providing better interoperation with more payment modules.

For a full list of all changes and bugfixes, see this link: https://github.com/lat9/one_page_checkout/milestone/57?closed=1

18 Mar 2024, 7:18 PM
#2773
swguy avatar

swguy

Administrator

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

Re: One-Page Checkout [Support Thread]

Fantastic news!

Different topic: any chance in the future you could split off guest checkout from OPC so you could enable the former and not the latter? Asking for clients who have significant changes to checkout logic.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

18 Mar 2024, 8:21 PM
#2774
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

swguy:

Fantastic news!

Different topic: any chance in the future you could split off guest checkout from OPC so you could enable the former and not the latter? Asking for clients who have significant changes to checkout logic.
Sounds like a change-request 'issue' coming soon to OPC's GitHub repo: https://github.com/lat9/one_page_checkout

19 Mar 2024, 5:44 AM
#2775
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

just upgraded to new version and i must say i like the new way of selecting the shipping options much better and smoother.
but I've spotted in the plugin admin :

Enable: Customer List
When you conditionally enable the plugin, use this setting to limit the customers for which the plugin is enabled. Leave the setting blank (the default) to disable the plugin for all customers or identify a comma-separated list of customer_id values for whom the plugin is to be enabled.

you have the wording of "disable" and "enabled" the wrong way round, it should say:
Leave the setting blank (the default) to enabled the plugin for all customers or identify a comma-separated list of customer_id values for whom the plugin is to be disabled to.

or it should say:
Leave the setting blank (the default) to enabled the plugin for all customers or identify a comma-separated list of customer_id values for whom the plugin is to be enabled for.

19 Mar 2024, 9:14 AM
#2776
swguy avatar

swguy

Administrator

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

Re: One-Page Checkout [Support Thread]

lat9:

Sounds like a change-request 'issue' coming soon to OPC's GitHub repo: https://github.com/lat9/one_page_checkout

Thank you! Issue 407 created.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

19 Mar 2024, 1:08 PM
#2777
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

how can i change the layout of the order total modules section of the checkout page as allmine are to the left and I can not work out whats making it happen all i know its my template (which is using bootstrap 5 if that helps)?

if it would help https://phpstack-1180590-4294982.cloudwaysapps.com/

19 Mar 2024, 1:51 PM
#2778
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

OJ_SIMON:

how can i change the layout of the order total modules section of the checkout page as allmine are to the left and I can not work out whats making it happen all i know its my template (which is using bootstrap 5 if that helps)?

if it would help https://phpstack-1180590-4294982.cloudwaysapps.com/
Since the current version of the Bootstrap template, as released, uses Bootstrap 4 ... you're pretty much on your own.

19 Mar 2024, 2:01 PM
#2779
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I've sorted it now thank you.

Actually there is not much of ZC that I gives bootstrap 5 issues with .
this one was a deep down almost hidden css class I hadn't spotted that was overriding what i was changing.

20 Mar 2024, 8:10 AM
#2780
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

How can I disable guest checkout latest version of zencart and bootstrap and php version 8.1

Sorry worked it out

Outdoorking
Live Site https://www.outdoorking.com.au