Jump to content

insaini

Members
  • Content count

    207
  • Joined

  • Last visited

Everything posted by insaini

  1. THese are the prices that are being returned by Canada Post.. sometimes they are the same.. but for the customer.. to them its a no brainer to choose Expedited.. you can if you like.. disable Regular shipping prices by logging into your sellonline account and removing that option.. Number 2.. you most definitely need to have your curl built with openssl AND! libssh2 .. this is an absolute must otherwise you will not pass step 2.. step 2 is used for SSL authentication on Canada Post servers...
  2. Sorry guys been a little busy.. ill be on later tonight to answer some messages.. but quickely.. Yes curl MUST! be built with OpenSSL AND! libssh2 .. otherwise you will not pass step 2 for authentication on canadapost servers. newbie.. seems your curl is running in safe mode.. dont know why but maybe its a host issue.. J
  3. hmm you are talking about the cart contents page.. seems as though you may need to check out where that total is being totaled in shopping_cart.php .. if its adding up correctly at the confirmation then it seems as though the problem is specific to shopping_cart.php .. do you have any other mods done to this? J
  4. your sellonline account .. you login with your CPC ID .. I believe this is the address http://sellonline.canadapost.ca/servlet/LogonServlet login, setup your boxes and shipping options and handling costs.. as per your shipping charge.. its based on item weight and item dimensions.. and canadapost does the calculations.. if for instance item 1 is say 5cm x 5cm x 5cm and item 2 is 10cm x 10cm x 10cm .. if you have a box that is 15cm x 15cm x 15cm .. canadapost will calculate that you can put upto 3 pieces of item 1 and 1 piece of item 2 .. it then adds the weight of these .. if however your selected items takes more space than one box.. i believe it calculates for multiple boxes.. now the charges youve received above seems as though its calculating for 2 separate shipments.. possibly because you havent added your boxes and setup the options in your sellonline account. J
  5. That is not a problem.. as long as you have the dimensions and weights entered for each individual item in your catalog .. and you have already defined your boxes in your sellOnline account.. canadapost figures out everything for you..
  6. The shipping module stores the total shipment weight with every order recorded and this is the value used when in the automated labels software.. if however the shipment weight isnt in the stored shipping details recorded for the order.. automated labels will display a message asking the user to input the correct shipment weight. However yes the shipping module will determine (as long as the dimensions and weights for each of your products has been added and is correct) the exact shipping costs to anyone in the world.. you can also specify a handling charge via your sellOnline account which is automatically added to the shipping charge to the customer as well as fuel charges, etc.. As for the labels.. I use FEDEX labels that I purchased off of ebay.. canadapost doesnt have labels.. although you can use any label sheet or even just blank paper and tape the label onto the box... however the label itself is the exact same as the label received from logging into the canada post shipping application.. barcodes and all that .. nothing to worry about.. J
  7. The Credit Card is for when you use automated labels.. if you dont plan on using the automated labels functionality via the admin panel.. then you dont have to worry about it.. if however you intend on using automated labels.. then you need to log into the canadapost shipping application via www.canadapost.com once you login.. store your credit card info at www.canadapost.com once you have it stored there.. automated labels can use it with a reference.. which is the first and last 4 digits with 8 asterisks (*) in the middle .. ie 4324********2343 ... then all you need to pass to canadapost is this reference and the CVV which takes care of the payment for automated labels processing.. again you only need to store this information if you intend on using automated labels... J
  8. Ahh ok so the changes you need to make are to the shipping module.. not the shipping labels files.. ship_canadapost* files are all for automated labels... the shipping module (only 1 file) is located at catalog/includes/modules/shipping/canadapost.php this is file you need to modify.. and you can modify it like the others have to connect to a friends server .. im sure you can find the modifications in one of the other canadapost shipping threads.. J
  9. chris.. you would have to place the call to this file in step one of the ajax file.. ship_canadapost_ajax.php load that up.. look at the first step (initialization) .. it has to go before anything else.. However. I do see a problem because the above url is sellonline (which is fine for shipping quotes) but the urls required for label generation are different.. now what I think is.. if you had a problem using godaddy's proxy server .. you may not have set it up correctly.. the automated labels software does not use port 30000 (only the shipping module does) .. be sure to modify the version of the shipping module ive included in the package with the modifications you just posted above (you may need to use your friends server for the shipping module via that php file you posted above) .. however for automated labels.. the proxy settings should have been enough.. one last thing.. when and what errors are you getting? are you getting errors from the shipping module? or the automated labels software? J
  10. I believe curl also has to be built with libssh cURL Information libcurl/7.18.0 OpenSSL/0.9.7a zlib/1.2.1.2 libssh2/0.18
  11. Hmm.. well thats just the general error .. at what step are you getting this error? I have just created a label yesterday and it went through fine.. also you could have a curl problem in that your curl version may not be the proper version, or you curl was not built with openssl (this is required for https access) .. you can be sure its the openssl problem if it wont get past step 2 (since it cant log you in via https) .. J
  12. Chris, you can add those lines to the ship_canadapost.php function file.. located in /admin/includes/functions .. its the first function at the top of the file...
  13. I found the problem.. something i missed .. open the language file /admin/includes/languages/english/ship_canadapost.php on line 38 you will see define ('ENTRY_DECLARED_VALUE','Declared Value ('.DEFAULT_CURRENCY.'):');\ remove the ending \ thats it.. J
  14. You get whatever shipping methods canada post provides.. that is shipping within canada, usa, or international .. once you set you sellonline and ventureone accounts.. you can also specify flat rate shipping.. handling charges.. etc..
  15. Where did you get that sql command? ALTER TABLE products ALTER TABLE manufacturers ADD countries_id INT NOT NULL; That is no where in the contribution.. the command is ALTER TABLE products ADD products_description_short VARCHAR( 64 ) NOT NULL, ADD products_tariff VARCHAR( 32 ) NOT NULL; ALTER TABLE manufacturers ADD countries_id INT NOT NULL; ALTER TABLE orders ADD cp_tracking VARCHAR( 18 ) NULL; I have no idea where you got that above command that you tried to run and got that error.. J
  16. Shane, only had to read post 14 above to note that a change was needed.. take a look http://forums.oscommerce.com/index.php?s=&...t&p=1242251 once you make the change and run it on the database again you should be fine.. J
  17. Thanks.. ill update the documentation on that.. Hows the module working out otherwise?
  18. good catch, it should be ADD products_length DECIMAL(6,2) DEFAULT '12' NOT NULL after products_weight, sorry about that.. change it to that and run the script again.. should be good.. J
  19. insaini

    Country-State Selector

    There is a javascript error.. getStates is not defined.. seems like you didnt attached the ajax.js.php file to create_account.php .. and yup just checked the page source.. the javascript required isnt there..
  20. insaini

    Country-State Selector

    well actually.. you dont even need that heh.. the two single quotes '' argument is default .. so you dont even need to pass it.. J
  21. insaini

    Country-State Selector

    not sure why.. you are only replacing the ,true); with ,''); (two single quotes) .. this should work my friend..
  22. insaini

    Country-State Selector

    jgeoff open the file catalog/create_account.php at the top.. change ajax_get_zones_html(tep_db_prepare_input($_POST['country']), true); to ajax_get_zones_html(tep_db_prepare_input($_POST['country']), ''); I will make those changes and upload a new version. that will get rid of the 1 showing up a default in states without predefined zones.. J
  23. insaini

    Country-State Selector

    Doenst seem like you added the CSS tag for the indicator.. create one and add the value 'visibility: hidden;' it will start off as hidden and should show up when its loading.. #indicator { visibility:hidden; } you can modify it as you see fit for your page.. J
  24. insaini

    Country-State Selector

    You can't just upload the new ajax code and not change the states dropdown code.. you also have to change the states dropdown code because there is a new parameter that has been added.. find the states dropdown code in your create_account45.php (its the code that is surrounded by the <div id="billing_states"> or shipping states element) .. and you have to add the name of the dropdown you want now which should be either 'billing' or 'shipping' (and it should be the very first parameter) it should then show up.. as for the $_GET .. it could also be $HTTP_GET_VARS .. and it should be near the top part of the create_account45.php page (under the process section) just scroll down a bit until you see 'zone_id' OR ... even easier just do a text search for 'zone_id' or 'state' and you should see the code where you will have to make some changes. J
×