Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default customer id issue at checkout

    Zencart 1.5.8
    OPC checkout
    php 8.1


    I am having an issue with my customer ids when checkout out.

    I use shipworks to ship my orders and when i download the orders i am getting invalid ids. Sometimes it is correct. But a lot of the orders are being attach to one id. Why is zencart not sending the correct customer ids.

    Just FYI In the database everything seems okay.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: customer id issue at checkout

    Are these "invalid IDs" due to guests checkout out?

  3. #3
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: customer id issue at checkout

    I am not sure if this is what relates to my issue but i found this
    https://github.com/lat9/one_page_checkout/issues/391


    Path includes\templates\template_default\templates\tpl_checkout_one_confirmation_defa ult.php

    current code:

    Code:
    echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation"' . ($confirmation_required) ? ' onsubmit="submitonce();"' : '');
    Should I change it to the double quotes at end like this:
    Code:
    echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation"' . (($confirmation_required) ? ' onsubmit="submitonce();"' : ''));  ?>
    Not even sure if i am on the right track.
    When I made the change with the double quotes )) my id still had issues. SO i changed it back.

    Note: Sometimes the customer id comes into shipworks correclty and sometimes it does not.

  4. #4
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: customer id issue at checkout

    Not sure what this issue is. It has to be related to a guest checkout issue. I notice when I download orders into shipworks the order comes in correctly. For some reason the id of the name are not correct.

    It seems when i download the latest order rom shipworks it takes the most recent order customer ID and uses for all the orders

  5. #5
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: customer id issue at checkout

    I believe this is happening when someone checks out as a guest based on my test

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: customer id issue at checkout

    All OPC guest-checkouts use the same guest-customer-id. Your shipworks installation (which I don't use) needs to look at the order's information, not the customer's information.

  7. #7
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: customer id issue at checkout

    I understand now. Thank you so so much.

  8. #8
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: customer id issue at checkout

    Is there a way when you check out as guest to create a unique ID?

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: customer id issue at checkout

    Quote Originally Posted by chadlly2003 View Post
    Is there a way when you check out as guest to create a unique ID?
    Nope, but a guest can choose (at the checkout-success page) to 'convert' their guest account to a permanent one.

 

 

Similar Threads

  1. Log in as customer issue
    By MB1 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 27 Jul 2010, 02:24 AM
  2. Checkout page keeps refreshing: customer can't checkout
    By thebeveragegourmet in forum General Questions
    Replies: 6
    Last Post: 10 Jun 2009, 08:23 PM
  3. Customer Log in Issue
    By dewispel in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Mar 2008, 05:36 PM
  4. Customer Approval Issue
    By Names in forum General Questions
    Replies: 1
    Last Post: 3 Aug 2007, 03:08 AM

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