Commit graph

20 commits

Author SHA1 Message Date
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
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
02c4c5cf47 Cleanup tests that were leaking carts. 2010-05-01 23:54:34 -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
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
8dcd511a8b Update tests for modified code, and for CSRF checks. 2009-07-16 22:35:49 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
2bc81f7757 fixing tests for Form changes 2009-01-28 16:39:38 +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
Colin Kuskie
b47318c786 tweak the {Ship,Pay}Driver tests a bit, looking for safe copies of data 2008-08-06 04:10:12 +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
a3274f47ec do not delete the default payment gateways! 2008-07-21 16:06:48 +00:00
Colin Kuskie
145329f0aa Update the test to match the template changes in PayDriver's definition sub. 2008-06-25 16:09:04 +00:00
Colin Kuskie
844c39e321 update PayDriver.t with the latest definition and form elements 2008-05-30 07:18:05 +00:00
Colin Kuskie
711d0f5fc1 update defaultValue in the group field of the PayDriver definition 2008-05-07 16:33:27 +00:00
Colin Kuskie
473cef2483 update PayDriver to match new module code 2008-04-23 03:39:54 +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