Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USPS does not change rate in Checkout


Mr. Ree

Recommended Posts

Greets,

 

If anyone has installed the new checkout could you be so kind as to test the USPS module on your site. Mine will relay the Express Mail rate regardless of what rate the customer selects.

 

EX. "United States Postal Service (1 x 0.275lbs) (Express Mail): $15.65USD " when Priority was selected at $5.85.

 

The UPS module functions fine and reports the correct rate. It is only the USPS selection that does not function properly.

 

And yes, I am a registered user of the USPS and have used the module with no problems in the pre Nov. 1 checkout procedure.

 

Many thanks!

 

Mr. Ree

Mr. Ree

How to find answers to OSC Common Questions

1. Look at http://wiki.oscommerce.com

2. Search http://www.oscommerce.com/forums/

3. Post a request in http://www.oscommerce.com/forums/

Link to comment
Share on other sites

me and trusten have the same problem

i think its a bug in oscommerce and not with usps

 

also i made a figure myself

for the table shipping rate

 

meanig price from 0-10 is 1.99 10-20 = 2.99 etc

 

10:1.99,

20:2.99,

30:3.99,

40:4.99,

50:5.99,

65:6.99,

80:7.99,

100:8.99,

120:9.99,

150:10.99,

180:11.99,

200:12.99,

300:13.99,

400:14.99,

500:15.99,

600:16.99,

700:17.99,

800:18.99,

900:19.99,

1000:20.99

Link to comment
Share on other sites

Hi,

 

I was having this problem even with UPS module, everytime it shows the rate of UPS Ground inspite what the shopper selects, I made the following modification in checkout_shipping.php and its working fine. :)

 

checkout_shipping.php Line 260:

 

<td class="main" align="right" colspan="2"><?php echo $currencies->format($quotes[$i]['methods'][$j]['cost']) . tep_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></td>

 

Change to:

 

<td class="main" align="right" colspan="2"><?php echo $currencies->format($quotes[$i]['methods'][$j]['cost']) . tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></td>

 

It may help.

 

kagg

Link to comment
Share on other sites

So is anyone else besides us three having a problen with the USPS not changing the price in the new checkout?

 

Mr. Ree

Mr. Ree

How to find answers to OSC Common Questions

1. Look at http://wiki.oscommerce.com

2. Search http://www.oscommerce.com/forums/

3. Post a request in http://www.oscommerce.com/forums/

Link to comment
Share on other sites

I also tested and confirm what Reese Ree reports: no matter which USPS shipping option is chosen at checkout_shipping.php, the express mail option is the choice when you get to checkout_confirmation.

 

Unfortunately I don't have the time to work on this one, as I am still trying to get UPS working with the XML rate quote API ...

Link to comment
Share on other sites

Thanks for the confirmation Fritz. I was afraid of that....

 

So if the problem is in the new check out code, It really needs to be addressed.

 

I have a real concern because I have advertisements appearing in three State wide magazines beginning next week to drive traffic to this store.

 

If anyone can help with this issue I would be greatly indebted, my skills are not up to par to figure this one out.

 

If you need to see what I am talking about,

go to www.artesanodesigns.com,

log in as [email protected],

password oscommerce,

and add an item to the cart. proceed with the check-out procedure selecting anything besides "Express Mail" in the USPS shipping section.

 

Continue to the checkout_confirmation.php/I'm Ready To Purchase! screen and notice the Shipping method and amount.

 

You can go back, make changes to the shipping method and it will still report the selection as "Express Mail".

 

Now, select a method of UPS shipping, it will report the correct method selected.

 

This is a live shop so I will delete any data put in under this login.

 

This leads me to believe that the error exsists in the usps.php or the checkout_shipping.php pages, however I have looked, made changes, reverted back to the original and can not find the offending code.

 

I am really getting desperate here, someone please give me some ideas.

 

Thanks to all,

Mr. Ree

How to find answers to OSC Common Questions

1. Look at http://wiki.oscommerce.com

2. Search http://www.oscommerce.com/forums/

3. Post a request in http://www.oscommerce.com/forums/

Link to comment
Share on other sites

Rats, I can not believe that I did not put the link to the catalog page in my post above instead of sending you to the main page.

 

The direct link should be http://www.artesanodesigns.com/catalog/default.php.

 

You have a nice looking site Trusten, lot's of good work there.

 

I suppose this issue may require and official bug report. Now does one go about making a bug report?

Mr. Ree

How to find answers to OSC Common Questions

1. Look at http://wiki.oscommerce.com

2. Search http://www.oscommerce.com/forums/

3. Post a request in http://www.oscommerce.com/forums/

Link to comment
Share on other sites

Thanks, you really think so?

 

took a lot of blood, sweat, tears, and sleepless nights.

 

the night i launched the site, i totally had errors so i culdn't sleep till 6 am.

 

yeah, i guess i can do a bug report in a sec.

 

 

the offer for those buttons still stans. You want 'em? tell me the color and i'll make 'em. i totally have the buttons template disected it so easy to make them now.

Link to comment
Share on other sites

damn now it wont work for me

 

Enable USPS Shipping

1

 

Enter the USPS User ID

286WKREC20

 

Enter the USPS Password

*****

 

Which server to use

test

 

is what i got

 

and the error is

 

 

United States Postal Service

An error occured with the USPS shipping calculations.

If you prefer to use USPS as your shipping method, please contact the store owner.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...