Page 266 of 296 FirstFirst ... 166216256264265266267268276 ... LastLast
Results 2,651 to 2,660 of 2956
  1. #2651
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,352
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by brian70809 View Post
    Allmart -

    I'm not sure it's OPC.. Which I love.. I have migrated a test site to 1.5.8 and setup Bootstrap on it.. It seems that all the updates to the database after a sale is done, is delaying the screen from showing a transaction is complete. It does not matter which template I am using. If I am using OPC or not.

    I did a slow-query log and nothing is in there..

    Query log is showing a bunch of database processess being done. Tax Rates, Special Pricing, etc,etc....

    My website has:
    548 Customers
    5000 transactions
    17,000 products
    Just noting that once the customer confirms an order, OPC is no longer part of the processing. Having said that, does the same behavior occur if you temporarily disable OPC and run a purchase through the default, 3-page checkout?

  2. #2652
    Join Date
    Jun 2011
    Posts
    83
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Just noting that once the customer confirms an order, OPC is no longer part of the processing. Having said that, does the same behavior occur if you temporarily disable OPC and run a purchase through the default, 3-page checkout?
    Yes. Its the same if it's 3- page or the OPC.. I don't know where to go with this.. I'm on wrong thread for this issue.

    I don't know if PHP is purely a linear system, or if you can multitask(so to speak) by running multiple scripts at one time..

    I just wanted to let that user know I think it's not OPC.

    Thanks for everything you do lat9!

  3. #2653
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,352
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Thanks for the report back that it's not OPC, @brian70809! Out of interest, what payment method and order-totals are "in play" for this order that takes a long time to record?

  4. #2654
    Join Date
    Jul 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    HI all,
    I have just problem.
    I installed OPC 2.4.5 on my new instaltion of ZC 1.5.8a.
    After I put some products in the cart and will to finish the order on the page "/index.php?main_page=checkout_one"
    I receive error

    "Your order\'s details have changed. Please review the current values and re-submit."

    and the page could not be sent.
    I don't understand why is the message generated.
    On the page can be changed only shipping method. After change is the total amount of order well recalculated.
    But after clicking on the button "Confirm order" will be the page reloded and show this Error Message.

    thank yo for your help
    Borek


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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by Borek View Post
    HI all,
    I have just problem.
    I installed OPC 2.4.5 on my new instaltion of ZC 1.5.8a.
    After I put some products in the cart and will to finish the order on the page "/index.php?main_page=checkout_one"
    I receive error

    "Your order\'s details have changed. Please review the current values and re-submit."

    and the page could not be sent.
    I don't understand why is the message generated.
    On the page can be changed only shipping method. After change is the total amount of order well recalculated.
    But after clicking on the button "Confirm order" will be the page reloded and show this Error Message.

    thank yo for your help
    Borek

    What template is in use and what, if any, additional order-total modules are being used by the site?

  6. #2656
    Join Date
    Aug 2023
    Location
    UK
    Posts
    9
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hi. Have just returned to using Zen after some time with other carts. Got everything all working EXCEPT for one issue with the one page checkout plugin. Works fine with the guest checkout disabled, but when I enable guest checkout through admin the final stage - 'checkout_one_confirmation' just brings up a page not working message? Am running through wampserver so have attached the error log. Can someone point me in the right direction to resolve this, as really want the guest feature... Payment provider setup as PayPal Std which works fine when the guest feature disabled.
    Thanks...

    [29-Aug-2023 17:55:06 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 275 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
    Stack trace:
    #0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(275): zen_get_zone_code(222, '', '-- Please Selec...')
    #1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
    #2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\heade r_php.php(407): payment->process_button()
    #3 C:\wamp64\www\zencart158a\index.php(35): require('C:\\wamp64\\www\\z...')
    #4 {main}
    thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173

    [29-Aug-2023 17:55:06 UTC] Request URI: /zencart158a/index.php?main_page=checkout_one_confirmation, IP address: ::1
    --> PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 275 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
    Stack trace:
    #0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(275): zen_get_zone_code(222, '', '-- Please Selec...')
    #1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
    #2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\heade r_php.php(407): payment->process_button()
    #3 C:\wamp64\www\zencart158a\index.php(35): require('C:\\wamp64\\www\\z...')
    #4 {main}
    thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173.

  7. #2657
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,352
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by PlanetDesign View Post
    Hi. Have just returned to using Zen after some time with other carts. Got everything all working EXCEPT for one issue with the one page checkout plugin. Works fine with the guest checkout disabled, but when I enable guest checkout through admin the final stage - 'checkout_one_confirmation' just brings up a page not working message? Am running through wampserver so have attached the error log. Can someone point me in the right direction to resolve this, as really want the guest feature... Payment provider setup as PayPal Std which works fine when the guest feature disabled.
    Thanks...

    [29-Aug-2023 17:55:06 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 275 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
    Stack trace:
    #0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(275): zen_get_zone_code(222, '', '-- Please Selec...')
    #1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
    #2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\heade r_php.php(407): payment->process_button()
    #3 C:\wamp64\www\zencart158a\index.php(35): require('C:\\wamp64\\www\\z...')
    #4 {main}
    thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173

    [29-Aug-2023 17:55:06 UTC] Request URI: /zencart158a/index.php?main_page=checkout_one_confirmation, IP address: ::1
    --> PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 275 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
    Stack trace:
    #0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(275): zen_get_zone_code(222, '', '-- Please Selec...')
    #1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
    #2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\heade r_php.php(407): payment->process_button()
    #3 C:\wamp64\www\zencart158a\index.php(35): require('C:\\wamp64\\www\\z...')
    #4 {main}
    thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173.
    Your "quickest path to success" is going to be the editing of /includes/modules/payment/paypal.php, line 275, changing that to read
    Code:
                       'state' => zen_get_zone_code((int)$order->customer['country']['id'], (int)$order->customer['zone_id'], $order->customer['state']),
    I'll create an issue on OPC's GitHub repository to ensure that those address-related values are integer values for a future release.

    n.b. Issue created: https://github.com/lat9/one_page_checkout/issues/383

  8. #2658
    Join Date
    Aug 2023
    Location
    UK
    Posts
    9
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Thanks for the prompt response Lat9.. I have amended line 275 exactly as above, but sadly it has not resolved the issue. It just when guest checkout is selected, there are issues.

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

    Default Re: One-Page Checkout [Support Thread]

    OK, so if there are more logs, please post them and we'll get them out of there.

  10. #2660
    Join Date
    Aug 2023
    Location
    UK
    Posts
    9
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hi. These are the results from when I added the (int) suggestion at line 275 of payment/paypal.php

    [30-Aug-2023 08:01:42 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 290 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
    Stack trace:
    #0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(290): zen_get_zone_code(222, '', 'YO')
    #1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
    #2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\heade r_php.php(407): payment->process_button()
    #3 C:\wamp64\www\zencart158a\index.php(35): require('C:\\wamp64\\www\\z...')
    #4 {main}
    thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173

    [30-Aug-2023 08:01:42 UTC] Request URI: /zencart158a/index.php?main_page=checkout_one_confirmation, IP address: ::1
    --> PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 290 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
    Stack trace:
    #0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(290): zen_get_zone_code(222, '', 'YO')
    #1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
    #2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\heade r_php.php(407): payment->process_button()
    #3 C:\wamp64\www\zencart158a\index.php(35): require('C:\\wamp64\\www\\z...')
    #4 {main}
    thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173.

    The only difference between logs 'appears' to have now moved the error from line 275 to line 290 of paypal.php. Nothing changed with fault though. Guest disabled it all works fine, when guest is enabled, the program still stalls and doesn't load up the PayPal window?

 

 

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