Commit graph

44 commits

Author SHA1 Message Date
Colin Kuskie
9e5c83dddb Update USPS International driver to V2 API and fix insurance. 2014-11-10 14:48:02 -05:00
Colin Kuskie
a5c6520a56 Update USPS ShipDriver to V4. Fixes bug #12455 2014-10-29 18:53:47 -04:00
Colin Kuskie
f4b733c292 Update the USPS International driver for the newest USPS IMM. Fixes bug #11757. 2010-08-02 09:04:39 -07:00
Colin Kuskie
bfa862b80d Decrease connection timeout on USPS shipping drivers. Fixes bug #11374 2010-01-26 10:55:39 -08:00
Colin Kuskie
d04d457d44 Fix several countries whose addresses were rejected by the USPS International ship driver. Fixes bug #11359.
Also, update two countries in Form::Country
2010-01-18 19:59:50 -08:00
Colin Kuskie
cc0cc0ba64 Have the USPS shipping driver accept ZIP+4, even if USPS doesn't. 2009-11-28 19:23:35 -08:00
Colin Kuskie
f3e699e9a7 Retrofit UPS to use Locales instead of Locales::Country. Fixes bug #11221
Updated tests, module, gotcha.txt, and testEnvironment.pl
2009-11-17 09:37:05 -08:00
Colin Kuskie
0a3836bde3 Add non-numeric package check to USPS driver. 2009-11-07 12:58:49 -08:00
Colin Kuskie
e647c013b9 Add a few more tests to hit coverage. Check for non-numeric package IDs. 2009-11-07 12:56:43 -08:00
Colin Kuskie
bfc05ddc7a Fix a bug in error reporting based on returned XML data. 2009-11-06 21:23:22 -08:00
Colin Kuskie
9206a0b80f Add insurance option. 2009-11-06 21:21:20 -08:00
Colin Kuskie
6543ed5027 All tests passing, able to talk to USPS and get rates for multiple package configurations. 2009-11-06 19:43:12 -08:00
Colin Kuskie
c1f7788309 Copy tests from USPS. Add insurance back to the International driver. Reverse the country check. 2009-11-05 15:33:17 -08:00
Colin Kuskie
15514cb97a Begin international USPS shipping driver. 2009-11-05 12:50:00 -08:00
Colin Kuskie
63b797c875 Format oz in the USPS shipping driver to the nearest tenth of an oz. Change the minimum to be 0.1 oz 2009-11-05 12:38:56 -08:00
Colin Kuskie
ad2376fe4e Set a minimum package weight for USPS shipments. Handle per package errors. 2009-11-05 09:05:00 -08:00
Colin Kuskie
c871c0372d The current USPS driver only works on domestic shipments. 2009-11-05 08:18:10 -08:00
Colin Kuskie
fc6acc7be3 Change how the shipping driver throws errors. Fixes bug #11202. 2009-11-04 14:08:42 -08:00
Colin Kuskie
deff69ae14 Merge commit 'ups-driver/master' 2009-11-03 20:37:53 -08:00
Colin Kuskie
23b1cb47c5 Parse tests, handling spaces. 2009-10-10 16:27:33 -07:00
Colin Kuskie
4ef66d1a51 More tests, refactor out rate parsing code. 2009-10-10 15:06:13 -07:00
Colin Kuskie
829c8ce9d8 USPS Insurance estimation code and tests. Basically working. 2009-10-09 16:28:20 -07:00
Colin Kuskie
5c84eb9306 Finish building insurance calculation method. Needs tests. 2009-10-07 22:16:30 -07:00
Colin Kuskie
e81ec9718c Cleanup previous attempt at insurance. Begin new attempt.
Add a field to the driver where the user can enter in insurance data with i18n.
Add a method to calculate the cost of insurance for all packages.
2009-10-07 19:53:43 -07:00
Colin Kuskie
2b4bfb8eec Test whether ValueOfContents works in Domestic rate estimates. 2009-10-07 19:53:43 -07:00
Colin Kuskie
4ee1f56aa3 Add UI and i18n for USPS insurance. 2009-10-07 19:53:42 -07:00
Colin Kuskie
ff55ab1493 For USPS priority service, add another container type. 2009-09-06 20:23:12 -07:00
Colin Kuskie
fe63bccea9 Clip lowside weight at 0.1 lbs. Otherwise UPS will gripe at you. 2009-08-10 13:33:40 -07:00
Colin Kuskie
4b2d943e87 fix a typo in the definition. It should be residentialIndicator. 2009-07-30 15:33:39 -07:00
Colin Kuskie
b7b86fd248 Add residential property to driver. Add test for quantity checking. 2009-07-21 15:53:00 -07:00
Colin Kuskie
cc7b28ecce Add customer classification field to the driver, i18n, tests. 2009-07-08 21:11:15 -07:00
Colin Kuskie
86be7f2abc Use the correct classes for Exceptions. Use the correct parameter for shipping code. 2009-07-08 15:46:13 -07:00
Colin Kuskie
17681a3fb5 Add UPS shipping driver. 2009-05-28 09:04:15 -07:00
Colin Kuskie
cbdd6077d5 Add USPS Shipping Driver with tests, and i18n.
Change the Ship, Cart to do exception handling when calling a shipping driver,
as that's the message passing interface between the modules.
Add a noFormProcess field property that is recognized by processPropertiesFromFormPost.
2009-05-12 23:58:19 +00:00
Colin Kuskie
db290f91f9 Add an option to the Sku to require individual shipping of this sku, separate
from other items in the cart.  Update the FlatRate driver to support calculating that.
2009-04-29 16:52:16 +00:00
Colin Kuskie
c0b9bdcc43 Fix a bug with shipping costs as a percentage of weight. Build
a test to test the fix.
2008-10-07 22:43:22 +00:00
Colin Kuskie
79dc7757a6 fix syntax error in FlatRate, calculate 2008-03-17 17:46:28 +00:00
JT Smith
e6d42bd219 added shipping calculation for flat rate 2008-03-13 13:57:44 +00:00
JT Smith
819552ce06 finally got shipping driver management working 2008-03-12 23:18:04 +00:00
JT Smith
e4d76f0b3b very close to having ship driver management working 2008-03-08 00:11:09 +00:00
Colin Kuskie
df47d0a07c Add more POD to Pluggable.
Add more POD to FlatRate.pm, for the to be written calculate method.
Build create and new methods for Ship, convert existing code to throw exceptions.
Tests for Ship, that look suspiciously similar to ShipDriver.
2008-02-28 23:22:55 +00:00
Colin Kuskie
ea500fd1b2 Conver the FlatRate shipping driver to use exceptions. 2008-02-28 17:00:34 +00:00
Colin Kuskie
640554ea14 Finish out the FlatRate driver, with tests and i18n.
Fix bugs found in ShipDriver by building a driver.
2008-02-25 22:36:10 +00:00
Colin Kuskie
fc060962e8 Interim checkin.
FlatRate needs i18n and more tests.
2008-02-25 05:51:43 +00:00