Page 285 of 295 FirstFirst ... 185235275283284285286287 ... LastLast
Results 2,841 to 2,850 of 2950
  1. #2841
    Join Date
    Jun 2012
    Location
    California
    Posts
    237
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    1.5.8a PHP 8
    edit_orders-4.7.1
    one_page_checkout-2.5.1
    Twitch_SPOON_for_157c
    usps-USPS_2024_02_14_K11j
    zen_TyPackageTracker-4.1.0

    Can someone explain this to me?
    I loaded One page Checkout 2.5.1 and now when I try to access the orders page in admin I get this error and none of the orders show up.
    The 'o.is_guest_order' is on line 37 of 'OnePageCheckoutAdminObserver.php' but I do not know why it is not present in the database.

    Debug Error File
    /admin/index.php?cmd=orders, IP address: , Language id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 includes/classes/db/mysql/query_factory.php(667): trigger_error()
    #2 includes/classes/db/mysql/query_factory.php(634): queryFactory->show_error()
    #3 includes/classes/db/mysql/query_factory.php(275): queryFactory->set_error()
    #4 admin/includes/classes/split_page_results.php(220): queryFactory->Execute()
    #5 admin/includes/classes/split_page_results.php(131): splitPageResults->numberRows()
    #6 admin/orders.php(1225): splitPageResults->__construct()
    #7 admin/index.php(11): require('/home2/wildstee...')
    --> PHP Fatal error: 1054:Unknown column 'o.is_guest_order' in 'field list' :: SELECT count(*) as total FROM (SELECT o.orders_id, o.customers_id, o.customers_name, o.payment_method, o.shipping_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, o.order_total, o.customers_company, o.customers_email_address, o.customers_street_address, o.delivery_company, o.delivery_name, o.delivery_street_address, o.billing_company, o.billing_name, o.billing_street_address, o.payment_module_code, o.shipping_module_code, o.orders_status, o.ip_address, o.language_code , o.is_guest_order FROM (orders o ) LEFT JOIN orders_status s ON (o.orders_status = s.orders_status_id AND s.language_id = 1) ORDER BY o.orders_id DESC) countresults ==> (as called by) admin/includes/classes/split_page_results.php on line 220 <== in includes/classes/db/mysql/query_factory.php on line 667.

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

    Default Re: One-Page Checkout [Support Thread]

    FWIW, that field should have been added to the database when OPC was initially installed.

  3. #2843
    Join Date
    Jul 2017
    Location
    West Midlands, UK
    Posts
    38
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hi lat9
    We have been trying to integrate the stripe payment module with OPC so we can offer guest checkout with payment via digital wallets (Apple pay or Google pay). Unfortunately we have been unable to get the stripe form to display on the OPC checkout page.

    I have posted on the stripe forum for advice – please see my posts for more details.

    It would be much appreciated if you could check the stripe code and offer any advice on how to make it compatible with OPC.
    Many thanks
    Richard

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by richard7315 View Post
    Hi lat9
    We have been trying to integrate the stripe payment module with OPC so we can offer guest checkout with payment via digital wallets (Apple pay or Google pay). Unfortunately we have been unable to get the stripe form to display on the OPC checkout page.

    I have posted on the stripe forum for advice – please see my posts for more details.

    It would be much appreciated if you could check the stripe code and offer any advice on how to make it compatible with OPC.
    Many thanks
    Richard
    Richard, I have no clients that use Stripe so I'm unfamiliar with the operation of that payment module. I took a quick look at the code and I don't have a clue as to where the module is failing.

    Does Stripe have a debug setting? If so, enable its debug and OPC's debug and you can send me the logs to my private email (which I'll give you via PM).

  5. #2845
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,335
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

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

    This release contains updates for these GitHub issues:

    #412: Remove no-longer-used (and problematic) CHECKOUT_ONE_OTTOTAL_SELECTOR setting.
    #414: Further simplification of the transition from the checkout_one page to checkout_confirmation, ensuring only that the order's total-value hasn't changed.

  6. #2846
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hi,

    Can someone let me know which notifier I need to use to make an action happen after converting gest visiter (not logged-in or registered) to guest account (purchase without account but equal to a logged-in and registered customer) please?
    So I can carry out the action I need too at the earliest point possible.

    OJ - Simon

  7. #2847
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by OJ_SIMON View Post
    Hi,

    Can someone let me know which notifier I need to use to make an action happen after converting gest visiter (not logged-in or registered) to guest account (purchase without account but equal to a logged-in and registered customer) please?
    So I can carry out the action I need too at the earliest point possible.

    OJ - Simon
    Would this be the one to use: 'NOTIFY_ZEN_IN_GUEST_CHECKOUT' is this the first notifyee?

  8. #2848
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    As I need the customer's:
    name - first and last name,
    email,
    PostCode,
    country - iso_code_2,
    ID,

    so that I can send it with the payment request in the API call and save the response to DB else I can only offer wallets to your customer within the Payment plugin I am making.

  9. #2849
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,335
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by OJ_SIMON View Post
    As I need the customer's:
    name - first and last name,
    email,
    PostCode,
    country - iso_code_2,
    ID,

    so that I can send it with the payment request in the API call and save the response to DB else I can only offer wallets to your customer within the Payment plugin I am making.
    That information is stored in the $order object's information by OPC's observer, so you can check the notifications issued at various points within the order's creation to determine the best 'point' at which to gather that information.

    If you're checking within a payment module, that data will already be in the order's information when the checkout process calls any of its functions.

  10. #2850
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    That information is stored in the $order object's information by OPC's observer, so you can check the notifications issued at various points within the order's creation to determine the best 'point' at which to gather that information.
    Ok, so are you saying as fare as a payment module is concerned it doesn't have to deal with a "guest checkout" of OPC any different then a normal registered customer who has a customer account made at the payment processor just before the payment request is made?

    If you're checking within a payment module, that data will already be in the order's information when the checkout process calls any of its functions.
    The only functions available within a payment module/plugin for any point at checkout process are:
    before_process() - this is where I'm thinking the request is API is send but what I can't seem to workout is, is the discount coupons if applied to the order, applied by this point if not then I just have the after_process that i can use?
    after_process() - which I'm working on this is the API response and if needed redirect back to payment?

 

 

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