Page 292 of 296 FirstFirst ... 192242282290291292293294 ... LastLast
Results 2,911 to 2,920 of 2956
  1. #2911
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    186
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Where did the minimum-order code come from?
    Minimum order plugin

  2. #2912
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,339
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    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:
    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'));
    Second, add that notification to the list in the section that starts on line 67:
    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':

  3. #2913
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    186
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Works! You are the best lat9 ... thanks!!!

  4. #2914
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,339
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    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

  5. #2915
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    When you're posting that you're receiving error logs, it helps me to help you by posting the log's contents.

    If the PayPal/RESTful issue is happening a lot, I'll suggest turning on the payment module's logging to gather some 'breadcrumbs' through which the cause of that issue can be determined.

    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.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  6. #2916
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,339
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by delia View Post
    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.

  7. #2917
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    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?

  8. #2918
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,339
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    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?
    What version of OPC? What shipping module was used for the order? Did the order contain only 'virtual' products?

  9. #2919
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    What version of OPC? What shipping module was used for the order? Did the order contain only 'virtual' products?
    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.

  10. #2920
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    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.
    Duh, I know the error is from creating an account. This is a 2.0.1 with a minimal template and one page is the only mod.

    And duh, I bow to your wisdom. Was missing that dang file. Feeling stupid. Thanks!
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR