Colin Kuskie
1453900e01
renamed www_view to www_manage, and added more JS
2008-03-20 05:17:33 +00:00
Colin Kuskie
ff61a8e50a
Cache the main cart address tax info.
...
Build some more JS for the view Tax screen.
2008-03-19 23:31:14 +00:00
JT Smith
309b16ca09
trying to add more exceptions
2008-03-19 23:23:51 +00:00
JT Smith
1cb43b13af
update tests to match new code
2008-03-19 22:30:41 +00:00
JT Smith
3e6687ef7f
updated tests for sku and fixed problems
2008-03-19 22:00:58 +00:00
JT Smith
2a2e683dd9
made event handlers for cart/sku
...
created baseline emsbadge and emsticket
added completePurchase() and denyPurchase() utility methods for transaction
2008-03-19 20:18:00 +00:00
Colin Kuskie
f3fd67378f
Add a SQL method for building searchable queries.
...
Add tests for that method.
Convert Shop/Tax and Shop/Transaction to use that for their JSON generating methods.
2008-03-19 19:35:43 +00:00
Colin Kuskie
d11899cf19
Fix a typo in the Paginator POD.
2008-03-19 19:33:18 +00:00
Colin Kuskie
875187ee74
Fix the Shop/Transaction tests for JSON.
...
Convert Shop/Transaction and Shop/Tax to use buildDataTableStructure.
Change SQL.pm to return a hash instead of a hashref for buildDataTableStructure.
2008-03-19 04:45:02 +00:00
Colin Kuskie
4db53bb8ed
Reformat the JSON test for Shop/Tax.t
...
Add JSON tets to Shop/Transaction.t
Reindent several methods in SQL/ResultSet.pm
add a method for returning a YUI Data Table structure to SQL.pm
2008-03-19 04:33:24 +00:00
Colin Kuskie
94b03aa3f5
Fix a bug in the json method for getting tax data.
...
Tests for the json method.
A LOT of California tax data for testing.
2008-03-18 23:34:35 +00:00
JT Smith
a838b340c0
fixed a pagination problem
2008-03-17 23:13:27 +00:00
JT Smith
24007eefc4
started adding view transaction page
2008-03-17 22:58:10 +00:00
JT Smith
2d8210bb78
fix a submit problem, add some comments
2008-03-17 22:23:06 +00:00
JT Smith
23e78726c7
fixed leftover api error
2008-03-17 20:47:34 +00:00
JT Smith
4debcec7a0
added transaction searching
2008-03-17 20:28:51 +00:00
JT Smith
d2684f466b
added clarity
2008-03-17 19:00:43 +00:00
JT Smith
232cc9fd1d
added documentation on how to access the shop modules via a url
2008-03-17 18:58:48 +00:00
Colin Kuskie
79dc7757a6
fix syntax error in FlatRate, calculate
2008-03-17 17:46:28 +00:00
JT Smith
c61890392c
added basic quantity checking for inventory management, and a dateAdded field to the cart in case we need to monitor how long items have been in the cart
2008-03-17 17:33:54 +00:00
JT Smith
537824fdc9
fixed some bugs, added human friendly order number to transactions
2008-03-17 17:02:27 +00:00
JT Smith
fb17e6375e
started on transaction management interface
...
finished merging new yui
2008-03-15 19:39:19 +00:00
JT Smith
02199ff58c
transaction backend and tests complete
2008-03-14 22:39:38 +00:00
Martin Kamerbeek
c2c258400d
Adding the getCart method to PayDriver.pm
2008-03-13 21:18:05 +00:00
JT Smith
7c184b26c3
added getCartBySession()
2008-03-13 21:15:56 +00:00
JT Smith
d47d2f2a9c
a couple new methods to make things easier
2008-03-13 20:31:32 +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
Martin Kamerbeek
b8d9d38da6
Require a label to be passed to WebGUI::Shop::Pay->addPaymentGateway
2008-03-11 16:54:20 +00:00
Martin Kamerbeek
60362cb747
- Added tests for Pay
...
- Fixed some tests/code for PayDriver
- Added i18n for PayDriver
- Added a really, really bare-bones Cash plugin.
2008-03-11 16:33:10 +00:00
Martin Kamerbeek
39a0b6ff1f
Adding PayDriver code and tests
2008-03-11 13:22:46 +00:00
Colin Kuskie
f40bed7ef3
Add i18n for Tax, for the UI.
...
Begin to flesh out the DataTable JS for www_view. Add a method to slurp all the
tax data out of the db at once.
Add a test for the slurp method, and stop using the private sub that used to
do it in the tests.
2008-03-10 04:25:36 +00:00
Colin Kuskie
1bbf5a3c7c
more POD for SQL::Result, documenting what read does
2008-03-10 04:24:12 +00:00
Colin Kuskie
c4bd646ca3
More POD for SQL, read method
2008-03-10 04:23:36 +00:00
Colin Kuskie
e151b99dca
Tweak a little POD.
...
Fix a bad exception message.
2008-03-09 05:09:32 +00:00
JT Smith
e4d76f0b3b
very close to having ship driver management working
2008-03-08 00:11:09 +00:00
JT Smith
fc3ccba4f3
added payment manager
2008-03-07 20:16:09 +00:00
JT Smith
a535104d7a
shipping is closer
2008-03-07 17:04:26 +00:00
Colin Kuskie
14ffef86c1
Add a method for determining if users can access commerce functions, and
...
stub out www_view
2008-03-07 04:39:17 +00:00
JT Smith
9284f8744f
beginnings of shipping mangement interface
2008-03-07 03:50:40 +00:00
Colin Kuskie
e32bdb6217
find_in_set seems to be case insensitive, natively.
2008-03-07 02:37:13 +00:00
Colin Kuskie
52cf8b672c
Allow alternations in the tax data, so that it is case insensitive
...
and allows multiple definitions of an entry (like state, city or country)
2008-03-07 02:16:40 +00:00
Colin Kuskie
50fc494759
optimize the SQL query for getting tax rates
2008-03-06 23:41:16 +00:00
Colin Kuskie
d956e58bd7
Change the Shop::Tax system to be hierarchial.
...
Update all sample tax tables and tests.
2008-03-06 22:34:21 +00:00
JT Smith
cbe9cc29df
we now have shop settings admin screen
2008-03-06 22:33:57 +00:00
Colin Kuskie
2fc985fe54
fix a failing Shop::Ship test
2008-03-06 17:44:34 +00:00
JT Smith
8a04f5911f
shipping system integrated with cart, but need admin interface to test if it works
2008-03-06 17:06:59 +00:00
JT Smith
56407bdc8f
address book works
...
yesno uses bool now instead of int
2008-03-06 00:22:59 +00:00
Colin Kuskie
d27ac7a629
Add coverage tests, convert croaks to exceptions.
2008-03-05 23:34:53 +00:00
JT Smith
aa5355930a
made it use a helper method
2008-03-05 16:34:12 +00:00