Commit graph

216 commits

Author SHA1 Message Date
Colin Kuskie
6086703d49 Apparently, any item or sku caching causes Apache to die. At this
point, both the itemCache in the Cart and the skuCache in the CartItem
have been removed.
2008-07-22 04:09:04 +00:00
Colin Kuskie
23316d60dd Removed all caching code. This seems to fix the apache
crashing problem.  Needs others to double check and
review.
2008-07-21 23:41:04 +00:00
Colin Kuskie
1031883fbf Change the order of deleting the item from the cache and calling
clean up code, since deleting the item causes the Session var
to get nuked.
2008-07-21 21:27:31 +00:00
Colin Kuskie
8779905ac3 Add a method for Payment Drivers to see if they can used by a particular user, canUse.
Add some tests for the method.
Have Pay->getOptions use the method.
2008-07-21 16:14:52 +00:00
Kaleb Murphy
994ac85181 Cart properties were made public for debugging and then left that way by a accident. Fixed. 2008-07-18 16:34:23 +00:00
Kaleb Murphy
6e97455afb Product.pm no longer caches if a cart object has been created for this session. 2008-07-18 16:11:21 +00:00
Kaleb Murphy
16ccbc7aaa Shop Tax pagination now fixed. Pagination had a silent JS death that needed testing for, and sorting....don't ask how sorting was fixed as it involved pentacles, my soul, and a contract. 2008-07-17 16:45:14 +00:00
Kaleb Murphy
70a63233b1 Some improvements to Tax.pm sorting, but it is still borked. 2008-07-17 04:19:05 +00:00
Kaleb Murphy
ffba8c1858 Fixed pagination in Tax, sorting still broken 2008-07-16 21:49:05 +00:00
Colin Kuskie
5e1a0eb1be in Shop/Tax, make taxes floating point numbers instead of integers 2008-07-16 17:00:05 +00:00
Colin Kuskie
a8fced0fda Process macros in the templated email receipt and user notification from the
PayDriver in the Shop.
2008-07-14 19:39:43 +00:00
JT Smith
cc0105a9a4 move product import to shelf 2008-07-12 21:40:27 +00:00
Colin Kuskie
f6a5ad64db Remove more echo calls from ITransact driver.
Add an i18n ITransact label to the ITransact i18n.
Add a PayDriver i18n label called Credit Card to be used by any credit card processing pay driver.
Change the ITransact getButton method to use that label.
Updated the PayDriver label hover help to say the label is only used in the Payment method screen
and not anywhere else.
2008-07-11 18:14:17 +00:00
Colin Kuskie
4720a6a217 ITransact payment driver was using echo i18n calls even though
it had real i18n data to pull from.
2008-07-11 17:19:05 +00:00
JT Smith
6093c410c9 - Fixed a problem where shop could create internal server errors instead of
catching the exceptions.
 - Made the iTransact terminal link a button that automatically logs you in.
 - iTransact now more gracefully handles recurring payment postback errors.
2008-07-10 14:50:42 +00:00
Colin Kuskie
35ff40e4b2 fix JSON encoding problems in Shop/ShipDriver 2008-07-08 21:27:15 +00:00
Colin Kuskie
d221dcd01d PayDriver had the wrong template namespace and assetId 2008-06-24 22:29:02 +00:00
Colin Kuskie
2049c28ce3 finish up exception handling for importing taxes and reporting messages back to the user 2008-06-17 23:28:28 +00:00
Colin Kuskie
4dfac86f2f Add hoverHelp for the Tax screen.
Change tax rate to be an integer.
2008-06-17 21:12:00 +00:00
JT Smith
75208339fc fixed several ems badge related bugs. a couple upgrade bugs for ems and transaction. and jury rigged a fix for recurring transaction postback. 2008-06-13 21:54:43 +00:00
Colin Kuskie
ccc4eb37c4 Fix bad driver lookup for label. Label is a method, not property that is looked up using ->get. 2008-06-13 16:46:15 +00:00
Martin Kamerbeek
6bee83de68 More i18n echo cleansing. 2008-06-13 15:04:23 +00:00
Martin Kamerbeek
6e9106152d Cleaned up loose i18n ends, 2008-06-13 14:22:31 +00:00
Martin Kamerbeek
45756c36ba Added POD where I still had to. 2008-06-13 13:44:14 +00:00
Colin Kuskie
29f351631d i18n for Pay 2008-06-12 23:37:46 +00:00
Colin Kuskie
632c3d910c i18n for the Cash pay driver 2008-06-12 23:36:23 +00:00
JT Smith
e3d85353e8 upgrade related fixes 2008-06-12 22:24:07 +00:00
JT Smith
60a6f97c48 commerce bug fixes 2008-06-12 16:05:01 +00:00
Colin Kuskie
09ac691b0f Fix the pod for www_viewMy.
i18n and help for Shop.
2008-06-11 01:15:42 +00:00
Colin Kuskie
1e798c23d8 fix the shop admin screen icon 2008-06-09 23:17:10 +00:00
Colin Kuskie
1be93c9bdd Add a convenience link to the Asset Manager on the Import Product node. 2008-06-09 22:24:27 +00:00
Colin Kuskie
d32fa80155 Handle autocommit of products from the settings.
Tweak an error message.  Showing the file isn't that useful.
2008-06-09 22:11:44 +00:00
Colin Kuskie
1fd425ac96 Convert WebGUI::Shop::Products over to be object oriented.
Update the tests and Content plugin for the Shop.
Add the Products screen to the Shop admin screen.
Add exception handling to www_import.
Add a status message to the manage products screen.
2008-06-09 21:52:59 +00:00
Colin Kuskie
0316b74ecd add tests for upgrading existing products, with bug fixes 2008-06-07 22:16:47 +00:00
Colin Kuskie
090e4c7adf add more export products tests, along with several bug fixes 2008-06-06 23:11:38 +00:00
Colin Kuskie
288fd54b17 tests for exporting, and some bug fixes in exportProducts 2008-06-05 19:57:01 +00:00
Colin Kuskie
994da561a5 web interface for importing and exporting products. Additional tests for the import/export API 2008-06-05 04:10:48 +00:00
JT Smith
a0ec44567a some minor enhancements 2008-05-31 20:45:15 +00:00
Martin Kamerbeek
b4a45c6ada - Fixed recurring payment cancelation and added error handling
- Made transactions with recurring items recurring
- Fixed some bugs in the email receipt code
- Added email receipt template to migrated plugins
2008-05-29 21:09:29 +00:00
Martin Kamerbeek
2c57721e20 ITransact fixes. 2008-05-29 20:19:17 +00:00
Martin Kamerbeek
adcd560cba Added messages about new postback url. 2008-05-28 22:36:05 +00:00
Martin Kamerbeek
152dfc2838 ITransact and other fixes and migration of payment plugins. 2008-05-28 21:16:25 +00:00
Colin Kuskie
4712ba2823 finish the import routine. Next, testing 2008-05-28 17:28:25 +00:00
Colin Kuskie
c07c856b29 Fill out the guts of the product data exporter. 2008-05-28 04:53:09 +00:00
Colin Kuskie
0a05d637d4 Build an iterator for getting all products as objects, one at a time.
Build tests for the iterator.
Begin working on the exporter (which will use the iterator).
2008-05-28 04:37:21 +00:00
JT Smith
e9745632d5 fixed render bug 2008-05-27 21:10:02 +00:00
Colin Kuskie
b020387643 stub out exportProducts 2008-05-27 04:09:46 +00:00
Colin Kuskie
e562a45b10 Fix two bugs with importing product data.
Begin to build code for adding and editing products.
2008-05-27 04:01:41 +00:00
Colin Kuskie
b03b3b340e Remove extra whitespace in the testing files.
Make importProducts check file headers.
Add testing collateral, and tests
2008-05-27 01:12:01 +00:00
Colin Kuskie
b283ebaf81 begin work on importing products 2008-05-27 00:32:25 +00:00