Commit graph

507 commits

Author SHA1 Message Date
Colin Kuskie
9e5c83dddb Update USPS International driver to V2 API and fix insurance. 2014-11-10 14:48:02 -05:00
Colin Kuskie
a5c6520a56 Update USPS ShipDriver to V4. Fixes bug #12455 2014-10-29 18:53:47 -04:00
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
b1133d9118 Fix a typo in the cart. 2011-10-27 21:39:09 -07:00
Colin Kuskie
1f9413e2a5 Display an error message anytime the cart is viewed if it has mixed items (recurring and non-recurring, or too many recurring). Fixes bug #12211. 2011-09-12 11:34:38 -07:00
Colin Kuskie
36f818ed5e Check for mixed items in the cart AFTER processing delete requests. Fixes bug #12239. 2011-08-30 08:45:57 -07:00
Colin Kuskie
428ea58327 Add better support for user profile fields for addresses to the Cart and the EMS. 2011-08-11 16:27:29 -07:00
Colin Kuskie
3b7dd524db When a Sku is purged, delete it from all carts. Better handling for cartItems whose assets have been deleted. Fixes bug #12213 2011-08-02 10:00:53 -07:00
Colin Kuskie
1d54196f44 Add payment driver for Authorize.net. i18n, upgrade script, config file changes, and new template. 2011-07-27 13:24:30 -07:00
Colin Kuskie
2bcda0c9f5 Change the generic tax driver to remove spaces around commas when adding a new row. Add tests and a convenience method for getting one line of tax information. Upgrade sub fixes any information already in the db. 2011-06-30 16:20:14 -07:00
Colin Kuskie
328826e3f7 Create a fake item to send to PayPal for shipping, so it can be covered by shop credit. Fixes bug #12158. 2011-06-13 11:03:29 -07:00
Colin Kuskie
21bcd70980 Fix a syntax warning with multiple i18n objects in PP::ExpressCheckout 2011-06-06 19:53:22 -07:00
Colin Kuskie
e2a218e6f5 Set the locale in the correct communication with PayPal. 2011-06-06 10:48:20 -07:00
Colin Kuskie
3c0cf0f1a5 Pass the user's locale along to PayPal. If it is supported, then the checkout screen on PayPal will be in the user's locale. Fixes bug #12119. 2011-06-06 10:32:14 -07:00
Colin Kuskie
b21a6e331b PayPal does not consider +5.00 to be the same as 5.00. Remove the sign from the number. Fixes bug #12152. 2011-06-06 09:11:05 -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
52294139a0 -0.00 ne 0.00. Handle both cases of ~0 when checking out to intercept and finish the transaction immediately. 2011-05-19 08:58:44 -07:00
Colin Kuskie
2ab9773025 Remove variables that were not being used. 2011-05-16 21:08:32 -07:00
Colin Kuskie
9065aa9eb8 Fix a syntax error in the Transaction. 2011-04-18 12:03:31 -07:00
Colin Kuskie
cf36a1510f When the Sku for an item no longer exists, do not show links to it. Check for bad skus in Transaction/www_viewItem. Provide variables to not show links when the skus do not exist. Handle existing links better by not returning the user to the home page, but to the transaction. Fixes bug #12107. 2011-04-18 11:36:27 -07:00
Colin Kuskie
c015b6710c Unescape paypal's content before parsing it so that multi-line data is handled correctly. Fixes bug #12103. 2011-04-12 16:41:20 -07:00
Colin Kuskie
d5ba73fac7 Add the organization part of an address into the transaction and transactionitem. Fixes bug #12088. 2011-04-05 15:10:23 -07:00
Graham Knop
faad97a7e4 small pod fix 2011-04-05 08:42:15 -05:00
Colin Kuskie
8525e4b7ee Don't refund transactionItems unless the transaction is successful, or if the item is already canceled. Also, no not call onCancelRecurring for normal Sku's unless they're really recurring. Fixes bug #12089. 2011-04-04 14:45:53 -07:00
Colin Kuskie
5c175c42d9 If there is a problem with the user's billing address, still let them get into the Cart. Fixes bug #12081. 2011-03-31 16:56:09 -07:00
Martin Kamerbeek
b22ed80dc7 Fixed #12007: Hardcoded js in cart view. 2010-12-23 16:45:15 +00:00
Martin Kamerbeek
10ea82d6ec Don't let the cart crash on invalid addressIds 2010-12-22 13:31:16 +00:00
Martin Kamerbeek
f748aa1b83 Return a list of shipper to choose from in stead of none if no shipper has be chosen yet. 2010-12-22 13:11:56 +00: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
7f0657927d Add purge method to Shop::Credit, tests. 2010-10-04 14:20:08 -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
5765739a95 Labels in the Cart for addresses are optional. They take the first line of the address if left blank. Tested w and w/o JS. 2010-09-01 12:22:55 -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
6e091aa6b4 Use handling_cart instead of shipping for the HTML variable for sending shipping costs to PayPal. Fixes bug #11753. 2010-08-02 17:59:15 -07:00
Colin Kuskie
f4b733c292 Update the USPS International driver for the newest USPS IMM. Fixes bug #11757. 2010-08-02 09:04:39 -07:00
Doug Bell
c931cab85c fix #11755: New cart does not update shipping 2010-07-29 17:33:02 -05:00
Colin Kuskie
33592f9dbb Fix taking address information, and the right fields in the transaction item. 2010-07-27 23:02:28 -07:00
Colin Kuskie
89e20a3073 Fix how the cart handles items with shipping, added to the cart by visitor. Fixes bug #11693. 2010-06-30 09:00:24 -07:00
Colin Kuskie
8283243823 Allow visitor to remove items from their cart. Fixes bug #11667 2010-06-22 08:27:38 -07:00
Colin Kuskie
59fed35087 Fix error feedback for missing fields, when using the AddressBook to add an address. 2010-06-07 11:17:10 -07:00
Colin Kuskie
760abafd9c Put back a www_checkout method, to be used by the Payment plugin when displaying upstream errors. Fixes bug #11584. 2010-05-24 11:05:33 -07:00
Colin Kuskie
bd41360ad4 Internationalize all cart error messages. 2010-05-10 19:21:57 -07:00
Colin Kuskie
22d6806dfe Better UI for changing addresses. Prevent bad things from happening if the user delete required fields. 2010-05-10 17:19:01 -07:00
Colin Kuskie
18301e3bfd Make address form fields less sticky. If you want data saved, you must choose the Update address option. 2010-05-10 16:43:53 -07:00
Colin Kuskie
6965611994 Make the state field required in cart addresses. Fixes bug #11564. 2010-05-10 16:15:28 -07:00
Colin Kuskie
17841c838f Better messaging and error handling in the Shop/Credit screen. Cannot give credit to Visitor. 2010-05-05 18:48:41 -07:00
Colin Kuskie
f04cf29300 Fix display of the shop credit deduction when there's a recurring item in the cart. Fixes bug #11557 2010-05-05 18:29:03 -07:00
Colin Kuskie
eb9d32f6f5 Log the correct transaction data on a $0 checkout. 2010-05-05 17:28:33 -07:00
Colin Kuskie
113c44ada8 Give the cart an id for the JS to work with. 2010-05-05 16:36:31 -07:00
Colin Kuskie
984003123c Shade the buttons with CSS. Don't show per-item shipping if there's only 1 item in the cart. 2010-05-04 10:20:31 -07:00