Commit graph

219 commits

Author SHA1 Message Date
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
d14fcd963c Fix test plan for SKIPS. 2009-11-15 20:36:30 -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
9206a0b80f Add insurance option. 2009-11-06 21:21:20 -08:00
Colin Kuskie
0b483521e8 Update tests for new driver. 2009-11-06 20:15:09 -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
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
977f0273f9 Note XML for per package errors. 2009-11-05 09:03:50 -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
b4112e8d3d Update tests for UPS driver. Cleanup diags. 2009-11-03 20:57:53 -08:00
Colin Kuskie
deff69ae14 Merge commit 'ups-driver/master' 2009-11-03 20:37:53 -08:00
Colin Kuskie
b3858ef250 Fix bug #10914.
Move email notifications about of PayDriver and into Transaction.  Send
a notification when the cart value is 0 due to shop credit.
2009-10-13 16:37:20 -07:00
Colin Kuskie
993f6d0cc2 Use the new Shop cleanup for carts and shipping drivers. 2009-10-10 16:51:57 -07: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
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
e5ead13da3 Force the user to pick a shipping method before checking out. Implements RFE #10940
If there is only 1 shipping method, automatically choose it.  Displays
an message to the user if they have an address, but no shipping method.
2009-09-28 10:04:52 -07:00
Colin Kuskie
5144dfa04f More test cleanups. 2009-09-25 19:35:23 -07:00
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Colin Kuskie
43f6dced9b Fix a bad plan in the AddressBook test. 2009-09-22 09:19:12 -07:00
Colin Kuskie
323edd888e More tests for bug fix #11009.
Abstract out making a session in WebGUI::Test.  Update POD
in Shop/Address.  Add tests for newBySession, showing that
the previous commit that allows update to update addressBookId
actually fixed the bug in question.
2009-09-21 19:44:43 -07:00
Colin Kuskie
f2e8d6a70b Allow addressBookId to be updated in an Address.
This is required for Address Book merging to work correctly in
Shop::AddressBook->newBySession.
2009-09-21 17:27:25 -07:00
Graham Knop
464d0c2850 correct test quantity for USPS ship driver 2009-09-16 19:11:23 -05:00
Colin Kuskie
ff55ab1493 For USPS priority service, add another container type. 2009-09-06 20:23:12 -07:00
Colin Kuskie
e9e2155254 Handle UTF8 in XML data sent to ITransact. Adds a test. Fixes bug #10855. 2009-09-01 15:42:39 +00:00
Colin Kuskie
6d393fe269 Make Ogone.t test for its own name. 2009-08-31 21:30:54 +00: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
33d2914c28 More test maintenance for Payment drivers. 2009-07-23 20:57:51 +00:00
Colin Kuskie
f2a295dc21 Update for recent code swizzle. 2009-07-23 20:52:51 +00:00
Colin Kuskie
b7b86fd248 Add residential property to driver. Add test for quantity checking. 2009-07-21 15:53:00 -07:00
Colin Kuskie
6b2935305f Update Ogone tests for new driver code. 2009-07-20 15:37:08 +00:00
Colin Kuskie
dc226e3268 canUse should check whether the driver is enabled or not.
PayDrivers update the local object cache on update.
2009-07-20 15:31:32 +00:00
Colin Kuskie
8dcd511a8b Update tests for modified code, and for CSRF checks. 2009-07-16 22:35:49 +00:00
Colin Kuskie
cc7b28ecce Add customer classification field to the driver, i18n, tests. 2009-07-08 21:11:15 -07:00
Colin Kuskie
70cc313e1e Adjust test to match code. Only catch exceptions of WebGUI::Error type. 2009-07-08 15:48:54 -07:00
Colin Kuskie
a85924d07b Add group privilege checking to the Shipping Drivers 2009-06-18 23:24:33 +00:00
Colin Kuskie
17681a3fb5 Add UPS shipping driver. 2009-05-28 09:04:15 -07:00
Colin Kuskie
9a6a2e4549 Update this test to account for the new driver. 2009-05-19 22:16:57 +00:00
Martin Kamerbeek
bfc140a365 Improved and templated VAT Number management. 2009-05-15 17:20:49 +00:00
Martin Kamerbeek
489313a0b9 Adding Ogone payment plugin 2009-05-15 13:29:04 +00:00
Colin Kuskie
8d371b320c Update this test for adding a new PayDriver. 2009-05-14 03:43:24 +00:00
Colin Kuskie
53e3f5b2a7 Better cart cleanup, so it also removes the CartItems. 2009-05-14 02:06:59 +00:00
Colin Kuskie
6dafc0b99b Cleanup the sku created for testing.
Use the new WebGUI::Test->usersToDelete for user cleanup.
2009-05-14 01:48:26 +00:00
Colin Kuskie
b877e8fa05 Add a basic test for the PayPalStd driver. 2009-05-13 23:47:05 +00:00
Colin Kuskie
3f8abbc29d Update this test to work with the new USPS driver. 2009-05-13 03:01:31 +00: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