Commit graph

52 commits

Author SHA1 Message Date
Colin Kuskie
be37f12ab1 Clone stopped working in several tests in 5.14.2. Remove it in favor of Storable::dclone.
Clone handles being passed scalar data, but dclone does not.
2012-10-23 10:00:53 -07:00
Colin Kuskie
8bc944d526 Prevent the PayPal standard driver from being abused. Update POD and comments in several Shop files. Fix form labels for PayPal Express checkout driver. Fix a niggling bug with updating a transaction with a cart, twice. Fixes bug #12140.
commit cef8c5bde10f793db0890dcfd18cbf20b0e69c90
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:52:48 2011 -0700

    Build a Shop::Transaction.

commit c386079ac29fc70c1cc63d0c2844511ce9db553e
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:34:13 2011 -0700

    Pull a session out of the object.

commit 59d780eb0ffcc82572491f85f08eb4ac04cab109
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:15:05 2011 -0700

    Rework PayPalStd driver to create transaction before sending the user off to PayPal.

commit cd2683aa8595875f7c501f29c622abaf350e90f6
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:14:19 2011 -0700

    Fix some comments to be more cleanly readable.

commit cf1fecfb916906c4d8ec8d33bd85c59b0aea3b7c
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:13:52 2011 -0700

    Make the transaction optional when displaying a payment error.

commit f3c949e03a18ac513938f2ed483002c5304663d5
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 23 19:19:56 2011 -0700

    Remove dead code.

commit 5ddcb49f094fd054f79da38c4a95dd86c55a157f
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Thu May 19 11:31:15 2011 -0700

    If a transaction is updated with a cart object, remove all transationItems from the transaction before adding new ones.

commit 3315cb30a5c1fd4d583ce352cbc9022e52544404
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Thu May 19 11:30:58 2011 -0700

    Remove duplicate entries from ExpressCheckout i18n

commit b46d5af528d7223d12ecbed383e798cfc376ad2a
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 23 16:07:33 2011 -0700

    Fix the version number of the PayPal API we send.  Add the serialized request to the log file.  Fix i18n labels so it's clear which username and password to use.

commit 1604d375822eb013c633b72993fa524703a72127
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Wed May 18 15:50:42 2011 -0700

    Fix copy/paste errors from other i18n modules into ExpressCheckout.

commit f2c958fc7128348a18a005bfbadf83457861d6e2
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Wed May 18 11:26:15 2011 -0700

    Update out of date POD about checking out.

commit 61ca80b15701733a1a7c7eae5d825b161e0c71c1
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 23 16:05:09 2011 -0700

    Fix documentation in appendCartVariables, and return the hash instead of $self.

commit d3b7341c44c924f395f8594c8ae77d8187170c9f
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 23 16:03:20 2011 -0700

    Remove variables that were not being used.

commit 2913f96182a7630bce01998bb022d3ebf4842171
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 16 21:05:54 2011 -0700

    Pull isRecurring directly from the Cart if creating/updating a transaction from one.
2011-05-24 11:57:16 -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
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
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
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