Commit graph

489 commits

Author SHA1 Message Date
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
Paul Driver
e26723f526 handling per-item shipping dropdowns in js 2010-05-03 17:06:11 -07:00
Colin Kuskie
d92347bf34 Use a method rather than reinventing the getPaymentGateway method. 2010-05-02 18:13:25 -07:00
Colin Kuskie
0179930011 Give the perItem dropdowns the same class name. 2010-04-30 16:45:09 -07:00
Colin Kuskie
cb8c8da1ac Per item shipping. 2010-04-30 16:42:10 -07:00
Paul Driver
9a827affc4 Updating shipping/tax info based on address 2010-04-30 11:03:59 -07:00
Colin Kuskie
8cc6ecb30d Remove dead code from the PayDriver 2010-04-30 08:56:29 -07:00
Colin Kuskie
9ab13fb524 Document how and why we handle $0 checkouts 2010-04-30 08:51:30 -07:00
Colin Kuskie
d986496131 Code tweaks and comments for clarity. 2010-04-30 08:48:22 -07:00
Colin Kuskie
a9dc242498 Cleanup some bad code in the TaxDriver 2010-04-29 19:05:53 -07:00
Colin Kuskie
85978eeb23 Remove totalPrice since it was in there twice 2010-04-29 18:15:24 -07:00
Colin Kuskie
295ff15491 Wrap summary price data in a span so they can be automatically updated. 2010-04-29 17:01:43 -07:00
Colin Kuskie
273452c024 Restore the checkout button. 2010-04-29 15:25:57 -07:00
Colin Kuskie
b186f2f713 Make the cart be able to remove items, without using Javascript. 2010-04-29 15:20:58 -07:00
Colin Kuskie
6fe302774c remove www_selectPaymentGateway, and www_checkout which are now dead code 2010-04-29 14:57:27 -07:00
Colin Kuskie
674b299069 Handle $0 checkouts. Still requires that ANY payment plugin be selected. 2010-04-29 14:51:06 -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
179ad030db Provide a getCredentials method for both PayPal paydrivers. 2010-04-29 12:47:33 -07:00