Commit graph

479 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
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
Colin Kuskie
bdb1777875 Checking out when shipping is not required works. 2010-04-29 12:22:51 -07:00
Colin Kuskie
a9578eec2c Always show a shipping selector dropdown, unless there are no shipping options available. 2010-04-28 22:51:05 -07:00
Colin Kuskie
f5ecc2f507 Add valid address checks to cart readyForCheckout. Only log missing fields if an address operation isn't occuring. 2010-04-28 22:23:07 -07:00
Colin Kuskie
cf95ff6683 Allow billingAddress to be set at the same time as the shippingAddress is set to it. 2010-04-28 20:15:26 -07:00
Colin Kuskie
131d4cb041 If shipping is required by an item in the cart, always display a shipping dropdown or option. 2010-04-28 16:09:34 -07:00
Colin Kuskie
622f1b1658 Fix a double my warning in the Cart. 2010-04-28 15:53:17 -07:00
Colin Kuskie
470710abb9 Update both paypal drivers for the new shop checkout procedure. 2010-04-28 15:27:08 -07:00
Paul Driver
17dd742c08 Javascript enhancements for cart address handling 2010-04-28 15:09:37 -07:00
Colin Kuskie
aedda01e58 Update Ogone driver for new Shop checkout procedures. 2010-04-28 14:57:47 -07:00
Colin Kuskie
64866dd485 Update ITranasct plugin for Shop 1.5 2010-04-28 12:08:14 -07:00