Jump to content


Corporate Sponsors


Latest News: (loading..)

vjwebb

Member Since 06 Jul 2006
Offline Last Active Mar 28 2012, 19:45
-----

Posts I've Made

In Topic: USPS Shipping Labels

22 March 2012, 20:37

View Postapache510, on 22 March 2012, 19:27, said:

I downloaded the update and everything works except the first and last name in the delivery address is not being populated. At least I have all the other information going through. Anyone have a fix for this?

around line 149 in usps_ship.php find:
$arr = explode(" ", $order->customer['name'], 2);

And replace it with this:
$arr = explode(" ", $order->delivery['name'], 2);

It was using the customer name instead of the delivery name. If they are the same, you don't see the problem. Thanks for the catch.

In Topic: USPS Shipping Labels

21 March 2012, 23:02

Just in case anyone else is having a problem with company name. I fixed the company name. I set up a new account with USPS that is flagged as business and it let me add a Company Name. The old version of usps_php picked up the return address values from the configuration file. The new version is using the info on the USPS account.

In Topic: USPS Shipping Labels

21 March 2012, 19:18

I have it working although it is not picking up my Company Name (it used to). I think the problem may be that my USPS account is personal and not business. I have sent them an email asking how to fix the problem. I can go into edit mode after the fields are filled in and add the name but that is time consuming. At least I don't have to enter the shipping address.

I would like to thank everyone for all the hard work. I still can't believe that our tax dollars are being used to change the shipping page into a frilly hard to read page. No wonder the post office is losing money.

In Topic: USPS Shipping Labels

21 March 2012, 00:38

Can someone please tell me where in orders.php that I put the following line of code.

<?PHP include('uspslabelfix.php');?>

Wes said it goes just before the </td> but I must not be finding the right one, because I am getting an error.

Thank you and a grateful thanks to Wes for solving the problem.

In Topic: USPS Shipping Labels

19 March 2012, 20:52

I have been having an email conversation with USPS and their response is that the redesign didn't have any effect on the API. They keep telling me to contact my 3rd party vendor. However, I don't have a 3rd party vendor. Does anyone have any suggestions other than to check out shipping via Fedex or UPS?