Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Sorry I omitted the OnePage version. In the zen cart configuration it is reported as 2.3.7-beta2 (2021-01-17). I downloaded it from the "Download Latest" button at https://www.zen-cart.com/downloads.p...2095&styleid=2
    Lars

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    @llemberg, in that log you posted, what Request URI was included?

  3. #3
    Join Date
    Sep 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Here is the Request URI from the log
    [14-Apr-2021 14:29:42 America/Los_Angeles] Request URI: /ipn_main_handler.php?type=ec, IP address: <my.ip.add.ress>

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    When you inspect your database (via phpMyAdmin), you should have three configuration_key values:

    1. CHECKOUT_ONE_GUEST_BILLTO_ADDRESS_BOOK_ID
    2. CHECKOUT_ONE_GUEST_SENDTO_ADDRESS_BOOK_ID
    3. CHECKOUT_ONE_GUEST_CUSTOMER_ID

    The CHECKOUT_ONE_GUEST_CUSTOMER_ID should be associated with the "Guest Customer"'s customers-table record and the two ADDRESS_BOOK_ID values should refer to a valid entry (associated with that Guest Customer) in the site's address_book table.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Hmm, re-looking at that log posted:
    Code:
    --> PHP Fatal error: Unknown/invalid billto address # for customer#. in /includes/classes/OnePageCheckout.php on line 2323.
    That highlighted line is not the line on which that trigger_error is thrown. Are you sure you have the most up-to-date version of that class-file?

  6. #6
    Join Date
    Sep 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Hmm, re-looking at that log posted:
    Code:
    --> PHP Fatal error: Unknown/invalid billto address # for customer#. in /includes/classes/OnePageCheckout.php on line 2323.
    That highlighted line is not the line on which that trigger_error is thrown. Are you sure you have the most up-to-date version of that class-file?
    You fixed it. Not the file reporting the error, but my tpl_modules_opc_shopping_cart.php was two characters shorter than the one contained in one_page_checkout-2.3.7.zip. I don't know why, and probably never will. Thanks for your help, I was getting close to a clean start-from-scratch rebuild, so now I am moving forward again.
    Lars

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by llemberg View Post
    You fixed it. Not the file reporting the error, but my tpl_modules_opc_shopping_cart.php was two characters shorter than the one contained in one_page_checkout-2.3.7.zip. I don't know why, and probably never will. Thanks for your help, I was getting close to a clean start-from-scratch rebuild, so now I am moving forward again.
    Lars
    Lars, that still doesn't explain the line-number discrepancy for the /includes/classes/OnePageCheckout.php where that error was reported.

  8. #8
    Join Date
    Sep 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    When you inspect your database (via phpMyAdmin), you should have three configuration_key values:

    1. CHECKOUT_ONE_GUEST_BILLTO_ADDRESS_BOOK_ID
    2. CHECKOUT_ONE_GUEST_SENDTO_ADDRESS_BOOK_ID
    3. CHECKOUT_ONE_GUEST_CUSTOMER_ID

    The CHECKOUT_ONE_GUEST_CUSTOMER_ID should be associated with the "Guest Customer"'s customers-table record and the two ADDRESS_BOOK_ID values should refer to a valid entry (associated with that Guest Customer) in the site's address_book table.
    @lat9,
    The database entries you refer to look like they are lined up correctly. The three configuration key values:
    Code:
    mysql> select configuration_id,configuration_key,configuration_value from configuration where configuration_key like 'CHECKOUT_ONE_GUEST_%_ID';
    +------------------+-------------------------------------------+---------------------+
    | configuration_id | configuration_key                         | configuration_value |
    +------------------+-------------------------------------------+---------------------+
    |              719 | CHECKOUT_ONE_GUEST_BILLTO_ADDRESS_BOOK_ID | 11807               |
    |              718 | CHECKOUT_ONE_GUEST_CUSTOMER_ID            | 9335                |
    |              720 | CHECKOUT_ONE_GUEST_SENDTO_ADDRESS_BOOK_ID | 11808               |
    +------------------+-------------------------------------------+---------------------+
    3 rows in set (0.00 sec)
    The GUEST_CUSTOMER_ID in the customers table:
    Code:
    mysql> select customers_id,customers_firstname,customers_lastname from customers where customers_firstname='Guest';
    +--------------+---------------------+-----------------------------+
    | customers_id | customers_firstname | customers_lastname          |
    +--------------+---------------------+-----------------------------+
    |         9335 | Guest               | Customer, **do not remove** |
    +--------------+---------------------+-----------------------------+
    1 row in set (0.00 sec)
    and the two ADDRESS_BOOK_IDs in the address_book table:
    Code:
    mysql> select address_book_id,entry_firstname,entry_lastname from address_book where entry_firstname='Guest';
    +-----------------+-----------------+-----------------------------+
    | address_book_id | entry_firstname | entry_lastname              |
    +-----------------+-----------------+-----------------------------+
    |           11807 | Guest           | Customer, **do not remove** |
    |           11808 | Guest           | Customer, **do not remove** |
    +-----------------+-----------------+-----------------------------+
    2 rows in set (0.00 sec)
    I've experimented a bit more and discovered that if from the cart I use the Zen Cart buttons to get me to the Checkout page (index.php?main_page=checkout_one), fill in the Contact Info, click Shopping Cart at the top of the page to get back to the cart, THEN the "Pay With PayPal" button successfully takes me to the PayPal log in. It makes sense, since I've entered the missing data causing the error, but I can't determine why the checkout fails trying to use the "Checkout With PayPal" button alone.

 

 

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