USPS Shipping Labels
#1
Posted 05 March 2010 - 11:33 PM
anyone have an information about this,
1.- It is posible to print a shipping label straigth from the ADMN tool and pay for it? 2.- there is any script i have to add to usps.php ?
3.- I missing something?
3.- shall i surrender and print it from Paypal?
4.- Quit and open a Tamales Restorant?
any sggestion welcome!!
Xilo
#2
Posted 08 March 2010 - 03:31 AM
xiloicta, on 05 March 2010 - 11:33 PM, said:
3.- I missing something?
3.- shall i surrender and print it from Paypal?
4.- Quit and open a Tamales Restorant?
0.- Search "usps shipping labels" in contributions resulting in http://addons.oscommerce.com/info/1498
#3
Posted 18 March 2012 - 09:21 PM
natrium42, on 08 March 2010 - 03:31 AM, said:
0.- Search "usps shipping labels" in contributions resulting in http://addons.oscommerce.com/info/1498
It looks like this is now broken with the USPS Click and Ship Redesign
Anyone get it to work again?
#4
Posted 18 March 2012 - 11:44 PM
#5
Posted 19 March 2012 - 02:41 AM
#6
Posted 19 March 2012 - 03:20 AM
It looks like the pages have changed and the field names. Why would they do that?
krdito- that information isnt entered on USPS.com when you click to create a label, that is your existing USPS_ship.php page that populates and sends it to USPS (or what used to be there)
#7
Posted 19 March 2012 - 02:35 PM
I did a test on usps.com and now the link needs a label id which the oldway didn't need to get to the next page.
Anyone got the hot fix?
#8
Posted 19 March 2012 - 07:02 PM
#9
Posted 19 March 2012 - 08:52 PM
#10
Posted 19 March 2012 - 10:53 PM
The "contact your 3rd party vendor" is their standard response unfortunately.
The contribution will no longer function with this USPS redesign
Edited by costast2, 19 March 2012 - 10:54 PM.
#11
Posted 20 March 2012 - 11:52 AM
new to this forum, but unfortunately familiar with this issue. i've inherited support for store built from oscommerce, and yesterday, shipping labels stopped working. after some review of how things were working, i see that the form, form fields, etc. have changed. looks now like a multi-part form, etc.
has anyone experiencing this problem looked into stamps.com (comes with oscommerce module) or another way to produce USPS labels for orders? is anyone working on a fix for this module, and in need of help testing, etc.?
thanks -
gary
#12
Posted 20 March 2012 - 12:57 PM
Maybe someone can add back in all the cool variables etc from the original one. All credit goes to the past authors.
#13
Posted 20 March 2012 - 01:10 PM
a href="' . tep_href_link(FILENAME_ORDERS_USPS_SHIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' .
Change it to:
a href="' . tep_href_link('uspslabelfix.php', 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' .
then just upload the new uspslabelfix file i made
#14
Posted 20 March 2012 - 02:21 PM
Thanks
Edited by dsolutions, 20 March 2012 - 02:29 PM.
#15
Posted 20 March 2012 - 02:49 PM
I uploaded the uspslabelfix.php file to the admin directory. Instead of editing the admin/orders.php file, I edited the admin/includes/filenames.php file and replaced
define('FILENAME_ORDERS_USPS_SHIP', 'usps_ship.php');
with
define('FILENAME_ORDERS_USPS_SHIP', 'uspsshiplabelfix.php');
Now when I click on the USPS label button from the orders.php page, a new window appears with a "Ship a USPS Package" button and the order ID in the URL. When I click on the button (and after logging into the USPS.com site), no shipping info (name, address, etc) appears in the label form on USPS.com.
#16
Posted 20 March 2012 - 03:07 PM
#17
Posted 20 March 2012 - 06:23 PM
Added:
$state_query = tep_db_query("SELECT zone_code FROM " . TABLE_ZONES . " where zone_name = '" . $order->delivery['state'] . "'");
$state_abbreviation = tep_db_fetch_array($state_query);
Changed:
<input type="hidden" name="form.deliveryState" value= "<?php echo $order->delivery['state'];?>" id="stateTo">
To:
<input type="hidden" name="form.deliveryState" value= "<?php echo $state_abbreviation['zone_code'];?>" id="stateTo">
I hope that helps.
#18
Posted 20 March 2012 - 07:24 PM
#19
Posted 20 March 2012 - 07:46 PM
I like how much easier it is to print labels...available to print until midnight and the new pdf option sure is nice. NO MORE DOUBLE CHARGES so I hope.
#20
Posted 20 March 2012 - 08:36 PM
Thank you SO MUCH, Wes ...









