As I surmised, the Minimum Order plugin (version 7) doesn't 'know' OPC. You'll need to edit /includes/classes/observers/class.minimum_order_amount.php in two spots.
First, on line 24, add the highlighted fragment:
Second, add that notification to the list in the section that starts on line 67:Code:$zco_notifier->attach($this, array('NOTIFY_HEADER_END_SHOPPING_CART', 'NOTIFY_HEADER_START_CHECKOUT_SHIPPING', 'NOTIFY_HEADER_START_CHECKOUT_PAYMENT', 'NOTIFY_HEADER_START_CHECKOUT_CONFIRMATION', 'NOTIFY_HEADER_START_CHECKOUT_ONE'));
Code:case 'NOTIFY_HEADER_START_CHECKOUT_SHIPPING': case 'NOTIFY_HEADER_START_CHECKOUT_PAYMENT': case 'NOTIFY_HEADER_START_CHECKOUT_CONFIRMATION': case 'NOTIFY_HEADER_START_CHECKOUT_ONE':
Works! You are the best lat9 ... thanks!!!
v2.5.4 of One Page Checkout is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095
This release contains changes associated with these GitHub issues:
#420: $_SESSION['opc_saved_order_total'] might not be set.
#421: Correct variable name used during PPEC processing; PHP warnings were being logged.
#422: Removed non-array language files; initial installation now requires zc158 or later.
#423: Clicking on a credit-class total's "Apply" button without supplying a value submits the form
the error is [12-Nov-2024 02:06:25 UTC] ERROR: Failed sending email to: "" <0> with subject: "[CREATE ACCOUNT] Welcome to xxxxxxxxxx (failed validation)
Also have customers complaining of hitting a 404 when checking out with paypal. Restful is still installed but I'm getting the client reset up with paypal pro and express to see if those issues stop. So far I've not been able to tell when or how they are hitting bad links as I don't talk to them directly. So I figure if I ask you what could possibly be happening you won't have clue. (stop laughing - I can hear you now!)
I did just turn on logging to see if that will give me any more info.
First, that error is issued when a customer is creating an account. The PayPal/RESTful payment module only comes into play during the checkout process.
If you're getting 404's using PayPal RESTful, it could be that the ppr_webhook_main.php isn't present in the root-directory of the site. You can tell more by inspecting the site's raw-access logs to see what page/file the 404's being issued for.
Zen Cart 2.0.1
PHP 8.3.13
I didn't see this in the thread nor the GitHub issues, so not sure where the issue lies.
Orders placed via the Guest Checkout do not contain a Shipping Address (https://screenrec.com/share/pGTIfwv618)
The settings are for the 'Shipping Address, Same as Billing' to be checked so they are technically not filling it in. But shouldn't it be pre-filled based upon that checkbox so it is populated on the order?
OPC 2.5.3
Not virtual products
But I did select Local Pickup for my shipping forgetting that removes the shipping.
However, the customer order without a Shipping address used UPS Ground from the current UPS oauth module.
I did another test using UPS Ground and got a shipping address, so not sure what the issue was. We've written it off as a fluke for now. If it happens again, we'll dig in. For now, I know the answer to my original question "But shouldn't it be pre-filled based upon that checkbox so it is populated on the order?" is yes, it does.
Bookmarks