Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dez

Archived
  • Posts

    37
  • Joined

  • Last visited

Everything posted by Dez

  1. I had this problem with a client's site a few weeks ago. Here's what I had to do: - Uninstall previous Authorize.net contribution completely. In order to do this, I had to start with a new set of payment-related files (classes/order_total.php, checkout_shipping.php, etc). - Download and install Authorize Net AIM module from here http://www.oscommerce.com/community/contri...earch,Authorize - Follow the instructions included in the readme of that module. Forum link: http://www.oscommerce.com/forums/index.php?showtopic=199381 Important to note is the first step - installing the AIM module will not work unless your files have been completely cleared of any previous Authorize.net contribution code.
  2. Well, I spent hours working on this and finally had a working solution, and the client it was for decided to hold off on using it for a while. I'll probably package it up as a means for people to be able to load a bunch of tracking numbers into their database and change the order status without doing it transaction by transaction.
  3. Here's the link to the thread with the code you mentioned. Reposting it here for reference, if you don't mind. // ICD CHANGE *************** //Add UPS tracking function tep_ups_tracking_by_reference($ref_number){ // RL CODE: $ups_shipper_account = 'YOUR UPS ACCOUNT'; $site = file_get_contents('http://wwwapps.ups.com/WebTracking/processRefSummary?HTMLVersion=5.0&AgreeToTermsAndConditions=yes&TypeOfInquiryNumber=R&InquiryNumber=' . $ref_number . '&SenderShipperNumber=' . $ups_shipper_account, r); if (!eregi("Unable to track shipment", $site)) { $tracking_string = ' VALUE="TrackDetailInfo,'; $ups_tracking = substr(strstr($site, $tracking_string),24,18); $ups_tracking_description = '<a href="http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&AgreeToTermsAndConditions=yes&TypeOfInquiryNumber=T&InquiryNumber=' . $ups_tracking . '" target="_blank">' . $ups_tracking . '</a>'; $ups_status_array= array( 'I' => 'In transit', 'D' => 'Delivered', 'X' => 'Special circumstances apply', 'P' => 'Ready for Shipping', 'M' => 'Manifest pickup' ); $status_string = $ups_shipper_account . ',,,' . $ups_shipper_account . ',,,21b4,,,,,'; $ups_status = substr(strstr($site, $status_string),27,1); $ups_status_description = $ups_status_array[$ups_status]; //If you need to test the string: //$full_tracking_string_array = split('">', strstr($site, $tracking_string)); //$full_tracking_string = substr($full_tracking_string_array[0],24); //$ups_tracking_string = 'T: ' . $ups_tracking . ' | S: ' . $ups_status . ' | O: ' . $ref_number . ' <br> Tracker: ' . $full_tracking_string; //return $ups_tracking_string; return printf(TEXT_UPS_TRACKING_INFORMATION, $ups_tracking_description, $ups_status_description); } else { return false; } } // ICD CHANGE******************* In language file define('TEXT_UPS_TRACKING_INFORMATION', '<b>Tracking Number:</b> %s <b>Status:</b> %s');
  4. That sounds good, but what my customer really wants is to have the data dumped into the osC database and updating the order status automatically. If you could post the code that you're talking about, it may be helpful to me, or someone else who stumbles upon this thread. In the meantime, I'll see if I can find it.
  5. I have a client who ships from a warehouse using UPS. The client has an account with access to Quantum View Manager. Right now, the warehouse gets order confirmation emails, fulfills the order and ships it using my client's UPS account. Her office manager receives shipment notification emails with the tracking number for each order, and has to enter them by hand into osC. This is very time consuming. The capabilities of the warehouse are limited, and I can't give them any kind of access to our database. After a meeting with my client's UPS IT rep, we decided that the best solution was to use the files that Quantum View makes available for Outbound Data. I took a look at Quantum View Data Online Tools (they give you XML data to work with), and decided that writing a script to handle the XML files and bring the data into the osC database would be too time consuming for this client's needs. Why? - I've read that UPS says that development of this kind of thing can take approximately 200 hours. I haven't found anything but some php libraries that cost $60 and can't be installed by anyone but an intermmediate php developer). - You have to have an SSL connection to connect to the UPS servers and get the Quantum data. Not everyone has this. - You (the developer) have to sign up twice just to receive a developer's key and xml/html access key. So, here's the steps that I'm taking to achieve a time-saving option for this client: 1. Edit Order Confirmation emails to include the customer's email address. When the warehouse processes shipments, they input the order number into the Reference Number field, and send a shipment notification email to the customer. That saves the office manager from having to notify the customer of shipment through osC. 2. Set the client up with UPS Quantum View Autoload (Windows application that downloads the Quantum View data files to your computer). I'll have the office manager download the files in CSV format. 2. The office manager can then log into osC, upload the file, and the contents will be dumped into the database. I've installed the Shipping Status contrib, and will be utilizing its fields in the database to dump the data into. The data will be matched up to the customer's order number (which was also used as a reference number for shipments), so the tracking data will show up under the admin area and customer account history without any manual typing by the office manager. I'm still trying to figure out Quantum View works, and I know that your account rep has to enable everything for you (like Admin/User accounts, subscriptions to types of data services). Is anyone interested in something like this?
  6. It doesn't work with the Bundled Products contribution. I'm setting this up for a client, and they're going to have to calculate the discounts manually and enter them into the order that way.
  7. You can download and install the latest version (the one with the note saying not to use the previous version) without having to download and install any previous versions.
  8. Nevermind - I placed two test orders, and the answers weren't saved to the database, but when someone placed an order today, it saved the answers. Not sure what the deal is, but glad that it's working.
  9. I've installed this and triple-checked over everything, and the answers aren't getting recorded into the database after I place an order. I'm using the files from 3 Nov and the install instructions from 15 Nov. Any help is appreciated.
×
×
  • Create New...