If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Shipping Modules / USPS RateV4 Intl RateV2 - January 27, 2013 Updates to: March 13, 2013 Version A

USPS RateV4 Intl RateV2 - January 27, 2013 Updates to: March 13, 2013 Version A

Locked

Started by ajeh on 13 Mar 2013, 11:51 PM · Views: 11,643

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
13 Mar 2013, 11:51 PM
#1
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #1 by ajeh

USPS RateV4 Intl RateV2 - January 27, 2013 Updates to: March 13, 2013 Version A is currently a test module, and will hopefully be the final USPS shipping module for the January 27, 2013 rate changes ...

Please let us know the results of your testing.

NOTE: At this time the TEST Server does not work on this shipping module.

NOTES:

Rates are quoted ONLY for those methods that are checked.

USPS minimum Length, Width and Height are only included for obtaining International Rate Quotes. Dimensions are NOT supported by this shipping module.

Minimum Weight and Maximum Weight per shipping method will enable/disable the methods based on the total weight.

Handling has both Global National and International fees per Box or per Order. In addition, individual Handling Fees per order can be added for each shipping method.

Extra Service charges for National and International are available where applicable.

Quotes can be obtained based on Retail or Online pricing.

Debug logs can be saved to the /logs directory, when enabled to review quote request sent to USPS and quote received back from USPS.

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Mar 2013, 2:06 PM
#2
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #2 by rixstix

OOPS. short circuit between the ears.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

14 Mar 2013, 2:29 PM
#3
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #3 by rixstix

Regional Rate box A selected in setup as an offering.

Regional Rate box A quote does not appear in the shipping estimator quote

838357145705REGIONALRATEBOXAREGULAR7 Priority Mail Regional Rate Box A0.008.901Insurancefalsetrue01.95truefalse13USPS Tracking/Delivery Confirmationtruetrue0.000.0015Signature Confirmationtruetrue2.702.2019Adult Signature Requiredfalsetrue04.9520Adult Signature Restricted Deliveryfalsetrue05.15

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

14 Mar 2013, 2:32 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #4 by ajeh

Are you set to Retail or Online?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Mar 2013, 2:47 PM
#5
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #5 by rixstix

Darn. Think I'm helping and instead just show my own ignorance.

:oops: again

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

14 Mar 2013, 2:52 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #6 by ajeh

Best way to learn is to goober up ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Mar 2013, 1:57 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #7 by ajeh

Hi Rick ...

Have you managed to break anything else on this New USPS RateV4 shipping module for the January 27, 2013 changes?

Anyone else break anything or confirm that this is working for you? :lookaroun

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Mar 2013, 2:20 PM
#8
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #8 by rixstix

I didn't have much time last week for anything other than a quick install to our sandbox. I can try to break it today/tomorrow if that will help or if you want it?

Currently, we make extensive use of Marco's volume filtering option for firstclass & flatrate boxes but realize there is going to come a time when I will not be able to cobble together things to keep it working. That may be when I finally upgrade from 1.3.9h in a few months.

You added a few options that looked really nice. More detailed checks later today.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

16 Mar 2013, 2:41 PM
#9
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #9 by rixstix

Hi Linda,

Just started with a few examples in our sandbox. I see a few glitches in the calculations but give me a bit today/tomorrow to figure out the what/when/where/why and then make a list instead of onesy/twosy here.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

16 Mar 2013, 3:31 PM
#10
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #10 by rixstix

Here's what I came up with. I call myself checking to make sure that other options that affect calculations were not set but I could be mistaken.

Handling fee: US and International

US: Handling fee set @ $5
1st line displayed adds $5
2nd line displayed adds $10
3rd line displayed adds $15
4th line displayed adds $20
etc.
Same for shipping quote or during checkout
Same whether logged in or not
Same whether retail or online

International:
First class USPS letter or package appears to add 18 times the International fee
Flat rate appears to add 10 times the International fee

Housekeeping
formatting of individual handling fees:
$ sign being on a different line instead of beside the fee input field is hard on my eyes but doesn't affect functionality.

Personal preference
I quote retail pricing to customers but also use Regional rate boxes as an option. Setup doesn't allow for this condition but you cannot please everyone. Ahah.... set online pricing and place the appropriate adder into the individual flat rate handling fee boxes and all becomes OK.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

16 Mar 2013, 3:39 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #11 by drbyte

RixStix:

Here's what I came up with. I call myself checking to make sure that other options that affect calculations were not set but I could be mistaken.

Handling fee: US and International

US: Handling fee set @ $5
1st line displayed adds $5
2nd line displayed adds $10
3rd line displayed adds $15
4th line displayed adds $20
etc.
Same for shipping quote or during checkout
Same whether logged in or not
Same whether retail or online

International:
First class USPS letter or package appears to add 18 times the International fee
Flat rate appears to add 10 times the International fee
Try changing the "+=" to just "=" on the two lines in this section around line 361:```
if ($order->delivery['country']['id'] == SHIPPING_ORIGIN_COUNTRY || $this->usps_countries == 'US') {
// domestic/national
$usps_handling_fee [B]+=[/B] MODULE_SHIPPING_USPS_HANDLING;
} else {
// international
$usps_handling_fee [B]+=[/B] MODULE_SHIPPING_USPS_HANDLING_INT;

Does that fix your handling fee duplication issues?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Mar 2013, 4:32 PM
#12
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #12 by rixstix

DrByte:

Does that fix your handling fee duplication issues?

Yes, that change eliminated that handling fee duplication.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

16 Mar 2013, 5:25 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #13 by drbyte

RixStix:

Yes, that change eliminated that handling fee duplication.
Great!

RixStix:

Housekeeping
formatting of individual handling fees:
$ sign being on a different line instead of beside the fee input field is hard on my eyes but doesn't affect functionality.Not sure exactly what you mean here.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Mar 2013, 6:18 PM
#14
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #14 by rixstix

$ on the line above the input field instead of to the left of the input field.

Petty, probably.

Attachment 12179

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

16 Mar 2013, 6:25 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #15 by ajeh

Odd seems to do this in IE and not FireFox ... thanks for the update ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Mar 2013, 6:27 PM
#16
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #16 by rixstix

That pic was a snip from FireFox 19.0.2

Actually worse in Chrome & Safari

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

16 Mar 2013, 6:28 PM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #17 by ajeh

Try changing line 1300:

    $string .= '<div style="width:[B]60[/B]px;float:right;text-align:center;">$' . zen_draw_input_field($name, current($key_values), 'size="4"') . '</div>';

Does this fix it for you?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Mar 2013, 6:35 PM
#18
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #18 by rixstix

Looks great in FF & IE9

Chrome & Safari (I don't use either) still looks buggered up w/that issue and overlapping text/input boxes (at least the setup on my monitor)

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

16 Mar 2013, 6:41 PM
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #19 by ajeh

Try changing all the:
width:50px

to read:
width:60px

in that function ... does that clear things up for you?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Mar 2013, 7:00 PM
#20
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Post #20 by rixstix

Can't say that I see any difference when all the

width:50px

changed to read:
width:60px

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com