Commit graph

392 commits

Author SHA1 Message Date
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
Colin Kuskie
15514cb97a Begin international USPS shipping driver. 2009-11-05 12:50:00 -08:00
Colin Kuskie
63b797c875 Format oz in the USPS shipping driver to the nearest tenth of an oz. Change the minimum to be 0.1 oz 2009-11-05 12:38:56 -08:00
Colin Kuskie
ad2376fe4e Set a minimum package weight for USPS shipments. Handle per package errors. 2009-11-05 09:05:00 -08:00
Colin Kuskie
3568aab01a Fix a typo in the form field for setting the shop email receipt template. This prevented receipts from going out. 2009-11-05 09:02:41 -08:00
Colin Kuskie
c871c0372d The current USPS driver only works on domestic shipments. 2009-11-05 08:18:10 -08:00
Colin Kuskie
fc6acc7be3 Change how the shipping driver throws errors. Fixes bug #11202. 2009-11-04 14:08:42 -08:00
Colin Kuskie
e20223c94b Remove debug code. 2009-11-04 11:51:19 -08:00
Colin Kuskie
deff69ae14 Merge commit 'ups-driver/master' 2009-11-03 20:37:53 -08:00
Colin Kuskie
d8526028ab Fix small number handling in the Shop. Fixes bug #11195
Format the number to be checked against 0.00 in Shop/Pay.pm, since sometimes perl
will leave small remainders when subtracting numbers.
2009-11-03 09:24:48 -08:00
Martin Kamerbeek
8a0b6ac3e6 Forgot to change some script tags back to using the minified version of the yui. 2009-10-23 15:30:34 +00:00
Martin Kamerbeek
3ba2ecf307 Merge branch 'master' of git@github.com:plainblack/webgui 2009-10-23 15:14:26 +00:00
Martin Kamerbeek
c078998fa2 Made th evendor payouts manager more intuitive and easy to use. 2009-10-23 15:11:07 +00:00
Martin Kamerbeek
22d2ab34cc Testing... 2009-10-23 12:24:35 +00:00
93b0e22680 fix: Fixed a bug where www_selectPaymentGateway was not templated (#11161) 2009-10-23 12:18:36 +00:00
f91f7d9838 Initial upload of the paydriver skeleton (RFE#10959) 2009-10-22 13:44:17 +00:00
Colin Kuskie
0ee4a7fa90 Make display of failed transactions more obvious in the Account/Shop plugin. 2009-10-19 15:21:39 -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
Colin Kuskie
23b1cb47c5 Parse tests, handling spaces. 2009-10-10 16:27:33 -07:00
Colin Kuskie
4ef66d1a51 More tests, refactor out rate parsing code. 2009-10-10 15:06:13 -07:00
Colin Kuskie
829c8ce9d8 USPS Insurance estimation code and tests. Basically working. 2009-10-09 16:28:20 -07:00
Colin Kuskie
5c84eb9306 Finish building insurance calculation method. Needs tests. 2009-10-07 22:16:30 -07:00
Colin Kuskie
e81ec9718c Cleanup previous attempt at insurance. Begin new attempt.
Add a field to the driver where the user can enter in insurance data with i18n.
Add a method to calculate the cost of insurance for all packages.
2009-10-07 19:53:43 -07:00
Colin Kuskie
2b4bfb8eec Test whether ValueOfContents works in Domestic rate estimates. 2009-10-07 19:53:43 -07:00
Colin Kuskie
4ee1f56aa3 Add UI and i18n for USPS insurance. 2009-10-07 19:53:42 -07:00
Colin Kuskie
aad5f55601 Fix a Shop bug dealing with shippers that are no longer available. Fixes bug #11001. 2009-09-28 16:04:09 -07:00
Colin Kuskie
e5ead13da3 Force the user to pick a shipping method before checking out. Implements RFE #10940
If there is only 1 shipping method, automatically choose it.  Displays
an message to the user if they have an address, but no shipping method.
2009-09-28 10:04:52 -07:00
Colin Kuskie
323edd888e More tests for bug fix #11009.
Abstract out making a session in WebGUI::Test.  Update POD
in Shop/Address.  Add tests for newBySession, showing that
the previous commit that allows update to update addressBookId
actually fixed the bug in question.
2009-09-21 19:44:43 -07:00
Colin Kuskie
f2e8d6a70b Allow addressBookId to be updated in an Address.
This is required for Address Book merging to work correctly in
Shop::AddressBook->newBySession.
2009-09-21 17:27:25 -07:00
Colin Kuskie
96255778f6 Fix POD in AddressBook. 2009-09-21 13:17:43 -07:00
Graham Knop
2d28e0c0ba update YUI to 2.8.0r4 2009-09-21 13:13:24 -05:00
Colin Kuskie
ff55ab1493 For USPS priority service, add another container type. 2009-09-06 20:23:12 -07:00
Colin Kuskie
e9e2155254 Handle UTF8 in XML data sent to ITransact. Adds a test. Fixes bug #10855. 2009-09-01 15:42:39 +00:00
Colin Kuskie
daf9284b55 Remove debug code. 2009-08-28 19:51:59 +00:00
Colin Kuskie
0b43ba64f4 Use the right group in the canView check for Shop settings. fixes #10845. 2009-08-28 15:50:00 +00:00
Colin Kuskie
d902174739 Provide warnings in the Cart and Ship Driver screens when there are no
shipping plugins configured.  This prevented checkout no feedback.
fixes #10849.
2009-08-28 15:35:40 +00:00
Colin Kuskie
278e4c6461 Log any errors found when calling Shop::Pay->getDrivers, instead of
silently passing them along.
2009-08-20 20:32:00 +00:00
Colin Kuskie
169e64a2b6 Fix a typo in getting the in store credit for the post-transaction email. 2009-08-11 04:41:42 +00:00