Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

natrium42

Pioneers
  • Posts

    141
  • Joined

  • Last visited

Everything posted by natrium42

  1. There is a FedEx label mod if you search for it in contributions. I am not aware of any UPS labels mods that use UPS servers directly without a third party in-between...
  2. Or you could have changed the database column from VARCHAR to TEXT...
  3. I have: wait_timeout=28800 connect_timeout=5
  4. Try replacing "$HTTP_POST_VARS[$var];" with "$_POST[$var];" in admin/includes/functions/ship_paypal.php This might fix the variables not transmitted to the next step issue with register_globals off. I am not sure why your MySQL server goes away so quickly... You might want to sprinkle in more of the connect calls, for example before each single MySQL query... Or you could look into increasing the timeout. For Optional Fields, I don't seem to find them on the PayPal ship site. Could you describe where they are? Or you could even copy them out of the source code and then I can take a look. Perhaps sellers insurance only works if you ship a particular order made via PayPal. This mod doesn't actually care how the customer paid, so there is this disconnection between payment and shipment.
  5. The code that builds the brackets part is in catalog/includes/modules/shipping/zones.php
  6. The new version should fix this... there was another spot to put tep_db_connect()... That's when the response from PayPal is unexpected. For example if something went wrong or if PayPal changed their site. You are correct: the input form is only used if you check the "Customize Shipment" button -- otherwise the order info is taken from the database. This error should only happen if the entire form is empty. Is this the case? If it's not empty and you still get this error, then there is some bug in the code... So let me know and I will look into it. It seems to work over here (Firefox browser).
  7. Please grab the newest version (once it's approved as it's over 300kB). Version 1.2 (2009-08-27) - added PDF output for labels - fixed potential MySQL timeout issues
  8. I think Light Packets are only available to USA and International... Canada Post is ripping us off for domestic shipping as it's much cheaper to ship overseas than locally...
  9. Well, it has eBay and some number on it. I think it's mostly based on a trust system anyway, as there are no bar codes for regular airmail (a choice Canada Post could easily change if they wanted). Many eBay sellers ship via eBay/PayPal, so I don't think there should be any problems. I myself use this mod only for Light Packets, as you cannot ship them electronically any other way -- the only option is going to a postal outlet in person. eShipper gives me better rates on Expedited and Xpresspost than my Canada Post business account (which is better than VentureOne), so I use it for those methods. My Canada Post business account is only used for Small Packets Air these days (as eShipper doesn't offer that method)....
  10. Nah, it's just that the transactions with PayPal seem to take longer than your wait_timeout variable in MySQL settings. PayPal returns the labels in GIF format, however it's possible to turn it into PDF. I can add this to the next version. Right now I am using Firefox with a 1200 pixel high screen which results in 50% scaling of the GIF image. It's just the right size when printed on Letter format. I have also disabled headers and footers in page setup. But you're right, PDF would be easier.
  11. Sounds like the database connection is timing out while the script communicates with PayPal. Try adding tep_db_connect(); like so: tep_db_connect(); //// // 5. ENTER CUSTOMS INFORMATION
  12. You must mod admin/categories.php according to the installation instructions to get those fields.
  13. Hmm, could you send me all of the log please? natrium gmail
  14. Have you searched for "usps labels" in contributions?
  15. Please grab the newest version as PayPal made a small change. Version 1.1 (2009-08-20) - adjusted mod to PayPal changes
  16. This mod is meant to supplement Canada Post Automated Labels which cannot ship via Canada Post Light Packets Air.
  17. I released PayPal Automated Labels mod to supplement this one. It allows to ship via Canada Post Light Packets Air among others, which is very cheap if your package is 2cm or thinner and 0.1kg or lower. Usually you can only ship via this method if you go to a postal office in person, but apparently Canada Post gave PayPal the ability to do it online.
  18. Support thread for PayPal Automated Labels Mod PayPal Automated Labels Canada 1.0 ================================== Original Author: Alexei Karpenko Initial Release: 2009-08-13 Features ======== - Ships Light Packets Air electronically via Canada Post using PayPal shipping - Also ships via other methods available with Canada Post through PayPal - Returns GIF file from PayPal server with the label to print - Adds description for customs for each product - Adds Harmonization/Tariff code for each product - Adds country of manufacture to each manufacturer - Proper invoice for customs Change Log ==================== Version 1.0 (2009-08-13) - initial release with Canada Post support Introduction by the original author =================================== This modification allows to ship an order electronically by submitting data to PayPal server which then returns a GIF file with a label that should be placed onto the package. Most of the information is automatically filled out given the order data. This is especially useful to Canadians as Canada Post does not provide any API to electronically ship Light Packets Air. It's very time consuming to ship them in person at the local postal outlet. Luckily, PayPal allows to ship those via Canada Post electronically. What this modification does is pretend to be a human. It goes to the PayPal site and traverses it filling in all the fields like a human would. That's all done with PHP and Curl magic. Screenshot included in the package. Requirements ============ - Canadian PayPal account - Mod tested with PHP5, Curl
  19. Unless your volumes are large, the following are the cheapest options I have found: - eShipper for FedEx Express, UPS Express, UPS Standard, Canada Post Expedited, Canada Post Xpresspost - Canada Post for Small Packets Air - PayPal Shipping for Light Packets Air (normally you can only do them in person at a postal outlet)
  20. Looks like Canada Post changed the names of the login fields slightly, here are the fixed lines: //// // 2. LOG IN $response = cp_get_page($ch, 'https://sso-cal.canadapost-postescanada.ca/cpid/apps/signIn?LOCALE=en&~language=EN&APP_ID=B2B&SSO_REFERRER_URL=https://obc.canadapost.ca/zcpb2b/b2b/init.do?language=EN&shop=CPENCOMM'); $query_string = 'cpidSignIn:signIn.x=46&cpidSignIn:signIn.y=11&cpidSignIn_SUBMIT=1' . '&cpidSignIn:j_username=' . urlencode($cp_user) . '&cpidSignIn:j_password=' . urlencode($cp_password); Also make sure to go to the EST site manually and update the account when requested.
  21. Shipping via eShipper is the cheapest.
  22. I doubt that Canada Post would support what is basically a hack. They do not provide any API for programmers to ship online.
  23. What kind of shipping option does this happen with? Is this with domestic shipping? I usually use eShipper to ship domestically, so might have missed a cropped up problem.
  24. Hmm, are you able to ship manually by using EST? It sounds like your address is not set up.
  25. As far as I know, the prices for Regular and Expedited are exactly the same for VentureOne customers. I would just disable Regular to Canada entirely.
×
×
  • Create New...