Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2013
    Location
    north carolina
    Posts
    110
    Plugin Contributions
    0

    help question Almost false address mismatch

    Hi,

    I noticed that billing and shipping addresses are considered a mismatch even when the difference is only in word capitalization or abbreviations vs spelled out words (e.g., st vs street). Is there a way to tell the system to ignore such differences?

    Thanks,
    Magz

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Almost false address mismatch

    You can fix this with:
    /your_admin_dir/orders.php

    Code:
          $show_difference = '';
          if ((strtoupper($orders->fields['delivery_name']) != strtoupper($orders->fields['billing_name']) and trim($orders->fields['delivery_name']) != '')) {
            $show_difference = zen_image(DIR_WS_IMAGES . 'icon_status_red.gif', TEXT_BILLING_SHIPPING_MISMATCH, 10, 10) . ' ';
          }
          if ((strtoupper($orders->fields['delivery_street_address']) != strtoupper($orders->fields['billing_street_address']) and trim($orders->fields['delivery_street_address']) != '')) {
            $show_difference = zen_image(DIR_WS_IMAGES . 'icon_status_red.gif', TEXT_BILLING_SHIPPING_MISMATCH, 10, 10) . ' ';
          }
          $show_payment_type = $orders->fields['payment_module_code'] . '<br />' . $orders->fields['shipping_module_code'];
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v150 Image Directory Mismatch
    By StevenMagnet in forum Basic Configuration
    Replies: 3
    Last Post: 2 May 2012, 07:29 PM
  2. Currency mismatch
    By enquirer66 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 1 Nov 2008, 09:36 AM
  3. Shipping vs PayPal confirmed Address mismatch allowed
    By ivanixdev in forum Bug Reports
    Replies: 0
    Last Post: 12 Jun 2008, 06:48 AM
  4. Address Mismatch Still Charges Account - Authorize.net
    By funkdrmr in forum Addon Payment Modules
    Replies: 8
    Last Post: 22 Dec 2006, 11:42 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