Commit graph

241 commits

Author SHA1 Message Date
JT Smith
ef120fb06b Added isVisitor, isAdmin, and isRegistered methods to User object instead
of hard coding checks everywhere with group ids. And updated the code base 
   to match.
2008-09-16 22:32:36 +00:00
Kaleb Murphy
ecdf976f45 Must have accidently deleted a semicolon 2008-09-10 20:00:29 +00:00
Kaleb Murphy
21d8baf583 Reoccurring transactions now use the correct user id 2008-09-10 16:04:06 +00:00
Colin Kuskie
b4559e8935 Fix a variable clash in the Cart www_view method. 2008-08-25 01:59:22 +00:00
Doug Bell
10afef1abe fixed: choosing ITransact driver during checkout causes error 2008-08-21 20:40:37 +00:00
Colin Kuskie
90c82daaeb fix a bug where getOptions returns all shipping drivers, regardless of their enabled status 2008-08-20 18:03:46 +00:00
Diona Kidd
5b89003e24 Adding internationalized message for empty cart 2008-08-20 02:08:19 +00:00
Graham Knop
5e8b65035e need to return the thank you screen generated for checkouts with a total of $0 2008-08-20 01:51:11 +00:00
Colin Kuskie
75cf3923ad More Vendor POD and tests. new and created are both basically tested. 2008-08-13 18:47:04 +00:00
Colin Kuskie
dfefa8d871 Update POD for Vendor.
Add a basic Vendor test.
2008-08-13 17:10:45 +00:00
JT Smith
7e37c6aec4 added the newByUserId constructor 2008-08-13 15:21:35 +00:00
JT Smith
8702ee8de2 exposed payment info and payment type to vendor 2008-08-13 15:13:53 +00:00
Colin Kuskie
589272f2cd fix a typo in the ITransact driver, missing semicolon 2008-08-09 17:59:21 +00:00
Doug Bell
9ecb69ac94 fixed issue with ITransact gateway throwing error if user does not explicitly set a billing address 2008-08-09 03:25:55 +00:00
Doug Bell
8c2c073a26 fixed: ITransact error message now shows link to go back 2008-08-08 17:29:56 +00:00
JT Smith
93a6dc0568 Exposed user and url fields to shop vendors. 2008-08-07 17:18:59 +00:00
Kaleb Murphy
3b7b668f07 In store credit now correctly deducted from with new purchases. Shop/Transaction was not updating the shopCreditDeduction column. 2008-08-06 16:54:33 +00:00
Colin Kuskie
05953f83a0 update CartItem POD for get 2008-08-06 16:11:49 +00:00
Colin Kuskie
3839123d8c Fix a bug where PayDriver and ShopDriver would do a redirect and ignore
the site gateway url.
2008-07-31 03:38:22 +00:00
Colin Kuskie
1346008650 first name and last name are separated by a space, not a break 2008-07-31 02:56:34 +00:00
Kaleb Murphy
d972141607 Fixed Address.pm POD to include firstName and lastName attributes. 2008-07-30 15:55:44 +00:00
Kaleb Murphy
2c41d60933 Added first name and last name address options for products. 2008-07-29 20:46:17 +00:00
JT Smith
eea6d818e9 fixed export, purge, and some other stuff for ems. 2008-07-29 02:10:55 +00:00
Colin Kuskie
ee9772d543 fix broken i18n labels in Asset export, and in the Shop 2008-07-27 02:59:33 +00:00
Kaleb Murphy
eff953b5ed Cart now redirects to ssl if the site is ssl enabled. 2008-07-24 19:56:54 +00:00
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