Commit graph

13435 commits

Author SHA1 Message Date
Colin Kuskie
5ad1605185 Update address tests for new code. 2010-04-29 22:25:31 -07:00
Colin Kuskie
b537bfae6b Adapt AddressBook tests for new AddressBook code. 2010-04-29 22:24:12 -07:00
Colin Kuskie
1878898d9f Add cleanup capability for AddressBooks 2010-04-29 22:24:00 -07:00
Colin Kuskie
a9dc242498 Cleanup some bad code in the TaxDriver 2010-04-29 19:05:53 -07:00
Colin Kuskie
3c868de4ea Do not show special shipping option unless user is logged in. 2010-04-29 18:36:40 -07:00
Colin Kuskie
85978eeb23 Remove totalPrice since it was in there twice 2010-04-29 18:15:24 -07:00
Colin Kuskie
295ff15491 Wrap summary price data in a span so they can be automatically updated. 2010-04-29 17:01:43 -07:00
Colin Kuskie
60f37b5036 Cart template is now large and blocky, but not so ugly. 2010-04-29 15:38:11 -07:00
Colin Kuskie
273452c024 Restore the checkout button. 2010-04-29 15:25:57 -07:00
Colin Kuskie
b186f2f713 Make the cart be able to remove items, without using Javascript. 2010-04-29 15:20:58 -07:00
Colin Kuskie
6fe302774c remove www_selectPaymentGateway, and www_checkout which are now dead code 2010-04-29 14:57:27 -07:00
Colin Kuskie
674b299069 Handle $0 checkouts. Still requires that ANY payment plugin be selected. 2010-04-29 14:51:06 -07:00
Colin Kuskie
e9313959eb Refactor out template processing code into the PayDriver module. 2010-04-29 14:31:13 -07:00
Paul Driver
c0e3ec0d58 We're shipping underscore.js now. 2010-04-29 13:06:27 -07:00
Colin Kuskie
921f03c107 Refactor out a default www_getCredentials all the way back to PayDriver, to be used by Cash and the PayPal brothers. 2010-04-29 13:02:26 -07:00
Colin Kuskie
006d1efffc Fix a double my syntax warning in Cache/CHI. 2010-04-29 13:02:05 -07:00
Colin Kuskie
179ad030db Provide a getCredentials method for both PayPal paydrivers. 2010-04-29 12:47:33 -07:00
Paul Driver
14fc385612 do not explode when there is no shipping form 2010-04-29 12:39:03 -07:00
Colin Kuskie
bdb1777875 Checking out when shipping is not required works. 2010-04-29 12:22:51 -07:00
Doug Bell
6a000fffd3 added CHI to testEnv 2010-04-29 13:24:50 -05:00
Doug Bell
42ef2c3650 add tests for CHI 2010-04-29 12:21:50 -05:00
Doug Bell
95e30aba40 add perldoc 2010-04-29 12:21:50 -05:00
Doug Bell
ecde77e2a8 add perldoc 2010-04-29 12:21:50 -05:00
Doug Bell
d073b83c9f add permissions checks for wizards 2010-04-29 12:21:50 -05:00
Doug Bell
09092a13b6 performance enhancement 2010-04-29 12:21:50 -05:00
Doug Bell
8af3eb2c69 add CHI cache module 2010-04-29 12:21:49 -05:00
Doug Bell
8e9dc4823f allow WebGUI::Cache to do more than File, Database 2010-04-29 12:21:49 -05:00
Colin Kuskie
a9578eec2c Always show a shipping selector dropdown, unless there are no shipping options available. 2010-04-28 22:51:05 -07:00
Colin Kuskie
f5ecc2f507 Add valid address checks to cart readyForCheckout. Only log missing fields if an address operation isn't occuring. 2010-04-28 22:23:07 -07:00
Colin Kuskie
cf95ff6683 Allow billingAddress to be set at the same time as the shippingAddress is set to it. 2010-04-28 20:15:26 -07:00
Colin Kuskie
131d4cb041 If shipping is required by an item in the cart, always display a shipping dropdown or option. 2010-04-28 16:09:34 -07:00
Colin Kuskie
622f1b1658 Fix a double my warning in the Cart. 2010-04-28 15:53:17 -07:00
Colin Kuskie
777edf5c32 Fix i18n syntax errors. 2010-04-28 15:51:29 -07:00
Colin Kuskie
42f89c0893 Correct update procedure for ITransact drivers. 2010-04-28 15:44:36 -07:00
Colin Kuskie
470710abb9 Update both paypal drivers for the new shop checkout procedure. 2010-04-28 15:27:08 -07:00
Paul Driver
17dd742c08 Javascript enhancements for cart address handling 2010-04-28 15:09:37 -07:00
Colin Kuskie
aedda01e58 Update Ogone driver for new Shop checkout procedures. 2010-04-28 14:57:47 -07:00
Colin Kuskie
e7942d6d68 Remove another standalone template, in preference to the whole folder. 2010-04-28 14:43:26 -07:00
Colin Kuskie
53367fffb6 Use a top-level package for the shopping cart templates. 2010-04-28 14:31:34 -07:00
Colin Kuskie
64866dd485 Update ITranasct plugin for Shop 1.5 2010-04-28 12:08:14 -07:00
Colin Kuskie
4417623947 Add a pay button to the summary screen to finish the transaction. 2010-04-28 11:50:55 -07:00
Colin Kuskie
5ebd6864cc Log cart errors for anything that prevents you from checking out. Fix an error in the PayDriver template variables. 2010-04-28 11:48:07 -07:00
Colin Kuskie
b316e84feb Cash summary template 2010-04-28 11:47:57 -07:00
Colin Kuskie
a472f9ebdd Add common cart summary template variables to the PayDriver. Add a summary screen for Cash. i18n fixes for Cash. 2010-04-28 11:19:34 -07:00
Colin Kuskie
d48d9bc90f Check for valid shipping and payment drivers for checkout. Rebuild transaction to take all info from the Cart. 2010-04-28 09:31:01 -07:00
Colin Kuskie
1ef4aa8ef0 No more getButton method in the PayDriver, it's now a dropdown in the cart. 2010-04-27 17:31:11 -07:00
Colin Kuskie
e0a9f34b53 Update readyForCheckout, shipping address is optional, must have gatewayId, too. 2010-04-27 17:29:14 -07:00
Colin Kuskie
822cac8dec Error promoted to a full cart method. Beginning to process the address forms. 2010-04-27 17:18:35 -07:00
Colin Kuskie
9365a55477 Bad code fixes, and no tax calculations without an address. 2010-04-27 13:14:53 -07:00
Colin Kuskie
7ef8de2a1f Checkout preparations. Change payment options to a dropdown in the cart. Pay->getOptions now returns just a hash. 2010-04-27 12:03:43 -07:00