Commit graph

260 commits

Author SHA1 Message Date
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
Martin Kamerbeek
7fb87de71d Added the methods for the pluggable tax system that add templ vars to the cart and cart items. 2009-05-08 13:34:42 +00:00
Martin Kamerbeek
9d90b92629 Tax details are now stored with the transaction items they belong to. 2009-05-08 10:03:25 +00:00
Martin Kamerbeek
461c80a6b8 Pluggable Tax: more POD, more tests, better code and less bugs 2009-05-06 13:33:16 +00:00
Colin Kuskie
d7f2aca1e4 Test clean-up for users and groups in Shop/Vendor and all Macro tests. 2009-04-30 23:57:39 +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
a75cd108b1 Add back code for throwing exceptions when session is not passed
to class methods.
2009-04-24 03:47:40 +00:00
Graham Knop
f1759f5cd5 fixing lib paths on some tests 2009-04-23 16:22:17 +00:00
Martin Kamerbeek
c851465bd1 More Tax tests 2009-04-23 10:40:01 +00:00
Martin Kamerbeek
fea09cb7bd Fixed Tax.t tests. The file that contains them should be renamed to TaxDriver/Generic.t. Will do so when I add the tests for the other taxing
components.
2009-04-18 07:35:14 +00:00