Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

torinwalker

Archived
  • Posts

    39
  • Joined

  • Last visited

Profile Information

  • Real Name
    Torin Walker
  • Interests
    Physics

Recent Profile Visitors

6,613 profile views

torinwalker's Achievements

  1. Gisele, That's interesting. I wonder if it has anything to do with PHP trying to treat the value as an integer. 03 would of course be reduced to '3'. Do you have your old upsxml.log file (from before/during the error occurance)? I would like to see exactly what value, if any, was being sent to UPS. Torin...
  2. Stephan, I see what you're talking about now. It is acting very peculiar. I went over all the displayed shipping options, and it also appears to work on both Worldwide Express options. I believe the problem may be with encircled R (registered symbol). Can you please try removing the special character from the service description and try it again? Torin...
  3. You're going to have to debug your net connection. - Do you know for certain whether your ISP permits client connections? - Is your account key/login/password correct? - Is the correct (latest) version of curl installed? - Is the server timing out while returning the response? - Is traffic back to your ISP really slow? - Is the outgoing XML message complete and valid? (Turn debugging on - see readme.txt that came with UPSXML) You're receiving that response because the UPS gateway returned null. The trouble is, there are many, many reasons why your module could fail to receive a response. Torin...
  4. Guys and/or Gals, We've had the same question posed here before. An unreferenced curl_init method on your end is not something I can solve from my end. Although rpm -q returns an installed curl option, is it possible the server itself was not started with the --with-curl flag? Perhaps instead, the server was started before the rpm package was added? Torin...
  5. Stephan, Geez... Yes, Stephan, it's a mistake. The last two lines should have the same numbers, 64, 65. The same goes for the upsxml.php in the english directory.
  6. Mr. TF, I am still getting to your report. I'll make up a few tires and try them out. I've been very busy, but I haven't forgotten about you. Torin...
  7. J, Er, well, let me just clarify that a little further. I know why the error appears; The curl message being sent fails to retrieve a response (anything at all) from the UPS server. This is usally due to a timeout (busy), server down or being maintained, or a communications problem of some sort on the ISP or UPS end. What I don't know is why the communications errors occur. That's anyone's guess. Perhaps the unknown comm error message could be better written, "No response was received from the UPS Rates and Services gateway for your request. The service is most likely busy, or could be experiencing a communications problem. Please try again. If the problem persists, try again in a few minutes." Torin...
  8. J, Thanks for the update. I'm not sure why you're getting the error. I sometimes get the same error for no particular reason. I usually just retry it a few times, or wait a few minutes. However, I will keep an open mind on this and will help you work it out if it continues to be a code problem. I'm suprised I didn't notice this myself, but the error you're getting is due to a mistyped constant in the shipping module. If you look carefully at the message, you'll see a declared variable in all upper case. Look at the end, and you'll notice the UNKNOWN is actually mispelled UNKNWON. Sorry...too many late nights. . Edit catalog/inclues/modules/shipping/upsxml.php, grep for UNKNWON and replace it with the properly spelled text. That should clean up the messy message. Torin...
  9. Stephan, How very nice! Thank you very much for the offer, Stephan, but it was really nothing. Perhaps instead you could visit my still-not-completed-because-I'm-spending-so-much-time-on-other-things website and give me your opinion of the products I hope to offer this fall. Perhaps too you have a son around 10 - 12yrs who would enjoy one of my rather unique and very educational toys for Christmas. The website is: www.geo-magnet.com Visit the products section and have a look around. Please excuse the mess. I'm between graphic designs, so some of the layouts and fonts are, ehm, discombobulated. Torin...
  10. The updated UPS XML 1.02 module is available in the <a href="http://www.oscommerce.com/community/contributions,1323">contributions</a> section. This update fixes: - Missing column in packages table - Missing column in tep_query in admin/categories.php - A bunch of updates to catalog/includes/modules/shipping/upsxml.php including Customer Classification and Res/Com quote types. - Wrong service codes for the European Union I added a new file, changes.txt, that will help with the differences between versions (makes it easier to update, rather than reinstall.) As always, don't be shy... send me a message if you're encountering problems. Torin...
  11. Stephan, You're getting the same rate because the value isn't in the XML being sent to the gateway. This is one of the issues I will be addressing shortly. Torin...
  12. Everyone, First of all, I'd like to express my appreciation for all the interest you've shown in the UPS XML module, and your willingness to explore the additional features I added to the regular shipping functions. I honestly didn't expect many of you to even bother with the dimensional support. Secondly, I'd like to thank those of you who have helped identify bugs and report them to me. I will look at all the issues presented so far in the forum and attempt to address them all this weekend. At the moment, I'm in the middle of a design for my full-time job and it's eating into all my free time. To answer some of your questions: "I get a curl_init error..." Sounds like curl needs to be enabled on your system. Go into admin->tools->server info page and take a look at the "Configure Command" line. Look for the flag '--with-curl'. If you aren't the administrator of your own website, ask the hosting ISP whether they can enable CURL by either installing the necessary libraries, or adding the appropriate flag. "Will it work in Germany" "Does it handle the 'outside areas'" "Does it handle dimensional weight (volume weight)?" 4. Does it handle additional services (e.g. insurance...)? 5. Is it implemented with the zones module or is it an entire separate modul? Yes, it should work in Germany. Fill out the origin, and as much of the city, state, postal code and quotes should work fine. I haven't tested it with my location set to Germany, so if you encounter errors, finding them shouldn't be difficult. It should handle any area that the UPS Rates and Services Gateway handles. I pass it as much information as is possible with the API, and it is up to UPS to declare whether it can handle the area or not. I've never understood 'dimensional weight'. I am both a pilot, and a physics enthusiast, and I still don't get how L x W x H = m. The values passed to UPS correspond to the physical package dimensions and weight, and they are passed in the package dims/weight fields, not in the dimensional weight field. Additional services are not implemented...yet. One of the additional services I would like to provide is Saturday delivery and Commercial/Residential quotes. This has been a sore point because it's not up to me (the storeowner) to determine whether it's a residential or commercial quote. To provide that option, I have to modify more of the osCommerce core functions, and I've already done enough damage. Additional services is one option that might be a ways down the road. Finally, no, I'm sorry but the Zones feature, if it is another module, is not considered in this shipping module. "Will it work with version 2.2 xxxxx" I have not tested it on any other version except 2.2 MS1, but that does not mean it won't work. I've only been using osCommerce for a few weeks and have not seen it evolve to what it is today. By all means give it a try, but back up your site and try it with dimensions disabled first Thomas, thanks for all that energy! I will definitely look into your dimensions bug and get back to you. The dimensions algorithm should work for such a simple set of parameters. Once we've cleared that up, I'll look into the HTML code problems. Re: checkout_shipping.php reloading error. I haven't made any changes that involve the checkout_shipping.php component, so I'm not sure if this is a related issue. I will keep an eye on it however while I'm doing my testing and see if I can't identify the problem. Thanks everyone for all your help. Torin...
  13. The URL to the UPS XML Rates and Services Module (1.01): http://www.oscommerce.com/community/contri...ons,1323/page,3 Torin...
  14. Guys, Try the new update to the UPS XML Rates and Services package. The new version, 1.01 fixes all the bugs received to date. Torin...
  15. Guys, Re: Deprecated pass-by-reference error: Just remove the _sendToHost function call. It's old code from the UPS Choices 1.7 module and is has been superceded by the _post method. Thanks for pointing this out. I'll remove the method from the new release. Torin...
×
×
  • Create New...