From 6cb58eb73e19cdc95dd3adc142137552eb122a6a Mon Sep 17 00:00:00 2001
From: Martin Kamerbeek
Date: Wed, 28 May 2008 21:25:18 +0000
Subject: [PATCH] Reverted overzealous behaviour.
---
.../i18n/English/CommercePaymentCash.pm | 164 +++++++++++
.../i18n/English/CommercePaymentITransact.pm | 266 ++++++++++++++++++
2 files changed, 430 insertions(+)
create mode 100755 lib/WebGUI/i18n/English/CommercePaymentCash.pm
create mode 100755 lib/WebGUI/i18n/English/CommercePaymentITransact.pm
diff --git a/lib/WebGUI/i18n/English/CommercePaymentCash.pm b/lib/WebGUI/i18n/English/CommercePaymentCash.pm
new file mode 100755
index 000000000..679915e6c
--- /dev/null
+++ b/lib/WebGUI/i18n/English/CommercePaymentCash.pm
@@ -0,0 +1,164 @@
+package WebGUI::i18n::English::CommercePaymentCash;
+use strict;
+
+our $I18N = {
+ 'label' => {
+ message => q|Cash|,
+ lastUpdated => 0,
+ context => q|Default Cash payment gateway label|
+ },
+ 'phone' => {
+ message => q|Telephone Number|,
+ lastUpdated => 0,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'country' => {
+ message => q|Country|,
+ lastUpdated => 0,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'firstName' => {
+ message => q|First name|,
+ lastUpdated => 0,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'lastName' => {
+ message => q|Last name|,
+ lastUpdated => 0,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'address' => {
+ message => q|Address|,
+ lastUpdated => 1101772170,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'city' => {
+ message => q|City|,
+ lastUpdated => 1101772171,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'state' => {
+ message => q|State|,
+ lastUpdated => 1101772173,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'zipcode' => {
+ message => q|Zipcode|,
+ lastUpdated => 1101772174,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'email' => {
+ message => q|Email|,
+ lastUpdated => 1101772176,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'cardNumber' => {
+ message => q|Credit card number|,
+ lastUpdated => 1101772177,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'expiration date' => {
+ message => q|Expiration date|,
+ lastUpdated => 1101772180,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'cvv2' => {
+ message => q|Verification number (ie. CVV2)|,
+ lastUpdated => 1101772182,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+
+ 'vendorId' => {
+ message => q|Username (Vendor ID)|,
+ lastUpdated => 0,
+ context => q|Form label in the configuration form of the iTransact module.|
+ },
+ 'use cvv2' => {
+ message => q|Use CVV2|,
+ lastUpdated => 0,
+ context => q|Form label in the configuration form of the iTransact module.|
+ },
+ 'emailMessage' => {
+ message => q|Email message|,
+ lastUpdated => 0,
+ context => q|Form label in the configuration form of the iTransact module.|
+ },
+ 'password' => {
+ message => q|Password|,
+ lastUpdated => 0,
+ context => q|Form label in the configuration form of the iTransact module.|
+ },
+
+ 'module name' => {
+ message => q|Cash|,
+ lastUpdated => 0,
+ context => q|The displayed name of the payment module.|
+ },
+
+ 'invalid firstName' => {
+ message => q|You have to enter a valid first name.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid first name has been entered.|
+ },
+ 'invalid lastName' => {
+ message => q|You have to enter a valid last name.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid last name has been entered.|
+ },
+ 'invalid address' => {
+ message => q|You have to enter a valid address.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid street has been entered.|
+ },
+ 'invalid city' => {
+ message => q|You have to enter a valid city.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid city has been entered.|
+ },
+ 'invalid zip' => {
+ message => q|You have to enter a valid zipcode.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid zipcode has been entered.|
+ },
+ 'invalid email' => {
+ message => q|You have to enter a valid email address.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid email address has been entered.|
+ },
+ 'no description' => {
+ message => q|No description|,
+ lastUpdated => 0,
+ context => q|The default description of purchase of users.|
+ },
+ 'cash' => {
+ message => q|Cash|,
+ lastUpdated => 0,
+ context => q|Option to use physical money as a form of payment.|
+ },
+ 'check' => {
+ message => q|Check|,
+ lastUpdated => 0,
+ context => q|Option to use a check as a form of payment.|
+ },
+ 'other' => {
+ message => q|Other|,
+ lastUpdated => 0,
+ context => q|Option to use a something aside from cash or check as a payment.|
+ },
+ 'payment method' => {
+ message => q|Payment Method|,
+ lastUpdated => 0,
+ context => q|Label for selecting how to pay for this purchase.|
+ },
+ 'complete transaction' => {
+ message => q|Complete Transaction on Submit?|,
+ lastUpdated => 0,
+ },
+ 'complete transaction description' => {
+ message => q|When set to 'yes', the transaction is completed when the user submits payment details. When set to 'no', the transaction is set to pending and must be manually set to complete. This may be useful if you wish to allow site visitors to select the Cash Payment method, but would like to wait for payment to clear before completing the transaction.|,
+ lastUpdated => 0,
+ },
+};
+
+1;
+
diff --git a/lib/WebGUI/i18n/English/CommercePaymentITransact.pm b/lib/WebGUI/i18n/English/CommercePaymentITransact.pm
new file mode 100755
index 000000000..876fd7592
--- /dev/null
+++ b/lib/WebGUI/i18n/English/CommercePaymentITransact.pm
@@ -0,0 +1,266 @@
+package WebGUI::i18n::English::CommercePaymentITransact;
+use strict;
+
+our $I18N = {
+ 'label' => {
+ message => q|Credit Card|,
+ lastUpdated => 0,
+ context => q|Default ITransact payment gateway label|
+ },
+ 'phone' => {
+ message => q|Telephone Number|,
+ lastUpdated => 0,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'country' => {
+ message => q|Country|,
+ lastUpdated => 0,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'firstName' => {
+ message => q|First name|,
+ lastUpdated => 0,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'lastName' => {
+ message => q|Last name|,
+ lastUpdated => 0,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'address' => {
+ message => q|Address|,
+ lastUpdated => 1101772170,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'city' => {
+ message => q|City|,
+ lastUpdated => 1101772171,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'state' => {
+ message => q|State|,
+ lastUpdated => 1101772173,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'zipcode' => {
+ message => q|Zipcode|,
+ lastUpdated => 1101772174,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'email' => {
+ message => q|Email|,
+ lastUpdated => 1101772176,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'cardNumber' => {
+ message => q|Credit card number|,
+ lastUpdated => 1101772177,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'expiration date' => {
+ message => q|Expiration date|,
+ lastUpdated => 1101772180,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+ 'cvv2' => {
+ message => q|Verification number (ie. CVV2)|,
+ lastUpdated => 1101772182,
+ context => q|Form label in the checkout form of the iTransact module.|
+ },
+
+ 'vendorId' => {
+ message => q|Username (Vendor ID)|,
+ lastUpdated => 0,
+ context => q|Form label in the configuration form of the iTransact module.|
+ },
+ 'use cvv2' => {
+ message => q|Use CVV2|,
+ lastUpdated => 0,
+ context => q|Form label in the configuration form of the iTransact module.|
+ },
+ 'emailMessage' => {
+ message => q|Email message|,
+ lastUpdated => 0,
+ context => q|Form label in the configuration form of the iTransact module.|
+ },
+ 'password' => {
+ message => q|Password|,
+ lastUpdated => 0,
+ context => q|Form label in the configuration form of the iTransact module.|
+ },
+
+ 'module name' => {
+ message => q|iTransact (CDG Commerce)|,
+ lastUpdated => 0,
+ context => q|The displayed name of the payment module.|
+ },
+
+ 'invalid firstName' => {
+ message => q|You have to enter a valid first name.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid first name has been entered.|
+ },
+ 'invalid lastName' => {
+ message => q|You have to enter a valid last name.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid last name has been entered.|
+ },
+ 'invalid address' => {
+ message => q|You have to enter a valid address.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid street has been entered.|
+ },
+ 'invalid city' => {
+ message => q|You have to enter a valid city.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid city has been entered.|
+ },
+ 'invalid zip' => {
+ message => q|You have to enter a valid zipcode.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid zipcode has been entered.|
+ },
+ 'invalid email' => {
+ message => q|You have to enter a valid email address.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid email address has been entered.|
+ },
+ 'invalid card number' => {
+ message => q|You have to enter a valid credit card number.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid credit card number has been entered.|
+ },
+ 'invalid cvv2' => {
+ message => q|You have to enter a valid card security code (ie. cvv2).|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid card security code has been entered.|
+ },
+ 'invalid expiration date' => {
+ message => q|You have to enter a valid expiration date.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an invalid expiration date has been entered.|
+ },
+ 'expired expiration date' => {
+ message => q|The expiration date on your card has already passed.|,
+ lastUpdated => 0,
+ context => q|An error indicating that an an expired card was used.|
+ },
+ 'no description' => {
+ message => q|No description|,
+ lastUpdated => 0,
+ context => q|The default description of purchase of users.|
+ },
+ 'show terminal' => {
+ message => q|Click here to use your virtual terminal.|,
+ lastUpdated => 0,
+ context => q|The label of the link that points to the virtual terminal login.|
+ },
+ 'extra info' => {
+ message => q|Setting up your ecommerce site is as easy as these few steps:
+
+Step 1: Get A Merchant Account
+Register for a merchant account now to get started processing online transactions.
+
+
+
+Step 2: Set Up Your Merchant Account Info
+See the information toward the bottom of this page to set up your merchant account info.
+
+
+
+Step 3: Get An SSL Certificate
+Get an SSL Certificate from CompleteSSL.
+
+
+
+Step 4: Install The Certificate
+Contact your hosting provider to install your certificate or install it yourself.
+
+
+
+
+Step 5: Enable IP Address
+For added security the system will not allow just anyone to post requests to the merchant account. We have to tell the merchant account what the IP address of our site (or sites) is. To do this go to your virtual terminal and log in. Go to Account Settings > Fraud Control > and click on the "IP Filter Settings" link. There enter the IP address of your server Set the status to Active and set the module to XML, then hit go. Contact your system administrator for your server IP address. You'll also need to send an email to support@cdgcommerce.com to let them know that you wish to enable the XML API.
+
+
+
+Step 6: Enable The Commerce System
+Set the enabled field to "Yes" in your WebGUI commerce settings.
+
+
+
+Step 7: Optionally Accept American Express, Discover, and Diners Club
+By default you'll only be able to accept MasterCard and Visa. If you want to accept others you'll need to follow these steps:
+
+ - Call the credit card vendor to apply:
+
+ - American Express: (800) 528-5200
+ - Discover: (800) 347-2000
+ - Diners Club: (800) 525-7376
+
+
+ - Send the account numbers that you get from those companies to merchantchanges@cdgcommerce.com to get them registered with your merchant account.
+ - Go to your virtual terminal and enable these cards under your Account settings.
+
+
+
+
+Step 8: Optionally Accept eChecks
+After you have your iTransact/CDGCommerce merchant account set up, you can optionally add the ability to accept eChecks by filling out this application.
+
+
+
+
+This plugin expects that you set up the following recipe's in your CDG account. Be very careful to enter the recipe names exactly as given below.
+
+
+ | weekly |
+ -> |
+ 7 days |
+
+
+ | biweekly |
+ -> |
+ 14 days |
+
+
+ | fourweekly |
+ -> |
+ 28 days |
+
+
+ | monthly |
+ -> |
+ 30 days |
+
+
+ | quarterly |
+ -> |
+ 91 days |
+
+
+ | halfyearly |
+ -> |
+ 182 days |
+
+
+ | yearly |
+ -> |
+ 365 days |
+
+
+Please note that some of these recipe's are only roughly correct. They don't 'fit' exactly in a whole year. Below the affected recipe's are given together with their difference on a year's basis.
+
+ - monthly (differs 5 days each year, 6 days each leap year)
+ - quarterly (differs 1 day each year, 2 days each leap year)
+ - halfyearly (differs 1 day each year, 2 days each leap year)
+ - yearly (differs 1 day each leap year)
+
+Also set the 'RECURRING POST-BACK URL' field in the Account Settings part of the virtual terminal to:|,
+ lastUpdated => 1189004971,
+ context => q|An informational message that's shown in the configuration form of this plugin.|
+ },
+};
+
+1;
+