A link to the site would help. If you don't want to 'publish' it, you can send it to me via the Private Message feature on the Zen Cart forums (refer to that link in the top menu-bar).
Printable View
A link to the site would help. If you don't want to 'publish' it, you can send it to me via the Private Message feature on the Zen Cart forums (refer to that link in the top menu-bar).
Sorry... of course - pollardscoffee.co.uk
Thank you
The site, when viewed with FireFox shows an insecure connection for the main page (it shows 'secure' for the Contact Us page, as it should).
Are you really, really sure that both the HTTP_SERVER and HTTPS_SERVER definitions indicate https://http://pollardscoffee.co.uk?
Thank you. Here are my setting - includes = * Enter the domain for your store
* If you have SSL, enter the correct https address in BOTH the HTTP_SERVER and HTTPS_SERVER settings, instead of just an http address.
*/
define('HTTP_SERVER', 'https://pollardscoffee.co.uk');
define('HTTPS_SERVER', 'https://pollardscoffee.co.uk');
/**
* If you have https enabled on your website, set this to 'true'
*/
define('ENABLE_SSL', 'true');
and the admin folder =
define('HTTP_SERVER', 'https://pollardscoffee.co.uk');
/**
* Note about HTTPS_SERVER:
* There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.
*/
/**
* Note about DIR_WS_ADMIN
* The DIR_WS_ADMIN value is now auto-detected.
* In the rare case where it cannot be detected properly, you can add your own DIR_WS_ADMIN definition below.
*/
/**
* Enter the domain for your storefront URL.
* Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.
*/
define('HTTP_CATALOG_SERVER', 'https://pollardscoffee.co.uk');
define('HTTPS_CATALOG_SERVER', 'https://pollardscoffee.co.uk');
/**
* Do you use SSL for your customers login/checkout on the storefront? If so, enter 'true'. Else 'false'.
*/
define('ENABLE_SSL_CATALOG', 'true');
Could it be an issue with the certificate?
What happens if you temporarily change your template to the built-in responsive_classic? Does it display the same behavior?
Just trying to see if it could be a template-related issue.
I get the same Whoops timeout message
I'm following up on a post from several weeks ago. Client just approved installing the current version. I have 2.3.8 installed and getting the same error I was before when clicking update for the address section in guest checkout:
setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 1.7.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:58 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at Object.<anonymous> (jquery.checkout_one.js?1618668915:998)
at n (jscript__jquery.min.js:2)
at Object.fireWith (jscript__jquery.min.js:2)
at Object.fire [as resolve] (jscript__jquery.min.js:2)
at Object.success (index.php?main_page=checkout_one:66)
at n (jscript__jquery.min.js:2)
at Object.fireWith [as resolveWith] (jscript__jquery.min.js:2)
at w (jscript__jquery.min.js:4)
at XMLHttpRequest.d (jscript__jquery.min.js:4)
Zen Cart 1.5.7a
PHP 7.2
I did copy the one extra file in /includes/modules/pages/checkout_payment to /includes/modules/pages/checkout_one. It was: jscript_double_submit.php
We had tried that when OPC was 2.3.4 and still got this error. I've updated the site to 3.5.1 and get the same error:
jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at jquery.checkout_one.js?1618668915:998
at c (jscript_jquery.min.js:2)
at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
at Object.s.<computed> [as resolve] (jscript_jquery.min.js:2)
at Object.success (index.php?main_page=checkout_one:64)
at c (jscript_jquery.min.js:2)
at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
at l (jscript_jquery.min.js:2)
at XMLHttpRequest.<anonymous> (jscript_jquery.min.js:2)
Just noticed I'm using the minified. Do you need the unminified to get the right line numbers?
Thank you for the continued help. Here is the entire console log with the unminified 3.5.1
jscript_jquery.js:10353 Uncaught TypeError: url.indexOf is not a function
at jQuery.fn.init.jQuery.fn.load (jscript_jquery.js:10353)
at jscript_menu_conf.js:91
jQuery.fn.load @ jscript_jquery.js:10353
(anonymous) @ jscript_menu_conf.js:91
jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at jquery.checkout_one.js?1618668915:998
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at Object.deferred.<computed> [as resolve] (jscript_jquery.js:3964)
at Object.success (index.php?main_page=checkout_one:64)
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at done (jscript_jquery.js:9786)
at XMLHttpRequest.<anonymous> (jscript_jquery.js:10047)
(anonymous) @ jquery.checkout_one.js?1618668915:998
fire @ jscript_jquery.js:3496
fireWith @ jscript_jquery.js:3626
deferred.<computed> @ jscript_jquery.js:3964
success @ index.php?main_page=checkout_one:64
fire @ jscript_jquery.js:3496
fireWith @ jscript_jquery.js:3626
done @ jscript_jquery.js:9786
(anonymous) @ jscript_jquery.js:10047
load (async)
send @ jscript_jquery.js:10066
ajax @ jscript_jquery.js:9682
(anonymous) @ index.php?main_page=checkout_one:76
Deferred @ jscript_jquery.js:3979
zcJS.ajax @ index.php?main_page=checkout_one:42
saveCustomerInfo @ jquery.checkout_one.js?1618668915:976
saveBilling @ jquery.checkout_one.js?1618668915:734
dispatch @ jscript_jquery.js:5429
elemData.handle @ jscript_jquery.js:5233
I've removed that file but still getting the same error:
jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:55 Object
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at jquery.checkout_one.js?1618668915:998
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at Object.deferred.<computed> [as resolve] (jscript_jquery.js:3964)
at Object.success (index.php?main_page=checkout_one:63)
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at done (jscript_jquery.js:9786)
at XMLHttpRequest.<anonymous> (jscript_jquery.js:10047)
Zen Cart 1.5.7b
OPC 2.3.7-beta2 (2021-01-17)
PHP Version: 7.1.33
Shipping modules used: Storepickup, Advanced Shipper
Any suggestions as to why this message is frequently displayed when going through checkout?
"It's taking a little longer than normal to update your order's shipping cost. Please close this message and try again. If you continue to receive this message, please contact us."
Sometimes it has to be closed 2 or 3 times before you can actually complete checkout.
That's the result of having a 'number of' shipping modules (e.g. USPS, UPS and FedEx) where the quote-generation latency gets long. You can control the timeout via configuration of the Update Shipping AJAX Time-out setting (defaults to 5 seconds, which is a ton of time).
The shipping isn't using ANY external shipping methods. They are all methods set within Advanced Shipper for specific locations, weights, and order values. I don't really understand why it's doing this as the shipping cost is displayed next to the various checkboxes as soon as you get to checkout. There is no delay in the method cost being displayed on screen.
I'm seeing instances of this in the log directory, although I don't yet know if that is being generated at the same time as the Ajax timeout occurs
PHP Notice: Malformed value for session-based shipping module; customer will need to re-select: false in /home/mysite/public_html/includes/classes/order.php on line 323
I recall reading that others have experienced this error log and it may be a ZC bug?
Also seeing a few instances of this:
[26-Apr-2021 16:44:22 Europe/London] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShipping, IP address: 79.66.5.148
#1 trigger_error() called at [/home/mysite/public_html/includes/classes/OnePageCheckout.php:1361]
#2 OnePageCheckout->inputPreCheck() called at [/home/mysite/public_html/includes/classes/OnePageCheckout.php:903]
#3 OnePageCheckout->validateBilltoSendto() called at [/home/mysite/public_html/includes/classes/ajax/zcAjaxOnePageCheckout.php:61]
#4 zcAjaxOnePageCheckout->updateShipping() called at [/home/mysite/public_html/ajax.php:85]
--> PHP Fatal error: Invalid request, tempAddressValues not set. in /home/mysite/public_html/includes/classes/OnePageCheckout.php on line 1361.
And this:
[31-May-2021 12:14:02 UTC] PHP Fatal error: Uncaught Error: Call to a member function isLoggedIn() on null in /home/mysite/public_html/includes/classes/observers/class.checkout_one_observer.php:341
Stack trace:
#0 /home/mysite/public_html/includes/classes/class.base.php(118): checkout_one_observer->update(Object(notifier), 'NOTIFY_ZEN_IS_L...', '', false, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
#1 /home/mysite/public_html/includes/functions/functions_customers.php(275): base->notify('NOTIFY_ZEN_IS_L...', '', false)
#2 /home/mysite/public_html/includes/templates/jsweb/common/html_header.php(156): zen_is_logged_in()
#3 /home/mysite/public_html/index.php(42): require('/home/balloonm/...')
#4 {main}
thrown in /home/mysite/public_html/includes/classes/observers/class.checkout_one_observer.php on line 341
It'll help if you could enable the OPC debug so that you can capture what OPC thinks is going on when the issue occurs. You can either make the associated log available via link (the files get too large to post in a response) or send me a PM and I'll let you know my direct email to which you can send that output.
ZC 157c
ZCA Bootstrap 3.1.2
Local Sales Taxes 2.5.3a
One Page Checkout 2.3.8
OPC shows FL state sales tax on guest checkout before a customer enters/saves billing/shipping information (due to store's location).
For guests who enter/save Florida-based shipping addresses, the appropriate FL county surtax is then appended to their orders.
For guests who enter/save out-of-state-based shipping addresses, the FL state sales tax line is completely removed as expected.
I would like to hide the store-based state sales tax until the billing/shipping information is saved, so out-of-state delieveries don't think they're about to be charged FL's sales tax and abandon their carts.
I'm not sure which file(s) to modify to accomplish this. All help greatly appreciated!
You could "fool" OPC into using guest address-book entries that have an untaxable country (e.g. Bermuda) ... that would have to be hand-entered in your site's phpMyAdmin. That way, no tax is displayed.
Unfortunately, the guest-customer will then need to change their bill/ship country from Bermuda ...
I'm building a site (an upgrade for our current 1.5.5f one) using Zen Cart 1.5.7c and running on PHP 7.1.
The template is a simple clone of Responsive Classic with some stylesheet changes but no PHP code changes at all. The issue below shows up both on this template and on Responsive Classic.
The only modules installed so far are Numinix Product Fields (we use some of the fields for shipping) and some of our own shipping modules.
I've just installed OPC 2.3.8 and everything seems to work well except one thing. I have "shipping=billing" enabled in admin and the result is almost as expected. I see the billing address form and the "Shipping Address, Same as Billing?" checkbox.
However, on lat9's demo site and on others I have looked at, that check-box and everything outside the billing address form are greyed out until the billing details are saved. That's a good thing and I am sure it is intentional since being able to click the check-box prematurely would reload the page and lose the unsaved billing details.
On my installation, however, the rest of the page is not greyed out. I can't see easily how it works so I don't know how to debug it. I'd appreciate a pointer to the part of the code that deals with it so I can do some debugging.
I can see that the form elements are disabled by activating a layer over them. This is done on page load depending, ultimately, on the OnePageCheckout class attribute $billtoAddressChangeable. However, I can't see where this is ever set to true. And even if I try initialising it to true in the constructor, the layer is still not activated.
@BillJ, check the browser's console-log (F12 for developer tools on most modern browsers) to see if anything is amiss in jQuery-land.
Thanks, Cindy. I've been using developer mode quite a bit and that's how I found the layer wasn't active on my site while it is on yours.
What in particular should I look for with jQuery? As far as I can tell I'm using the default jQuery that comes with the 1.5.7c distribution but then again everything else looks OK too so there's clearly something wrong that I'm not seeing yet :)
On the console I see:
Code:setFormSubmitButton, payment-module: null jquery.checkout_one.min.js?1622987705:5
Showing "confirm" jquery.checkout_one.min.js?1622987705:5
Setting orderConfirmed (0), submitter (null) jquery.checkout_one.min.js?1622987705:5
jQuery version: 3.5.1
One thing I have just noticed, on the checkout page there briefly appears a red box with the JS_ERROR_OPC_NOT_ENABLED message ("Our expedited checkout process is temporarily unavailable", etc.). It disappears quickly and I don't always see it. I don't know if that is expected. I don't see it on the demo site.
I've also noticed this. I initially thought it was caused by a delay in the loading of javascript files, I made sure the min versions of OPC javascript were loaded and also disabled other scripts running on my site. I did wonder whether it was a server performance issue, but it occurs on my dev site (slower) as well as my live.
I was never able to pinpoint the cause for the brief warning message.
Thanks - I've PM'd you the link since the supgraded site isn't live yet.
@BillJ, thanks for that. While the inclusion of the "Shipping, same as billing" checkbox is as expected (I do need to update that demo site), the inclusion of the blocks other than the shopping-cart (i.e. current products) list should not be displayed until the addresses have been validated. I'll open an issue on the OPC GitHub repository to track the change(s) required.
Found it! That was an overly-aggressive change for this issue. Edit your template's version of checkout_one.css, changing the line that reads
toCode:.opc-overlay .active { background: #dcdcdc; height: 100%; width: 100%; opacity: 0.5; top: 0; left: 0; position: absolute; padding: 0; z-index: 1; }
... removing that intervening space between .opc-overlay and .active.Code:.opc-overlay.active { background: #dcdcdc; height: 100%; width: 100%; opacity: 0.5; top: 0; left: 0; position: absolute; padding: 0; z-index: 1; }
Thank you! That has fixed it and everything appears to be working as expected. I appreciate the help.
ZC v1.5.7c
Bootstrap 4 v3.1.2
OPC v2.3.8
City autofill error was re-introduced to Guest Checkout after installing OPC. (reference: https://www.zen-cart.com/showthread....37#post1381737)
I believe I need to apply the specificity fix (https://github.com/zencart/zencart/c...2399671adb6ed4) to the following file which is listed under new files in the Read Me but not included in the download:
Though my eyes might be playing tricks on me.Quote:
77. /includes/templates/YOUR_TEMPLATE/css/create_account.css
I've come up against another issue with OPC. Whenever I try to confirm an order, I end up back on the checkout page with the message:
"Your order's details have changed. Please review the current values and re-submit."
I can see the reason for the message. I have one product in the cart (I have tried with different products and with multiple products) and the total value of goods is £13.55.
However, the subtotal (including tax) is showing as £13.26 inc. tax, plus postage.
The tax rate is 20% so that doesn't account for the difference and I have set the rate to zero and the discrepancy was still there. I have a couple of OT modules that could possibly affect the total but I have avoided products that would bring them in and none of them are listed on the checkout page.
I have had to put the site live today with OPC disabled but if anyone wants to take a look, please PM me for test credentials and I'll add a test user to the OPC conditional-enable list (what an excellent debugging feature!).
Attachment 19648
You don't say which version of OPC, but starting with v2.3.5 there's a SuperUser-only admin file that can help determine what's going on in these re-direct loops: /admin/opc_debug_redirection_error.php ... documentation for its use: https://github.com/lat9/one_page_che...ng_redirect.md
I've just submitted v2.3.9 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:
#295: Correct ambiguous coupon_id on account registration (MySQL error)
#296: Correcting greedy CSS change in v2.3.6, resulting in items showing that should be blocked.
#297: Add address-fields' 'specificity' to correct browser address-autofills.
Available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095
I was totally up to date with the last release. As I read in the installation procedure, this is just a drop in/overwrite of the previous version for 1.5.7c, correct?
First thank you for the plugin, it's a great idea :)
I am however having a problem with it.
I have a new install of Zen Cart v1.5.7c running responsive template on PHP 7.4.21 and only a handful of plugins installed.
I have two flat rate shipping modules installed (Regular & Express) after cloning the Flat rate module.
Whenever I go to checkout, I click on the radio dot of the "Standard Flat Rate" under shipping method but the screen quickly refreshes and the shipping method options disappear (view below snapshots) and can't confirm order as it will come up with error when I click on the confirm order button?!
I checked the error log and the below code is at the bottom of the log, can't really figure out the issue, I've had to turn off the one checkout module for now, the checkout process works fine in normal checkout mode, no such issues?!
(Please view snapshots below):
BEFORE pressing the radio button: https://i.imgur.com/D5tYjwq.png
AFTER (error) clicking on the radio button: https://i.imgur.com/Ogd7nIW.png
AFTER (error) clicking on the Confirm Order Button: https://i.imgur.com/htIzRAG.png
Wonder why it's doing this? I hope I can get some assistance.
Thank you.
Code:2021-07-25 15:41:34 index: updateShipping, returning:{"status":"invalid","errorMessage":"Your available shipping options have changed. Please re-select your desired shipping method.","orderTotalHtml":"<div id=\"otsubtotal\">\r\n <div class=\"totalBox larger forward\">$7.00<\/div>\r\n <div class=\"lineTitle larger forward\">Sub-Total:<\/div>\r\n<\/div>\r\n<br class=\"clearBoth\" \/>\r\n<div id=\"ottotal\">\r\n <div class=\"totalBox larger forward\">$7.00<\/div>\r\n <div class=\"lineTitle larger forward\">Total:<\/div>\r\n<\/div>\r\n<br class=\"clearBoth\" \/>\r\n","shippingHtml":"","shippingMessage":"","paymentHtml":"<!--bof payment-method choices -->\n <div id=\"checkoutPaymentMethod\" class=\"floatingBox forward clearRight\">\n <fieldset>\n <legend>Payment Method<\/legend>\n<div class=\"custom-control custom-radio\"><input type=\"hidden\" name=\"payment\" value=\"dirbankaus\" id=\"pmt-dirbankaus\" \/> <label for=\"pmt-dirbankaus\" class=\"custom-control-label radioButtonLabel\">Bank Deposit\/Internet Transfer<div id=\"bankpayment\"><img src=\"images\/bankpayment.jpg\" alt=\"\" \/><\/a><\/div><\/label>\n <\/div>\n <br class=\"clearBoth\" \/>\n\n <\/fieldset>\n <\/div>\n <div class=\"clearBoth\"><\/div>\n<!--eof payment-method choices -->\n","paymentHtmlAction":"update"}
Shipping not set
@rlexyd, are there any debug-logs generated during that checkout?
What is the file-name of your flat-rate clone shipping method? If you (temporarily) disable that shipping-method clone and enable one of the other built-in shipping modules for testing, does the issue 'disappear'.
I am, as you can derive, trying to see if it's that clone that is giving you grief.
Hi,Thanks for helping.
No, the only thing that occurs is the (one_page_checkout error log gets bigger) and the bottom of it shows the error I included in last post, not sure if you need to see any other info from that log.
First I disabled the Express Module, error still came up,
Than I disabled Flat Module, error still came up again,
After I disabled BOTH shipping modules and only left "Store Pick Up" as an option but that came up with a Different error now and the following debug log:
Error snapshot: https://i.imgur.com/313GGoE.pngCode:[26-Jul-2021 08:03:12 Australia/Sydney] PHP Notice: Malformed value for session-based shipping module; customer will need to re-select: false in /home2/...../public_html/....com.au/includes/classes/order.php on line 323
Weird all this seem to happen when the one_checkout is enabled.
My flat rate file names are (flat.php and express.php), I've checked both files well and they are ok, and they both work fine in normal zen cart checkout process.
On another note, been trying to take out the brackets from the shipping module, I managed to do it in normal checkout, but can't seem to figure it out in (one checkout mode), as when I take out the ( checkout process goes blank?! All I did was just Remove the parens themselves from between the apostrophes from the codes below:
This is the file I deleted just the parens from (includes/modules/pages/checkout_one/header_php.php) on two separate lines.
Code:if ($_SESSION['shipping']['cost'] == $method['cost'] && $_SESSION['shipping']['title'] == ($val['module'] . ' (' . $method['title'] . ')')) {
This is the file I deleted just the parens from (includes/modules/pages/checkout_one_confirmation/header_php.php) on one line.Code:'title' => $quotes[0]['title'] . ' (' . $quotes[0]['methods'][0]['title'] . ')',
Code:'title' => ($free_shipping) ? $quote[0]['methods'][0]['title'] : ($quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),
One more thing I just noticed..
Ok, so when I have the one checkout enabled and have the two flat rate shipping options available..
As per the usual error from previous post, if I click on the already chosen radio button on the standard flat rate shipping, I get that error where all shipping modules disappear, and if I refresh, they come back, than when I click again, the loading circle hovers over the radio button and they disappear again, then when I hit refresh again, they come back....
NOW, if I click the express flat rate radio button, no error occurs, it chooses that button correctly, than if I click the regular standard flat rate radio button, it works fine and I can go to the checkout correctly.
VERY weird that's for sure, but it might help someone understand the issue a bit more at least?!
Agreed, it's pretty weird. Just checking; what version of OPC is in use?
I installed 2.3.8 but updated to 2.3.9 to see if it fixes the problem (I just merged/uploaded the 5 files that were changed) but the problem is still there?!
An odd error occurred overnight where an error in OPC caused duplicate orders 22 seconds apart for the same customer and same items, but did not send out any order conformation emails. Only one of the orders was charged out (PayPal) with no payment confirmation visible in admin, but shows in PayPal.
Same error posted to the log for both orders.
Error Log:
1.5.7 storeCode:[26-Jul-2021 21:31:26 America/Chicago] Request URI: /store/index.php?main_page=checkout_process, IP address: xx.38.xx.8
#1 trigger_error() called at [/includes/classes/OnePageCheckout.php:1399]
#2 OnePageCheckout->inputPreCheck() called at [/includes/classes/OnePageCheckout.php:898]
#3 OnePageCheckout->formatAddress() called at [/includes/classes/observers/class.checkout_one_observer.php:532]
#4 checkout_one_observer->update() called at [/includes/classes/class.base.php:118]
#5 base->notify() called at [/includes/classes/order.php:1183]
#6 order->send_order_email() called at [/includes/modules/checkout_process.php:103]
#7 require(/includes/modules/checkout_process.php) called at [/includes/modules/pages/checkout_process/header_php.php:14]
#8 require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
--> PHP Fatal error: Invalid request, tempAddressValues not set. in /includes/classes/OnePageCheckout.php on line 1399.
OPC v2.3.8
Bootstrap 4 template
Going to update to OPC v2.3.9 today...
What other plugins are installed for the site? I'm also assuming that you're running zc157c ... or a fully-patched version of zc157.
The site's "Raw Access Logs" can also be your friend here. Since you know the IP address and timeframe, you could search those raw-access-logs for that IP address to get a feel for how the customer navigated through the site.
I currently have the following installed:
Zen Cart 1.5.7c
ZCA-bootstrap 3.1.1
opc 2.3.8 (bust day, didn't get 2.3.9 installed...)
bs4_opc 1.0.1
Google reCaptcha v3.4
quick quantity update
UPSxml 1.79
USPS 2021_05_05_K11a
I haven't been able to get into the Raw access logs, not sure I really know how to, it downloaded as an MS DOS application.
I am thinking it may have actually been a PayPal error...
I found this error from the same customer approximately 15 minutes before the OPC error and both of the orders that posted did not have a billing address on them;
Code:2021-07-26 09:18:55
-------------------
(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.7
)
Request Parameters: {DoExpressCheckoutPayment}
Array
(
[PAYMENTREQUEST_0_AMT] => 173.51
[PAYMENTREQUEST_0_ITEMAMT] => 147.93
[PAYMENTREQUEST_0_SHIPPINGAMT] => 25.58
[L_PAYMENTREQUEST_0_NUMBER0] => 21-220
[L_PAYMENTREQUEST_0_NAME0] => 2011 SX/XC, 2012-15 ALL, 2016 EXC/XCW KTM Easy Fit Under Fender [408] License Plate Holder: 21-208 - Universal/KTM Rear Turn Si
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_AMT0] => 147.93
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[PAYMENTREQUEST_0_SHIPTONAME] => xxxxxxxxxxxx
[PAYMENTREQUEST_0_SHIPTOSTREET] => xxxxxxxxxxxxx
[PAYMENTREQUEST_0_SHIPTOCITY] => xxxxxxxxxxx
[PAYMENTREQUEST_0_SHIPTOSTATE] => xxxxxxx
[PAYMENTREQUEST_0_SHIPTOZIP] => xxxxxxx
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => xxxxx
[BUTTONSOURCE] => ZenCart-EC_us
[RETURNFMFDETAILS] => 1
[PAYMENTREQUEST_0_CUSTOM] => aa-11111-1111111111
[PAYMENTREQUEST_0_INVNUM] => 11111-1111111111-[sicassracingcom]
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[TOKEN] => xx-###############
[PAYERID] => X#X#X#X#X#X#X
[NOTIFYURL] => https://sicassracing.com/store/ipn_main_handler.php
[METHOD] => DoExpressCheckoutPayment
[USER] => sicassracing_api1.aol.com
[PWD] => ****************
[VERSION] => 124.0
[SIGNATURE] => ****************************************************xxxx
)
Response:
Array
(
[TOKEN] => xx-###############
[SUCCESSPAGEREDIRECTREQUESTED] => false
[TIMESTAMP] => 2021-07-27T02:18:54Z
[CORRELATIONID] => 63957c992760
[ACK] => Failure
[VERSION] => 124.0
[BUILD] => 55829961
[L_ERRORCODE0] => 10486
[L_SHORTMESSAGE0] => This transaction couldn't be completed.
[L_LONGMESSAGE0] => This transaction couldn't be completed. Please redirect your customer to PayPal.
[L_SEVERITYCODE0] => Error
[CURL_ERRORS] =>
)
DoExpressCheckoutPayment, Elapsed: 3027ms -- Failure
TOKEN=EC%2d469499473T2659827&SUCCESSPAGEREDIRECTREQUESTED=false&TIMESTAMP=2021%2d07%2d27T02%3a18%3a54Z&CORRELATIONID=63957c992760&ACK=Failure&VERSION=124%2e0&BUILD=55829961&L_ERRORCODE0=10486&L_SHORTMESSAGE0=This%20transaction%20couldn%27t%20be%20completed%2e&L_LONGMESSAGE0=This%20transaction%20couldn%27t%20be%20completed%2e%20Please%20redirect%20your%20customer%20to%20PayPal%2e&L_SEVERITYCODE0=Error&CURL_ERRORS=
and this one from several hours earlier from a different order that the email confirmation did come through (to our inbox at least...);
Code:[26-Jul-2021 11:32:47 America/Chicago] Request URI: /store/ipn_main_handler.php, IP address: xx.0.81.65
#1 select_pp_currency() called at [/includes/modules/payment/paypal/paypal_functions.php:196]
#2 valid_payment() called at [/ipn_main_handler.php:309]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPAL_CURRENCY - assumed 'MODULE_PAYMENT_PAYPAL_CURRENCY' (this will throw an Error in a future version of PHP) in /includes/modules/payment/paypal/paypal_functions.php on line 182.
[26-Jul-2021 11:32:47 America/Chicago] Request URI: /store/ipn_main_handler.php, IP address: xx.0.81.65
#1 select_pp_currency() called at [/includes/modules/payment/paypal/paypal_functions.php:196]
#2 valid_payment() called at [/ipn_main_handler.php:309]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPAL_CURRENCY - assumed 'MODULE_PAYMENT_PAYPAL_CURRENCY' (this will throw an Error in a future version of PHP) in /includes/modules/payment/paypal/paypal_functions.php on line 185.
[26-Jul-2021 11:32:47 America/Chicago] Request URI: /store/ipn_main_handler.php, IP address: xx.0.81.65
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID - assumed 'MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID' (this will throw an Error in a future version of PHP) in /ipn_main_handler.php on line 332.
[26-Jul-2021 11:32:47 America/Chicago] Request URI: /store/ipn_main_handler.php, IP address: xx.0.81.65
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPAL_ADDRESS_OVERRIDE - assumed 'MODULE_PAYMENT_PAYPAL_ADDRESS_OVERRIDE' (this will throw an Error in a future version of PHP) in /ipn_main_handler.php on line 343.
[26-Jul-2021 11:32:47 America/Chicago] ERROR: Failed sending email to: " " <> with subject: "Order Confirmation No: 27559" (failed validation)
@mikestaps, why are you using the old PayPal payment method (paypal.php) instead of PayPal Express Checkout (paypalwpp.php)? I've done absolutely no validation with the paypal.php version's operation with One Page Checkout.
Nothing amiss there. Let's try another approach.
First, remove (i.e. delete) all the OPC debug-logs. Then add item(s) to the cart, start OPC and click on one of the Shipping options to expose the issue.
Then, zip-up (it gets big) the OPC debug-log and either post it back here or send it to me via PM.
We run both PayPal Express module and the PayPal Payments Pro module (requires express set up). Payments Pro for the onsite CC payments, and the option of PayPal Express. We have run these in tandem for several years.
I've been using this plugin while updating a ZC website I'm working on. Calling it "a lifesaver" is an understatement.
The amount of work that has been put into this (that I can see from the code and the final result) AND the fact that is completely open source AND the continuous support/documentation is incredible. I literally can't thank enough lat9 (and everyone else who contributed into this) for this outstanding plugin.
On top of all that, the code is so well written and documented! Amazing, amazing work.
Among other things, the layout and behavior of the three-columns checkout is EXACTLY as I wanted it to be. It just makes sense to me that it's implemented like it is. I only had to make very few changes. I worked with much bigger and well-known ecommerce platforms and man if their checkout layout was a pain to work with.
For several reasons I think that ZC is still one of the best ecommerce these days. However I have to admit that without both this plugin and the ZCA bootstrap template (always by lat9 by the way) it wouldn't be the same. Both plugins really push it forward and help make it a modern solution.
Thanks for your kind words and the support that you've provided via the changes you've submitted via the plugin's GitHub repository (https://github.com/lat9/one_page_checkout).
I'm getting the 'Sorry, but our expedited checkout process cannot be used' flash up for a millisecond then it disappears. It appears that orders can still be processed though. I am using Zen Cart 1.5.7c, Bootstrap 4 and the OPC Styles for Bootstrap 4. Jquery is on 3.5.1. It only appears to happen on a Desktop. It's just a very quick flash.
That's the way that OPC is designed. That "Sorry ..." message shows initially, until all the page's javascript is loaded and the OPC jQuery turns that message off.
It's the only way I could think of to give customers an opportunity to still checkout if the site has a javascript/jQuery issue during the page's load ... which will cause OPC's jQuery (which is an integral part of the processing) to not work.
Zen Cart 1.5.7c
OPC 2.3.9
Active shipping modules: storepickup
I'm getting the "Please contact the store owner; some required elements of this page are missing." message on checkout.
After clicking OK on the popup message, the checkout page displays correctly, although I did notice that the address for the user account isn't pre populated in the billing/shipping address fields.
Console log shows
I switched to responsive classic template and still get the same issue.Code:Missing #otshipping
setFormSubmitButton, payment-module: moneyorder
Showing "confirm"
Setting orderConfirmed (0), submitter (null)
jQuery version: 2.1.4
I checked the readme doc and found
"Some required elements on this page are missing
If you receive a javascript alert reading Please contact the store owner; some required elements of this page are missing., then your template-override version of /includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_one_default.php is missing one or more of the HTML id elements that OPC requires for its proper operation.
Follow the instructions above to view the browser's console-log; the missing elements are identified there. You'll need to compare your template-override version of the file with the version present in the /includes/templates/template_default/templates directory, adding those required elements back!"
Except I haven't modified tpl_checkout_one_default.php, so that can't be the issue.
Any suggestions?
Interestingly, if I enable another shipping method, flat rate for example, the missing #otshipping warning goes away.
Can anyone else confirm that using storepickup as the only shipping method causes the missing #otshipping warning?
I can! It's a core-file issue; you'll need to edit /includes/classes/shipping.php's cheapest method:
... and change the highlighted line to read:Code:function cheapest() {
if (!is_array($this->modules)) return false;
$rates = array();
foreach($this->modules as $value) {
$class = substr($value, 0, strrpos($value, '.'));
if (isset($GLOBALS[$class]) && is_object($GLOBALS[$class]) && $GLOBALS[$class]->enabled) {
$quotes = isset($GLOBALS[$class]->quotes) ? $GLOBALS[$class]->quotes : null;
if (empty($quotes['methods'])) {
continue;
}
$size = sizeof($quotes['methods']);
for ($i=0; $i<$size; $i++) {
if (isset($quotes['methods'][$i]['cost'])){
$rates[] = array('id' => $quotes['id'] . '_' . $quotes['methods'][$i]['id'],
'title' => $quotes['module'] . ' (' . $quotes['methods'][$i]['title'] . ')',
'cost' => $quotes['methods'][$i]['cost'],
'module' => $quotes['id']
);
}
}
}
}
$cheapest = false;
$size = sizeof($rates);
for ($i=0; $i<$size; $i++) {
if (is_array($cheapest)) {
// never quote storepickup as lowest - needs to be configured in shipping module
if ($rates[$i]['cost'] < $cheapest['cost'] and $rates[$i]['module'] != 'storepickup') {
$cheapest = $rates[$i];
}
} else {
if ($rates[$i]['module'] != 'storepickup') {
$cheapest = $rates[$i];
}
}
}
$this->notify('NOTIFY_SHIPPING_MODULE_CALCULATE_CHEAPEST', $cheapest, $cheapest, $rates);
return $cheapest;
}
That change enables the storepickup to be selected as the cheapest ... if it's the only shipping method available.Code:if ($size === 1 || $rates[$i]['module'] != 'storepickup') {
Zen cart GitHub issue opened: https://github.com/zencart/zencart/issues/4478
My clients store is ZC 1.5.7c using OPC 2.3.9
upon clicking checkout, I'm getting a page reload with the following display:
Attachment 19798
and once I click ok:
Im brought to the checkout screen, but not ble to select the payment method:
Attachment 19799
the following debug error: 06-Nov-2021 01:16:36 UTC] PHP Notice: Malformed value for session-based shipping module; customer will need to re-select: false in /includes/classes/order.php on line 323
Looks like you've been bit by this (https://github.com/zencart/zencart/issues/4478) Zen Cart core bug, where 'storepickup' is the only shipping method available.
I'll see what I can do later today to provide a solution.
Turns out I'd provided a solution in the post referenced by the above GitHub issue: https://www.zen-cart.com/showthread....27#post1384427
In looking back at my notes, the error issued was resolved with the fix you suggested... and to clarify, I cant select the payment method.
Are there additional jQuery/javascript issues? Use your browser's 'developer tools' to view the console-log.
These are the rseults when its activated:
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (success.png, line 0)
[Log] Missing #ottotal > div:first-child (jquery.checkout_one.min.js, line 5)
[Log] Missing #otshipping (jquery.checkout_one.min.js, line 5)
[Log] setFormSubmitButton, payment-module: moneyorder (jquery.checkout_one.min.js, line 5)
[Log] Showing "confirm" (jquery.checkout_one.min.js, line 5)
[Log] Setting orderConfirmed (0), submitter (null) (jquery.checkout_one.min.js, line 5)
[Log] jQuery version: 3.5.1 (jquery.checkout_one.min.js, line 5)
Attachment 19802
other screen shots
Attachment 19803
Attachment 19804
Currently running OPC 2.3.9, bootstrap 3.15., Zen 1.5.7c
I have had a weird "error" of sorts, and I'm not sure if it is something caused by OPC, or if it is an error with PayPal.
Yesterday I had a duplicate order that came through 2 seconds after the first. The below CURL log came through at the same exact time as the first order (personal information redacted by me with XXXX);
Could this be caused by a poor mobile connection? Or possibly the customer refreshing the page during payment processing?Code:2021-11-10 02:46:50
-------------------
(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.7
)
Request Parameters: {DoDirectPayment}
Array
(
[ACCT] => ************XXXXX
[AMT] => 99.79
[BUTTONSOURCE] => ZenCart-DP_us
[CARDISSUE] =>
[CITY] => Portland
[COUNTRYCODE] => US
[CREDITCARDTYPE] => Visa
[CUSTOM] => DP-23021-1636577207
[CVV2] => ***
[EMAIL] => XXXXX
[EXPDATE] => XXXXX
[FIRSTNAME] => XXXXX
[INVNUM] => 23021-1636577207-[sicassracingcom]
[IPADDRESS] => 76.27.207.119
[ITEMAMT] => 84.9
[LASTNAME] => XXXXX
[L_AMT0] => 44.95
[L_AMT1] => 39.95
[L_NAME0] => KTM Bar Mounted Hi/Lo/Off Headlight switch [316] Switch Type: 2005-20 KTM Factory Headlight *NOT 2007-20 EXC
[L_NAME1] => KTM/HQV Front Brake Switch Kit - M10x1.00 [167]
[L_NUMBER0] => 26-030T
[L_NUMBER1] => 26-036
[L_QTY0] => 1
[L_QTY1] => 1
[NOTIFYURL] => https://sicassracing.com/store/ipn_main_handler.php
[PAYMENTACTION] => Sale
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[PHONENUM] => XXXXX
[SHIPPINGAMT] => 14.89
[SHIPTOCITY] => Portland
[SHIPTOCOUNTRYCODE] => US
[SHIPTONAME] => XXXXX
[SHIPTOSTATE] => XXXXX
[SHIPTOSTREET] => XXXXX
[SHIPTOZIP] => XXXXX
[STATE] => XXXXX
[STREET] => XXXXX
[ZIP] => XXXXX
[METHOD] => DoDirectPayment
[CURRENCYCODE] => USD
[USER] => XXXXXXXXXXXXXX
[PWD] => ****************
[VERSION] => 124.0
[SIGNATURE] => ****************************************************Nui4
)
Response:
Array
(
[TIMESTAMP] => 2021-11-10T20:46:50Z
[CORRELATIONID] => 5a8445f99fbf3
[ACK] => Failure
[VERSION] => 124.0
[BUILD] => 56068150
[L_ERRORCODE0] => 10536
[L_SHORTMESSAGE0] => Invalid Data
[L_LONGMESSAGE0] => The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID
[L_SEVERITYCODE0] => Error
[AMT] => 99.79
[CURRENCYCODE] => USD
[CURL_ERRORS] =>
)
DoDirectPayment, Elapsed: 2840ms -- Failure
TIMESTAMP=2021%2d11%2d10T20%3a46%3a50Z&CORRELATIONID=5a8445f99fbf3&ACK=Failure&VERSION=124%2e0&BUILD=56068150&L_ERRORCODE0=10536&L_SHORTMESSAGE0=Invalid%20Data&L_LONGMESSAGE0=The%20transaction%20was%20refused%20as%20a%20result%20of%20a%20duplicate%20invoice%20ID%20supplied%2e%20%20Attempt%20with%20a%20new%20invoice%20ID&L_SEVERITYCODE0=Error&AMT=99%2e79&CURRENCYCODE=USD&CURL_ERRORS=
This has happened once before a few weeks back (on OPC 2.3.8), and 3 orders were processed through. All 1 second apart. Any insight would be greatly appreciated.
That could have been either of the conditions you listed. If you've got access to your site's "Raw Access Logs" (usually available via cPanel), you could search that log for the customer's IP address to see how they traversed through the site. That would also provide indication regarding the possibility of a "page refresh" during the checkout-process step.
Shoot... the server deletes the raw access logs every 24hrs. I made a change so it will archive them from now on. Thanks for the tip on how to look up what could be happening.
I have added additional payment method COD and it now allows to choose a payment method, but when clicking CONFIRM order, it recycles back to the cart with the message " Your order's details have changed. Please review the current values and re-submit."
No error log, no debug file.
webmaster tools - debugger displays no errors....
I'll PM you. May need some eyes on help.
Assuming that you've got a version of OPC later than v2.3.5 installed, this (https://github.com/lat9/one_page_che...ng_redirect.md) online document will guide you through the use of the developer-only admin tool that will identify the source of the redirect issue.
Thank you for the direction to the tool... here are my reports findings:
2021-11-11 23:41:22: Found a redirection back to checkout_one, difference follows.
'securityToken' => 'c80301d8585d8a00e171ae396fbf86b4', 'customers_host_address' => 'XXXXXXXXX', 'opc' => OnePageCheckout::__set_state(array( 'isGuestCheckoutEnabled' => false, 'registeredAccounts' => false, 'guestIsActive' => false, 'isEnabled' => true, 'tempAddressValues' => array ( 'ship' => array ( 'gender' => '', 'company' => '', 'firstname' => '', 'lastname' => '', 'street_address' => '', 'suburb' => '', 'city' => '', 'postcode' => '', 'state' => '', 'country' => 223, 'country_id' => 223, 'zone_id' => 23, 'zone_name' => 'Illinois', '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, 'country_id' => 223, 'zone_id' => 23, 'zone_name' => 'Illinois', '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' => 387, 'tempBilltoAddressBookId' => 409, 'tempSendtoAddressBookId' => 410, 'dbStringType' => 'stringIgnoreNull', 'customerInfoOk' => NULL, 'billtoTempAddrOk' => NULL, 'sendtoTempAddrOk' => NULL, 'isVirtualOrder' => false, 'billtoAddressChangeable' => true, 'sendtoAddressChangeable' => true, 'observerAliases' => array ( 'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE', ), 'label_params' => ' class="inputLabel"', )), 'cartID' => '03036', 'cart' => shoppingCart::__set_state(array( 'contents' => array ( '388:02ceb4e351ae54ea1a80576b1c568b42' => array ( 'qty' => '1', 'attributes' => array ( 5 => '13', 2 => '6', ), ), ), 'total' => 9.5, 'weight' => 0, 'cartID' => '03036', 'content_type' => 'physical', 'free_shipping_item' => 0, 'free_shipping_weight' => 0, 'free_shipping_price' => 0.0, 'download_count' => 0, 'total_before_discounts' => 9.5, 'display_debug_messages' => false, 'flag_duplicate_msgs_set' => false, 'flag_duplicate_quantity_msgs_set' => array ( ), 'observerAliases' => array ( 'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE', ), )), 'check_valid_prod' => true, 'language' => 'english', 'languages_id' => 1, 'languages_code' => 'en', 'layoutType' => 'legacy', 'currency' => 'USD', 'today_is' => '2021-11-11', 'updateExpirations' => true, 'antispam_fieldname' => 'M1Lwj46n2U', 'session_counter' => true, 'customers_ip_address' => '184.170.174.172', 'valid_to_checkout' => true, 'cart_errors' => '', 'emp_admin_login' => true, 'emp_admin_id' => 1, 'emp_customer_email_address' => 'XXXXX', 'customer_id' => '1', 'customers_email_address' => 'XXXXX', 'customer_default_address_id' => '1', 'customers_authorization' => '0', 'customer_first_name' => 'Kevin', 'customer_last_name' => 'XXXXX', 'customer_country_id' => '223', 'customer_zone_id' => '23', 'billto' => '1', 'sendto' => '1', 'shipping_weight' => 3.0, 'shipping' => array ( 'id' => 'storepickup_storepickup0', 'title' => 'Store Pickup (Store Pickup (Oak Park Temple - 1235 N Harlem Ave - Oak Park))', 'cost' => '0.00', ), 'cot_gv' => '0.00', 'order_current_total' => '0', ) '$9.50', )
Report completed.
Attachment 19806This is the pop up when the SHOPPING CART link is clicked on
Attachment 19807when on the OPC screen, I am unable to select the payment method
Attachment 19808If I dont select the payment method and click CONFIRM, then this is the screen that pops up
2021-11-12 00:33:36: Found a redirection back to checkout_one, difference follows.
'securityToken' => '4328074e8aa405137db9cdfefac82a42', 'customers_host_address' => 'xxxxx', 'opc' => OnePageCheckout::__set_state(array( 'isGuestCheckoutEnabled' => false, 'registeredAccounts' => false, 'guestIsActive' => false, 'isEnabled' => true, 'tempAddressValues' => array ( 'ship' => array ( 'gender' => '', 'company' => '', 'firstname' => '', 'lastname' => '', 'street_address' => '', 'suburb' => '', 'city' => '', 'postcode' => '', 'state' => '', 'country' => 223, 'country_id' => 223, 'zone_id' => 23, 'zone_name' => 'Illinois', '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, 'country_id' => 223, 'zone_id' => 23, 'zone_name' => 'Illinois', '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' => 387, 'tempBilltoAddressBookId' => 409, 'tempSendtoAddressBookId' => 410, 'dbStringType' => 'stringIgnoreNull', 'customerInfoOk' => NULL, 'billtoTempAddrOk' => NULL, 'sendtoTempAddrOk' => NULL, 'isVirtualOrder' => false, 'billtoAddressChangeable' => true, 'sendtoAddressChangeable' => true, 'observerAliases' => array ( 'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE', ), 'label_params' => ' class="inputLabel"', )), 'cartID' => '36390', 'cart' => shoppingCart::__set_state(array( 'contents' => array ( '388:02ceb4e351ae54ea1a80576b1c568b42' => array ( 'qty' => 1.0, 'attributes' => array ( 5 => 13, 2 => 6, ), ), ), 'total' => 9.5, 'weight' => 0.0, 'cartID' => '36390', 'content_type' => 'physical', 'free_shipping_item' => 0, 'free_shipping_weight' => 0, 'free_shipping_price' => 0.0, 'download_count' => 0, 'total_before_discounts' => 9.5, 'display_debug_messages' => false, 'flag_duplicate_msgs_set' => false, 'flag_duplicate_quantity_msgs_set' => array ( ), 'observerAliases' => array ( 'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE', ), )), 'check_valid_prod' => true, 'language' => 'english', 'languages_id' => 1, 'languages_code' => 'en', 'layoutType' => 'legacy', 'currency' => 'USD', 'today_is' => '2021-11-12', 'updateExpirations' => true, 'antispam_fieldname' => 'fZu6DnPc5i', 'session_counter' => true, 'customers_ip_address' => '184.170.174.172', 'valid_to_checkout' => true, 'cart_errors' => '', 'emp_admin_login' => true, 'emp_admin_id' => 1, 'emp_customer_email_address' => 'xxxxx', 'customer_id' => '1', 'customers_email_address' => 'kevin@kevinfranz.com', 'customer_default_address_id' => '1', 'customers_authorization' => '0', 'customer_first_name' => 'Kevin', 'customer_last_name' => 'xxxxx', 'customer_country_id' => '223', 'customer_zone_id' => '23', 'billto' => '1', 'sendto' => '1', 'shipping_weight' => 3.0, 'cot_gv' => '0.00', 'shipping' => array ( 'id' => 'storepickup_storepickup0', 'title' => 'Store Pickup (Store Pickup (Oak Park Temple - 1235 N Harlem Ave - Oak Park))', 'cost' => '0.00', ), 'new_products_id_in_cart' => '388:02ceb4e351ae54ea1a80576b1c568b42', 'order_current_total' => '0', ) '$9.50', )
2021-11-12 00:34:13: Found a redirection back to checkout_one, difference follows.
'securityToken' => '4328074e8aa405137db9cdfefac82a42', 'customers_host_address' => 'xxxxx', 'opc' => OnePageCheckout::__set_state(array( 'isGuestCheckoutEnabled' => false, 'registeredAccounts' => false, 'guestIsActive' => false, 'isEnabled' => true, 'tempAddressValues' => array ( 'ship' => array ( 'gender' => '', 'company' => '', 'firstname' => '', 'lastname' => '', 'street_address' => '', 'suburb' => '', 'city' => '', 'postcode' => '', 'state' => '', 'country' => 223, 'country_id' => 223, 'zone_id' => 23, 'zone_name' => 'Illinois', '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, 'country_id' => 223, 'zone_id' => 23, 'zone_name' => 'Illinois', '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' => 387, 'tempBilltoAddressBookId' => 409, 'tempSendtoAddressBookId' => 410, 'dbStringType' => 'stringIgnoreNull', 'customerInfoOk' => NULL, 'billtoTempAddrOk' => NULL, 'sendtoTempAddrOk' => NULL, 'isVirtualOrder' => false, 'billtoAddressChangeable' => true, 'sendtoAddressChangeable' => true, 'observerAliases' => array ( 'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE', ), 'label_params' => ' class="inputLabel"', )), 'cartID' => '36390', 'cart' => shoppingCart::__set_state(array( 'contents' => array ( '388:02ceb4e351ae54ea1a80576b1c568b42' => array ( 'qty' => 1.0, 'attributes' => array ( 5 => 13, 2 => 6, ), ), ), 'total' => 9.5, 'weight' => 0.0, 'cartID' => '36390', 'content_type' => 'physical', 'free_shipping_item' => 0, 'free_shipping_weight' => 0, 'free_shipping_price' => 0.0, 'download_count' => 0, 'total_before_discounts' => 9.5, 'display_debug_messages' => false, 'flag_duplicate_msgs_set' => false, 'flag_duplicate_quantity_msgs_set' => array ( ), 'observerAliases' => array ( 'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE', ), )), 'check_valid_prod' => true, 'language' => 'english', 'languages_id' => 1, 'languages_code' => 'en', 'layoutType' => 'legacy', 'currency' => 'USD', 'today_is' => '2021-11-12', 'updateExpirations' => true, 'antispam_fieldname' => 'fZu6DnPc5i', 'session_counter' => true, 'customers_ip_address' => '184.170.174.172', 'valid_to_checkout' => true, 'cart_errors' => '', 'emp_admin_login' => true, 'emp_admin_id' => 1, 'emp_customer_email_address' => 'xxxxx', 'customer_id' => '1', 'customers_email_address' => 'kevin@kevinfranz.com', 'customer_default_address_id' => '1', 'customers_authorization' => '0', 'customer_first_name' => 'Kevin', 'customer_last_name' => 'xxxxx', 'customer_country_id' => '223', 'customer_zone_id' => '23', 'billto' => '1', 'sendto' => '1', 'shipping_weight' => 3.0, 'cot_gv' => '0.00', 'shipping' => array ( 'id' => 'storepickup_storepickup0', 'title' => 'Store Pickup (Store Pickup (Oak Park Temple - 1235 N Harlem Ave - Oak Park))', 'cost' => '0.00', ), 'new_products_id_in_cart' => '388:02ceb4e351ae54ea1a80576b1c568b42', 'order_current_total' => '0', ) '$9.50', )
2021-11-12 00:37:15: Found a redirection back to checkout_one, difference follows.
'securityToken' => '4328074e8aa405137db9cdfefac82a42', 'customers_host_address' => 'xxxxx', 'opc' => OnePageCheckout::__set_state(array( 'isGuestCheckoutEnabled' => false, 'registeredAccounts' => false, 'guestIsActive' => false, 'isEnabled' => true, 'tempAddressValues' => NULL, 'guestCustomerInfo' => NULL, 'guestCustomerId' => 387, 'tempBilltoAddressBookId' => 409, 'tempSendtoAddressBookId' => 410, 'dbStringType' => 'stringIgnoreNull', 'customerInfoOk' => NULL, 'billtoTempAddrOk' => NULL, 'sendtoTempAddrOk' => NULL, 'isVirtualOrder' => false, 'billtoAddressChangeable' => true, 'sendtoAddressChangeable' => true, 'observerAliases' => array ( 'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE', ), 'label_params' => ' class="inputLabel"', )), 'cartID' => '36390', 'cart' => shoppingCart::__set_state(array( 'contents' => array ( '388:02ceb4e351ae54ea1a80576b1c568b42' => array ( 'qty' => 1.0, 'attributes' => array ( 5 => 13, 2 => 6, ), ), ), 'total' => 9.5, 'weight' => 0.0, 'cartID' => '36390', 'content_type' => 'physical', 'free_shipping_item' => 0, 'free_shipping_weight' => 0, 'free_shipping_price' => 0.0, 'download_count' => 0, 'total_before_discounts' => 9.5, 'display_debug_messages' => false, 'flag_duplicate_msgs_set' => false, 'flag_duplicate_quantity_msgs_set' => array ( ), 'observerAliases' => array ( 'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE', ), )), 'check_valid_prod' => true, 'language' => 'english', 'languages_id' => 1, 'languages_code' => 'en', 'layoutType' => 'legacy', 'currency' => 'USD', 'today_is' => '2021-11-12', 'updateExpirations' => true, 'antispam_fieldname' => 'fZu6DnPc5i', 'session_counter' => true, 'customers_ip_address' => '184.170.174.172', 'valid_to_checkout' => true, 'cart_errors' => '', 'emp_admin_login' => true, 'emp_admin_id' => 1, 'emp_customer_email_address' => 'xxxxx', 'customer_id' => '1', 'customers_email_address' => 'xxxxx', 'customer_default_address_id' => '1', 'customers_authorization' => '0', 'customer_first_name' => 'Kevin', 'customer_last_name' => 'xxxxx', 'customer_country_id' => '223', 'customer_zone_id' => '23', 'billto' => '1', 'sendto' => '1', 'shipping_weight' => 3.0, 'cot_gv' => '0.00', 'shipping' => array ( 'id' => 'storepickup_storepickup0', 'title' => 'Store Pickup (Store Pickup (Oak Park Temple - 1235 N Harlem Ave - Oak Park))', 'cost' => '0.00', ), 'new_products_id_in_cart' => '388:02ceb4e351ae54ea1a80576b1c568b42', 'messageToStack' => array ( ), 'order_current_total' => '0', ) '$9.50', )
The report from the admin/opc_debug_redirection_error.php?id=1-2021-11-12 only displays in black text. Not sure if I'm following what tool you are referring to?
screen shot of OPC admin setup here Attachment 19810