Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Please


XCCreations

Recommended Posts

i have tried and tried to get my USPS module working i need some serious help.

 

 

I followed all this

USPS Real Time Shipping Module:

USPS Methods for OSCommerce 2.2 MS2

AUTHOR: Brad Waite ([email protected])

 

VERSION: 2.72

 

OVERVIEW:

This module connects directly to the USPS website to extract real time live shipping quotes, while allowing you to select which shipping methods you wish to offer your customers. This requires you to have registered for a free USPS account.

 

To sign up for an account, please follow these steps:

 

1. Go to http://www.uspsprioritymail.com/et_regcert.html and complete registration.

 

You will receive an email confirmation with your ID and password, but only for

TESTING.

 

2. Reply to the message indicating you want to go live. Say something

like this:

 

"Please enable for production immediately, we are operating on a platform

that has already tested the API."

 

Then, usually within 24 hours, USPS sends you a message like this:

 

"Congratulations on completing your testing using the U.S. Postal Service's

Internet Shipping Application Program Interfaces (APIs). Your profile has

been updated to allow you access to the Production Server."

 

After you receive this confirmation you are ready to install USPSMethods.

 

3. Click on the INSTALL button to install the USPS Methods module.

 

4. Click the EDIT button and follow the configuration instructions below.

 

 

CONFIGURATION OPTIONS:

1. Account Login: Enter your USPS User ID and password.

 

2. Server: Set your server option to production.

 

3. Handling Fee: If you would like to charge a handling fee, enter it here without the $ sign. Example: 5.00

 

4. Shipping Zone: Select the zone you want to offer UPS shipping to. To allow this method for everyone, leave the default.

 

5. USPS Options: Check the options available to display weight and transit time to your customers.

 

6. Shipping Methods: Check the shipping options you wish to offer your customers.

 

7. Update: Click the UPDATE button and you are done!

 

NOTE: Any options not mentioned above are optional.

 

BUGS / TROUBLESHOOTING:

NOTE: SELECTING ANY GIVEN SHIPPING METHOD DOES NOT ENSURE IT WILL BE AVAILABLE TO YOUR CUSTOMERS. USPS RETURNS A SET OF POSSIBLE SHIPPING METHODS DEPENDING ON POINT OF ORIGIN AND DESTINATION, AND THIS CONTRIBUTION MERELY FILTERS THEM SO THAT NON-SELECTED METHODS ARE NOT PRESENTED TO THE CUSTOMER

AS CHOICES.

 

IF YOU DO NOT ENABLE ENOUGH SHIPPING METHODS, IT IS QUITE POSSIBLE A CUSTOMER WILL NOT BE ABLE TO COMPLETE HIS/HER ORDER. ENABLE AS MANY METHODS AS MAKE SENSE BASED ON THE NATURE OF YOUR STORE'S MERCHANDISE, AND THE DESTINATIONS YOU SEEK TO ACCOMODATE.

 

Make sure you have set your store's country and postal code in admin -> Configuration -> Shipping/Packaging, as these are used in the rate quote request and if not valid will cause an error.

 

To research persistent errors or to satisfy raw curiosity, you can enable an embedded hook in the catalog/includes/modules/shipping/usps.php script that sends an email containing the rate quote response from USPS.

 

The email text will be in XML format, but careful examination will reveal useful details. Find the commented statement at line 270, insert your correct email address in place of "[email protected]" in both places it occurs, and remove

the leading "//" characters that make the line a comment.

 

Restore the comment characters after you have tested using this hook. If you don't receive any email after testing with this hook, that may indicate a failure in http socket handling on your server.

 

 

 

but no luck for me please help!!!

Link to comment
Share on other sites

When asking for help, it's usually best to describe exactly what went wrong. And where. And what any error messages say.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Link to comment
Share on other sites

Ask your web host to open port 80 for you. If it is on your desktop computer(still testing) then try turning the firewall off and see if that helps.

Link to comment
Share on other sites

port 80 is open and what would my firwall have to do with a program running on a server at my hosting company.

 

Thats like saying why cant I drive a boat on the freeway...

 

If you are running it locally, the problem could be your ISP blocking the port so you can't run a server. (even if you are testing, this is what you are doing)

 

Firewall software often blocks certain ports for security.

 

If its an issue with the setup on the production server, then you need to look at one of the following.

 

The admin has that port blocked for security reasons. They should be able to tell you this freely.

 

You've misconfigured something.

 

You have not setup an account with USPS to get the information in question from their server. (CONTACT USPS)

 

Their server information has changed. (CONTACT USPS or google for the new info)

 

Thomas Keats

 

P.S. Oh yea, and don't forget to check your store address. Make sure its got the right US Mailing address your shipping from.

A signature is something that reflects its user. - The dictionary

 

The question is not, 'to code, or not to code'

the question is, 'if we do not code, are we really alive?'

-- anonymous

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...