Results 1 to 10 of 3052

Threaded View

  1. #11
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Not sure about this one

    ZC 1.5.8a
    OPC 2.4.5
    Square WebPay
    PHP 8.0.28

    Just upgraded from ZC 1.5.8 to Z1.5.8a, checking out as a guest using PayPal EC and I get a blank screen when completing the order.

    Code:
    [24-Mar-2023 16:08:15 Europe/London] PHP Fatal error:  Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php on line 2080 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
    Stack trace:
    #0 /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php(2080): zen_get_zone_code()
    #1 /home/mydomain_uk/public_html/includes/classes/observers/class.checkout_one_observer.php(597): OnePageCheckout->createPayPalTemporaryAddressInfo()
    #2 /home/mydomain_uk/public_html/includes/classes/traits/NotifierManager.php(87): checkout_one_observer->update()
    #3 /home/mydomain_uk/public_html/includes/modules/payment/paypalwpp.php(1768): base->notify()
    #4 /home/mydomain_uk/public_html/ipn_main_handler.php(75): paypalwpp->ec_step1()
    #5 {main}
      thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173
    
    [24-Mar-2023 16:08:15 Europe/London] Request URI: /ipn_main_handler.php?type=ec&markflow=1&clearSess=1&stage=final, IP address: 
    --> PHP Fatal error: Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php on line 2080 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
    Stack trace:
    #0 /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php(2080): zen_get_zone_code()
    #1 /home/mydomain_uk/public_html/includes/classes/observers/class.checkout_one_observer.php(597): OnePageCheckout->createPayPalTemporaryAddressInfo()
    #2 /home/mydomain_uk/public_html/includes/classes/traits/NotifierManager.php(87): checkout_one_observer->update()
    #3 /home/mydomain_uk/public_html/includes/modules/payment/paypalwpp.php(1768): base->notify()
    #4 /home/mydomain_uk/public_html/ipn_main_handler.php(75): paypalwpp->ec_step1()
    #5 {main}
      thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173.
    line #2080 is

    Code:
    'PAYMENTREQUEST_0_SHIPTOSTATE' => zen_get_zone_code($temp_address['country']['id'], $temp_address['zone_id'], $temp_address['state']),
    Last edited by simon1066; 24 Mar 2023 at 05:37 PM.
    Simon

 

 

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

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