Commit graph

429 commits

Author SHA1 Message Date
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
e0a9f34b53 Update readyForCheckout, shipping address is optional, must have gatewayId, too. 2010-04-27 17:29:14 -07:00
Colin Kuskie
822cac8dec Error promoted to a full cart method. Beginning to process the address forms. 2010-04-27 17:18:35 -07:00
Colin Kuskie
9365a55477 Bad code fixes, and no tax calculations without an address. 2010-04-27 13:14:53 -07:00
Colin Kuskie
7ef8de2a1f Checkout preparations. Change payment options to a dropdown in the cart. Pay->getOptions now returns just a hash. 2010-04-27 12:03:43 -07:00
Colin Kuskie
69bfa9b6ea Better detection for same shipping/billing address. 2010-04-26 18:03:50 -07:00
Colin Kuskie
fc95fa8f86 display taxes again. 2010-04-26 16:23:17 -07:00
Colin Kuskie
fe7f3e0cb2 Recalculate totals based on shipping, now that it works correctly. 2010-04-26 16:15:45 -07:00
Colin Kuskie
a98484dbcb Fix flag for having a price. Remove debug. Fix typos in ship driver selector generator. 2010-04-26 16:12:02 -07:00
Colin Kuskie
e116354946 Fix double my in Shop/Ship.pm 2010-04-26 16:07:02 -07:00
Colin Kuskie
a26f85c8c0 Handle cases of no shipping plugin, and optional price formatting for shipping. 2010-04-26 15:20:34 -07:00
Colin Kuskie
fa48f2eca9 Remove old form JS. Display shipping information, but not the address. Do not format currency unless it exists. Template support. 2010-04-26 14:55:43 -07:00
Colin Kuskie
7826e3aea3 Shipping address form processing. 2010-04-26 12:02:11 -07:00
Colin Kuskie
85c7beca70 Add and edit addresses, for billing only. 2010-04-26 11:33:27 -07:00
Colin Kuskie
0b437f85c3 Make all address form variables sticky. Build address choosers for shipping and billing. Begin form processing for address forms. 2010-04-26 10:57:19 -07:00
Colin Kuskie
9838d20458 Add a billing address to the cart. Add form processing for an address form to the AddressBook. Support for choosing shipping methods without an address. 2010-04-26 09:32:01 -07:00
Colin Kuskie
78fab2dcaf Do not display any shipping information unless a product in the cart requires it. Code with template changes. 2010-04-23 10:51:17 -07:00
Colin Kuskie
1b1e079214 Shipping and billing address forms are now in the cart if you're logged in. 2010-04-23 10:26:17 -07:00
Colin Kuskie
fbefeaf621 Require that the user be logged in before entering in address info. Refactor out address form into a method that can called multiple times. 2010-04-22 20:02:19 -07:00
Colin Kuskie
1bd9a51df3 More AddressBook cleanup from removal of the sessionId. 2010-04-22 13:31:55 -07:00
Colin Kuskie
827565c22a Prevent redundant display of the address in the cart, unless it's separate from the per cart address. 2010-04-22 13:31:10 -07:00
Colin Kuskie
d67998888c Address Books cannot be owned by Visitor any longer. Changed newBySession to newByUserId. 2010-04-22 12:02:54 -07:00
Patrick Donelan
0fcc57a09e Removing "use warnings" 2010-04-08 17:53:55 -04:00
Colin Kuskie
44193585ad UI improvement to the Vendor Payouts screen. Display username in parentheses after actual name. 2010-01-29 09:08:13 -08:00
Martin Kamerbeek
02f4211f12 Typo caused EU TaxDriver to not charge taxes for shipping addresses in France. 2010-01-28 10:39:40 +01:00
Colin Kuskie
bfa862b80d Decrease connection timeout on USPS shipping drivers. Fixes bug #11374 2010-01-26 10:55:39 -08:00
Colin Kuskie
b86be55ba2 Fix the double click on the ITransact submit button. Fixes bug #11362. 2010-01-20 15:32:10 -08:00
Colin Kuskie
d04d457d44 Fix several countries whose addresses were rejected by the USPS International ship driver. Fixes bug #11359.
Also, update two countries in Form::Country
2010-01-18 19:59:50 -08:00
Colin Kuskie
022495506f Use some JS to prevent people clicking the submit button twice on the ITransact checkout screen. Fixes bug #11351 2010-01-14 15:56:00 -08:00
Martin Kamerbeek
d45a58cf87 - updateVATNumber should delete ivalid numbers.
- Fix missing pod and put subroutines in the correct place.
2009-12-18 14:07:58 +01:00
Martin Kamerbeek
2e5250afe1 Refactored EU tax plugin code to reduce code duplication and added tests. 2009-12-18 13:45:50 +01:00
Martin Kamerbeek
e88b0ca0d7 Adding VIES recheck workflow and tests. 2009-12-15 22:59:54 +01:00
Colin Kuskie
8574b68586 Fix some bad POD in the Vendor module. Fixes bug #11287 2009-12-03 08:06:28 -08:00
Colin Kuskie
cc0cc0ba64 Have the USPS shipping driver accept ZIP+4, even if USPS doesn't. 2009-11-28 19:23:35 -08:00
Colin Kuskie
f3e699e9a7 Retrofit UPS to use Locales instead of Locales::Country. Fixes bug #11221
Updated tests, module, gotcha.txt, and testEnvironment.pl
2009-11-17 09:37:05 -08:00
Colin Kuskie
1fc291954d Merge branch 'USPS_int'
Adding International USPS driver.
2009-11-14 22:19:02 -08:00
Colin Kuskie
727348a1c9 Fix module use issues. Fixes bug#11222
Remove bad use line from TaxDriver/EU.pm
Add line for TT2 in testEnvironment.pl
2009-11-11 14:19:37 -08:00
Colin Kuskie
0a3836bde3 Add non-numeric package check to USPS driver. 2009-11-07 12:58:49 -08:00
Colin Kuskie
e647c013b9 Add a few more tests to hit coverage. Check for non-numeric package IDs. 2009-11-07 12:56:43 -08:00
Colin Kuskie
bfc05ddc7a Fix a bug in error reporting based on returned XML data. 2009-11-06 21:23:22 -08:00
Colin Kuskie
9206a0b80f Add insurance option. 2009-11-06 21:21:20 -08:00
Colin Kuskie
6543ed5027 All tests passing, able to talk to USPS and get rates for multiple package configurations. 2009-11-06 19:43:12 -08:00
Colin Kuskie
c2b41f9884 Merge branch 'master' into USPS_int 2009-11-06 14:43:45 -08:00
Colin Kuskie
c3727be61f Supply a value, and a default value for Shop/Admin. 2009-11-05 15:34:47 -08:00
Colin Kuskie
c1f7788309 Copy tests from USPS. Add insurance back to the International driver. Reverse the country check. 2009-11-05 15:33:17 -08:00
Colin Kuskie
70d9f111e3 Merge branch 'master' into USPS_int 2009-11-05 13:45:05 -08:00
Colin Kuskie
60d8ce370e Fix name typos in the shopSaleNotificationGroupId. Fixes bug #11207 2009-11-05 13:10:25 -08:00