Commit graph

48 commits

Author SHA1 Message Date
Colin Kuskie
5febc0ebbc Merge commit '41575d24bb' into webgui8. Some tests still failing.
Conflicts:
	docs/gotcha.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/File/GalleryFile/Photo.pm
	lib/WebGUI/Asset/Post.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/WikiPage.pm
	lib/WebGUI/Asset/Wobject/WikiMaster.pm
	lib/WebGUI/Cache.pm
	lib/WebGUI/Content/Setup.pm
	lib/WebGUI/Role/Asset/Subscribable.pm
	lib/WebGUI/Shop/Cart.pm
	lib/WebGUI/Shop/Pay.pm
	lib/WebGUI/Shop/PayDriver/ITransact.pm
	sbin/testEnvironment.pl
	t/Asset/WikiPage.t
	t/Shop/PayDriver.t
	t/Shop/PayDriver/ITransact.t
	t/Shop/PayDriver/Ogone.t
	t/Shop/TaxDriver/EU.t
	t/Shop/TaxDriver/Generic.t
	t/Workflow/Activity/RemoveOldCarts.t
	t/lib/WebGUI/Test.pm
2010-06-25 23:25:26 -07:00
Colin Kuskie
8cc6ecb30d Remove dead code from the PayDriver 2010-04-30 08:56:29 -07:00
Colin Kuskie
e9313959eb Refactor out template processing code into the PayDriver module. 2010-04-29 14:31:13 -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
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
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
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
JT Smith
69a07bb672 added legal section 2009-07-22 22:00:45 +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
a85924d07b Add group privilege checking to the Shipping Drivers 2009-06-18 23:24:33 +00:00
Martin Kamerbeek
31c4bf83d7 Refactored genereation of tranasaction related tmpl_vars into WG::Shop::Transaction->getTransactionVars. 2009-05-13 12:52:19 +00:00
Graham Knop
0619ec3082 some POD fixes 2009-04-23 16:22:22 +00:00
Colin Kuskie
26ef39e66b Make processTransaction really handle not getting an object, by checking
to see if it's an object before calling methods on it.
2009-04-14 20:00:26 +00:00
Colin Kuskie
1b6dd7be63 Forward port the PayDriver bug fixes from 7.5 branch. Labels are always
taken consistently from the JSON blob, and not a mixture of the two.
2009-01-15 00:34:34 +00:00
JT Smith
c9153bc80e - Updated WebGUI::Shop::PayDriver::processTransaction() to accept a
transaction as a param.
2008-10-07 18:05:04 +00:00
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
Doug Bell
8c2c073a26 fixed: ITransact error message now shows link to go back 2008-08-08 17:29:56 +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
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
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
Colin Kuskie
d221dcd01d PayDriver had the wrong template namespace and assetId 2008-06-24 22:29:02 +00:00
Martin Kamerbeek
6bee83de68 More i18n echo cleansing. 2008-06-13 15:04:23 +00:00
Colin Kuskie
29f351631d i18n for Pay 2008-06-12 23:37:46 +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
Martin Kamerbeek
dc30ecccbe Recurring payment stuff fixes, forgot ITransact.pm in last commit. 2008-05-26 21:31:48 +00:00
JT Smith
74b3d3def6 added email receipt and "my purchases" page 2008-05-26 20:11:10 +00:00
JT Smith
57c85fde5a changed the name of getCartBySession to newBySession
created the CartItemCount and MiniCart macros
added help for MinCart, Cart, Address Book, and Edit Address templates
2008-05-24 23:27:30 +00:00
JT Smith
54146e32a5 added recurring transaction cancellation handling 2008-05-23 18:21:51 +00:00
JT Smith
ca9278190e mostly working transaction manager
fixed many bugs
2008-05-19 22:17:08 +00:00
JT Smith
fd7a1d28a1 zero dollar transactions
in-shop credit applies to orders
2008-05-05 19:53:25 +00:00
Colin Kuskie
a72b16e138 fix POD whitespace 2008-04-18 15:59:54 +00:00
Martin Kamerbeek
c1cab2299c Fixing stuff in the ITranasct plugin. It does process non-recurrong payments correctly now 2008-04-16 21:39:09 +00:00
JT Smith
02c24aa44a fixed more c2 bugs
added a workflow activity that removes EMS items from the cart if they've been in there too long
2008-04-09 22:48:15 +00:00
JT Smith
7e4e7898c0 fixed several checkout bugs 2008-04-08 18:48:43 +00:00
Martin Kamerbeek
6edce95ba4 Adding the ITransact driver. Partly finished, not yet tested, but compiles. 2008-04-02 15:59:32 +00:00
Martin Kamerbeek
ec8bcd5ff8 - Changed Cash plugin to use processTransaction
- Added (as of yet empty) notification templates
- Fixed a typo in sendNotification
2008-04-01 14:22:59 +00:00
JT Smith
cdffb087ed added handlesRecurring() 2008-03-24 18:44:45 +00:00
JT Smith
fdb151fc35 a little streamlining 2008-03-24 18:32:47 +00:00
JT Smith
31729dc14a add payment processing interface 2008-03-24 18:27:33 +00:00
Martin Kamerbeek
fb77b80603 adding cash paydriver, paydriver management 2008-03-24 16:39:42 +00:00
Martin Kamerbeek
c2c258400d Adding the getCart method to PayDriver.pm 2008-03-13 21:18:05 +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