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.
Views: 633,114
Administrator
diptimoy:
Do the plugin works with square webpay ?
As far as I'm aware.
Zen Follower
But Client says Square working with normal zencart checkout not working when one page checkout is enabled
Administrator
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!
Totally Zenned
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.
Zen Follower
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
zennedOut
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 fineeven 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.
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.
New Zenner
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
Administrator
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.
New Zenner
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').
Zen Follower
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?
Zen Follower
OJ_SIMON:
ZC 1.5.8,
OPC 2.4.6 (2023-08-19),
SFL 1.9aHi,
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
Administrator
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
Administrator
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.
Administrator
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
Zen Follower
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.
Administrator
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.
Zen Follower
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/
Administrator
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.
Zen Follower
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.
Totally Zenned
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
Tell staff why this post should be reviewed.