Commit graph

68 commits

Author SHA1 Message Date
Colin Kuskie
87326192a3 Merge commit '4635b91554' into WebGUI8. Syntax clean up to 7.10.2 2010-10-27 15:59:33 -07:00
Colin Kuskie
ac9e75a0a3 Remove C::IO line from PayDriver base class; 2010-10-08 11:49:20 -07:00
Colin Kuskie
a40189ccc0 Better i18n handling of getName. 2010-10-07 14:36:38 -07:00
Colin Kuskie
82ed3f03b8 Fix shop credit display and calculations in the PayDriver. Fixes bug #11891 2010-10-04 14:20:45 -07:00
Colin Kuskie
2269c4cd51 Remove use of ->get('property') 2010-09-30 16:27:20 -07:00
Colin Kuskie
a77894bedf Fix POD to remove mention of definition. 2010-09-30 16:18:25 -07:00
Colin Kuskie
0ca7cf8a81 Convert pPFFP to use Definition. 2010-09-30 15:50:08 -07:00
Colin Kuskie
be35b8afe4 Test default label handling. 2010-09-30 10:45:54 -07:00
Colin Kuskie
ee1e896ef8 PayDriver now does dynamic form building through Definition. 2010-09-30 10:36:02 -07:00
Colin Kuskie
280c8b3047 Test updates, code fixes. Failing 6 tests 2010-09-24 16:52:46 -07:00
Colin Kuskie
7aabbb07d7 write out the className, too 2010-09-24 16:12:29 -07:00
Colin Kuskie
bab17655c2 Add default i18n label, API converted over to Moose. Need to run tests, convert definition based code in the UI. 2010-09-24 16:10:30 -07:00
Colin Kuskie
6b3fbd9aff Convert PayDriver definition to Moose. 2010-09-24 11:22:10 -07:00
Colin Kuskie
9612f36540 Use Moose modules. 2010-09-24 10:02:15 -07:00
Colin Kuskie
0180b11064 Merge commit 'b8845e25fa' into WebGUI8. Up to 7.10.0 2010-09-22 07:58:06 -07:00
Colin Kuskie
f65ae74e54 Format the subtotal variable in the Payment driver to 2 decimal places. Fixes bug #11813 2010-09-02 12:51:54 -07:00
Colin Kuskie
d83f6808bb Fix a POD typo, which may quickly become irrelevant. 2010-08-26 17:03:53 -07:00
Colin Kuskie
e824b35dc5 Document what changes need to be made to the PayDriver for cart changes in 7.9.4. Change how the upgrade sub dies if a custom plugin is found. Fixes bug #11799. 2010-08-25 11:44:01 -07:00
Colin Kuskie
20a0b29df5 Document what changes need to be made to the PayDriver for cart changes in 7.9.4. Change how the upgrade sub dies if a custom plugin is found. Fixes bug #11799. 2010-08-20 08:46:52 -07:00
Colin Kuskie
04a16ed87c Move Shop/Transaction to Moose. Change core modules to suit. 2010-07-14 14:50:39 -07:00
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