Also, here's part 2 of my stupid question from before: what would the "correct path" for the cookies look like? "/var/www/virtual/mysite.com/cp_cookies"? And the folder needs to be 777, right?
Canada Post Automated Labels 2.0 AND Canada Post Shipping Module 4.0
#81
Posted 17 July 2008 - 07:48 PM
Also, here's part 2 of my stupid question from before: what would the "correct path" for the cookies look like? "/var/www/virtual/mysite.com/cp_cookies"? And the folder needs to be 777, right?
#82
Posted 17 July 2008 - 11:43 PM
Bors, on Jul 17 2008, 03:48 PM, said:
#83
Posted 21 July 2008 - 02:36 AM
natrium42, on Jul 17 2008, 05:43 PM, said:
Yes, that would be greatly preferable. I don't think I've seen it as a toggle in the admin panel - where/how can I switch it to do that?
#84
Posted 21 July 2008 - 07:28 AM
Bors, on Jul 20 2008, 10:36 PM, said:
#85
Posted 25 July 2008 - 10:42 AM
natrium42, on Jul 21 2008, 03:28 AM, said:
I believe natriums original release had code for contracts.. I removed this actually I didnt expect anyone to need it.. clearly im mistaken
you do not need to enter your credit card alias in the shipping module if you will use contract setup.. the contract code should also probably be added to the shipping module configuration so it can be retrieved from there.... ive basically tightly integrated the shipping module and shipping labels packages.. although the shipping module can function without the labels package.. it doesnt work the other way around.. for the labels package to work you need this specific shipping module..
J
#86
Posted 25 July 2008 - 10:47 AM
Bors, on Jul 17 2008, 03:48 PM, said:
Also, here's part 2 of my stupid question from before: what would the "correct path" for the cookies look like? "/var/www/virtual/mysite.com/cp_cookies"? And the folder needs to be 777, right?
if /mysite.com is your root path.. (where say your index.php file is) then no..
the setup would be
/virtual/mysite.com
/virtual/cp_cookies
you can store the cp_cookies file anywhere.. as long as its a 777 access file.. you could also store it in your temp directory.. im not sure if it contains secure information.. it may .. but hopefully canadapost only keeps track of a session and doesnt store user credentials or anything else.. i cant say for sure..
and for cURL.. you 7.15 may work.. im using 7.18 and I know it doesnt work on 7.12 so not sure what version is required.. but i can tell you that OpenSSL and libSSH2 are mandatory libraries.. i see you have OpenSSL.. but you dont have libssh2 .. that is definitely required and you will have to install libssh2 and then rebuild php with libssh2
J
#87
Posted 29 July 2008 - 06:41 PM
Is there an item limit in the CP test system? If not...can you suggest a solution?
D Clark
#88
Posted 04 August 2008 - 11:49 PM
insaini, on Jun 30 2008, 05:02 PM, said:
I have been working on other priorities and finally got back to testing your contribution. I found an error in the way cookies were configured in my test site, it is fixed now and your contribution works great. Thanks for your support during my fumbling.
I found a couple of small items missing in the INSTALL.htm as follows:
Open admin/includes/classes/order.php +++++++++++++++++++++++++++++++++++++++++++++++++++ Comment: 'shipping_method' is missing in INSTALL.htm Find: 'orders_status' => $order['orders_status'], Add AFTER: 'cp_tracking' => $order['cp_tracking'], 'shipping_method' => $shipping_method, // missing in INSTALL.htm
Open /admin/includes/languages/english.php +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comment: missing in INSTALL.htm
Find:
the last define('IMAGE_XXXXXXXXXX', 'YYYYYYY');
Add AFTER:
define('IMAGE_ORDERS_SHIP', 'Create Canada Post Shipping Label');
I have made changes to admin/orders.php by moving the shipping_label button on the Edit page next to the tracking_number input box. I also added tracking and label buttons. The 3 buttons will only display if the required information is in the order. I did this so that my wife wouldn't be confused when or when not to create a shipping label for her orders. If you are interested in the code please let me know and I will email it to you.
Thanks again for the wonderful contribution and support.
Regards,
Byron
#89
Posted 11 August 2008 - 09:10 AM
Thank you,
Tooth
#90
Posted 15 August 2008 - 04:37 PM
Step 7. Error: Failed check in /home/paulworks/public_html/catalog/admin/includes/languages/english/ship_canadapost.php at line 9. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module.
This is the latest version of the shipping labels module and it doesn't give any additional information. What is Step 7 supposed to be doing and how do I fix it?
Any help would be greatly appreciated.
Also, Is the Total Items Weight supposed to be automatically calculated? I have 0.000 entered in this field by default and "Change this to the Total Package Weight" beside it.
#91
Posted 15 August 2008 - 07:43 PM
huntman, on Aug 15 2008, 12:37 PM, said:
Step 7. Error: Failed check in /home/paulworks/public_html/catalog/admin/includes/languages/english/ship_canadapost.php at line 9. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module.
This is the latest version of the shipping labels module and it doesn't give any additional information. What is Step 7 supposed to be doing and how do I fix it?
Any help would be greatly appreciated.
Also, Is the Total Items Weight supposed to be automatically calculated? I have 0.000 entered in this field by default and "Change this to the Total Package Weight" beside it.
I was able to fix the problem with Step 7. Now I have a new question.
During the checkout process, I am getting an error (XML parsing error) under Canada Post shipping. Prior to fixing the above problem the Canada Post shipping showed properly during checkout. I haven't been able to figure out why its not working now.
Edited by huntman, 15 August 2008 - 07:47 PM.
#92
Posted 21 August 2008 - 11:29 AM
huntman, on Aug 15 2008, 03:43 PM, said:
During the checkout process, I am getting an error (XML parsing error) under Canada Post shipping. Prior to fixing the above problem the Canada Post shipping showed properly during checkout. I haven't been able to figure out why its not working now.
Hmm.. step 7 i believe is payment issue..
did you add a credit card to your canadapost sellOnline account? you have to store the alias to that card which is usually the first 4 digits followed by 8 asterisks and then the final 4 digits.. and of course the cvv from the back must also be stored in your shipping module configuration.. im assuming you did this and the payment proceeded..
but why you are getting an xml error.. that im not sure of.. do you know which line its happening on? sorry I dont check this that offen.. if you have a problem you can email directly at webmaster AT insaini DOT com.
The total weight of the package is supposed to be retrieved from the stored shipping method chosen by the customer.. the value of the weight is stored and then parsed back by the shipping labels software when its time to print a label.. if it doesnt ship up thats because it wasnt stored correctly.. and if you are using my shipping module then it should be .. there might be another problem.. just have to debug it through..
J
#93
Posted 21 August 2008 - 11:31 AM
tooth, on Aug 11 2008, 05:10 AM, said:
Thank you,
Tooth
yes the module will function without the shipping labels software.. it will store the package size, shipping method chosen, weight, and then ofcourse the cost of shipment..
J
#94
Posted 21 August 2008 - 11:33 AM
bjcworks, on Aug 4 2008, 07:49 PM, said:
I have been working on other priorities and finally got back to testing your contribution. I found an error in the way cookies were configured in my test site, it is fixed now and your contribution works great. Thanks for your support during my fumbling.
I found a couple of small items missing in the INSTALL.htm as follows:
Open admin/includes/classes/order.php +++++++++++++++++++++++++++++++++++++++++++++++++++ Comment: 'shipping_method' is missing in INSTALL.htm Find: 'orders_status' => $order['orders_status'], Add AFTER: 'cp_tracking' => $order['cp_tracking'], 'shipping_method' => $shipping_method, // missing in INSTALL.htm
Open /admin/includes/languages/english.php +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comment: missing in INSTALL.htm
Find:
the last define('IMAGE_XXXXXXXXXX', 'YYYYYYY');
Add AFTER:
define('IMAGE_ORDERS_SHIP', 'Create Canada Post Shipping Label');
I have made changes to admin/orders.php by moving the shipping_label button on the Edit page next to the tracking_number input box. I also added tracking and label buttons. The 3 buttons will only display if the required information is in the order. I did this so that my wife wouldn't be confused when or when not to create a shipping label for her orders. If you are interested in the code please let me know and I will email it to you.
Thanks again for the wonderful contribution and support.
Regards,
Byron
Im happy it worked out for you.. you can if you like (as i dont have much time anymore) .. make the changes repackage and upload the changes.. or you can email me the changes and I can do it when I have some time..
J
#95
Posted 03 September 2008 - 08:16 PM
Thanks in advance.
#96
Posted 06 September 2008 - 03:34 AM
Is my only option to use a redirect through my Hostgator account? Can I use another port besides 30000?
#97
Posted 10 September 2008 - 09:39 PM
Bors, on Sep 3 2008, 04:16 PM, said:
Thanks in advance.
#98
Posted 15 September 2008 - 12:46 AM
Edited by akyboy, 15 September 2008 - 12:48 AM.
#99
Posted 05 November 2008 - 09:23 PM
I have a small problem with the automated labels.
When I click on the button SHIP I get a blank empty page.
No errors, nothing at all.
Do you have any idea why for?? could be because of libcURL problem....
My host is IXWEBHOSTING.com
I'm affraid to ask them anything about the libcurl because last time I asked them to enable the port 30000, all the site was down for 2 days.
Thanks in advance
Christian
#100
Posted 06 November 2008 - 11:50 PM
christianorfali, on Nov 5 2008, 05:23 PM, said:
When I click on the button SHIP I get a blank empty page.
No errors, nothing at all.
Do you have any idea why for?? could be because of libcURL problem....
My host is IXWEBHOSTING.com









