java.net.ConnectException:
Connection refused: connect in the browser when submitting a payment.
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException:
Couldn't find trusted certificate in the browser when submitting a payment.
org.xml.sax.SAXParseException: The value of attribute "message" must
not contain the '<' character in the browser when submitting a payment.
Error! The payment engine failed to bind to the listening port.
Please determine if the port is already in use before proceeding. Shutting
down...
The pelog.txt file contains
java.net.BindException: Address already in use:
JVM_Bind.
pelog.txt:
Error reading keystore file, ensure the file exists and configured
properly...shutting down. java.io.FileNotFoundException:
C:\bea\c2gdomain\applications\Click2GovXX\PaymentEngine\pe.jks
(The system cannot find the file specified)
pelog.txt contains the error
java.io.IOException: Keystore was
tampered with, or password was incorrect
An error occurred while processing this transaction:
java.io.FileNotFoundException:
C:\bea\c2gdomain\applications\Click2GovX\PaymentEngine\pe.key
(The system cannot find the file specified)
An error occurred while processing this transaction:
com.hteinc.util.HTEException: An error has occurred while processing
your payment. Please contact the system administrator
An error occurred while processing this transaction:
java.lang.SecurityException: User does not have sufficient privilege to
access the requested service
An error occurred while processing this
transaction: com.hteinc.payment.domain.HTEPaymentParameterException:
The tender account number entered is not listed in the test merchant
configuration in use. Please contact the system administrator.
Check the PortNumber parameter for the Authorization
servlet in the \bea\c2gdomain\applications\Click2GovXX\web\WEB-INF\web.xml
file and verify it is configured to connect to the port number the
payment engine is listening on. To determine the port number the
payment engine is listening on, type status in the DOS window
where the payment engine is running and press Enter, or look
in the \bea\c2gdomain\applications\Click2GovXX\PaymentEngine\ccpProxy.properties
at the Application.PortNumber entry.
hte.cfg entry
PaymentInterface.TrustStore.
Verify the drive letter is correct, as well as the path and file name. By
default, the file should be configured as
[InstallDriveLetter]:\bea\c2gdomain\common\pekeys.jks
PaymentInterface.TrustStore above
does not exist.
The pekeys.jks file is created the first time the C2GKeyTool.bat
utility is run. The batch file can be found in
\bea\c2gdomain\applications\Click2GovXX\PaymentEngine.
hte.cfg entry PaymentInterface.KeyStorePwd
is incorrect. Verify the password matches the password used to create the keystore.
From a DOS prompt, change directory to the common directory and use the keytool
to access the keystore
hte.cfg file
is correct.
pekeys.jks exists, but the certificate containing the public key for the payment
engine is not in the keystore.
You need to verify the certificate is in the trusted store. Because the certificate is a private certificate and not signed by a recognized CA, we must instruct the web application to trust the certificate using a trust store. It is possible the payment engine's public key and certificate were not added into the web server's trust store. To check this:
From a DOS prompt, change directory to the common directory and use the keytool
to access the keystore
keytool to access the keystore
pe.jks
from the payment engine directory and run the C2GKeyTool.bat
from the Payment Engine directory again.
If you have two or more web apps installed, say BP and CX, that
use the new payment engine, they must be configured to point
to the same common trusted keystore. This means the
hte.cfg files in the cfg directories must
refer to the same keystore, [DriveLetter]:\bea\c2gdomain\common\pekeys.jks.
If they do not refer to the same keystore, only one application
will function correctly because only one keystore can be loaded
in the single Java Virtual Machine in which all the web
applications run under.
The
schema documents HTEPayments.xsd and HTEPaymentsTypes.xsd
should be located in the directory \bea\c2gdomain\applications\Click2GovXX\web\schema.
ccpProxy.properties in the PaymentEngine directory
is not configured correctly. The entry should contain the url where
the schema document HTEPayments.xsd is located.
The entry Application.XML.Validation.Source should look like
Application.XML.Validation.Source entry in the
ccpProxy.properties file is not configured for the correct
protocol (http or https).
Verify the schema document can be retrieved using a web browser. Take
the url from the Application.XML.Validation.Source entry.
If it comes up in the browser and it is configured to use
https, you will need to update the Java cacerts
file.
The cacerts file that ships with BEA does not contain the Verisign
class 3 public primary root certificate. Download a version that
does here. You will need to replace
the existing copy in \bea\jdk141_0x\jre\lib\security.
After replacing it, you'll need to restart the payment engine for the
change to take affect.
To determine if the port is already in use, open a DOS shell and
run the netstat command:
If the port is in use, wait a few minutes and try starting the payment engine again. Because of the way TCP is designed, it is possible the port is no longer in use but has not been completely shut down. If after a few minutes it is still in use, it will probably be necessary to configure the payment engine and web application to use a different port number.
Application.KeyStore.Name points to the
location of the pe.jks and verify the file exists.
IOException when it starts.
Verify the Application.KeyStore.Password contains the
correct password.
pe.key and kept in the payment engine
directory.
Verify the Key entry in the file
\bea\c2gdomain\applications\Click2GovXX\PaymentEngine\hte.cfg
contains the correct path to the encryption file. Also verify the key
file exists. If the file does not exist, run the batch file
genencryptkey.bat in the PaymentEngine directory.
If a change is made, you must restart the payment engine.
com.hteinc.payment.domain.HTEMerchantConfig.checkPermission.
To resolve this issue, check that the web application's hte.cfg file is configured to use a
merchant entry in that is listed in the payment engine's
Merchants.xml file. To check this, open the web application's
\bea\c2gdomain\applications\Click2GovXX\cfg\hte.cfg file
to determine the PaymentInterface.MerchantId value. Next,
open the \bea\c2gdomain\applications\Click2GovXX\PaymentEngine\xml\Merchants.xml
file and verify the merchant id listed in the hte.cfg
exists in the Merchants.xml.
For more information, see merchant configuration documentation for more information.
To resolve this issue, check that the web application's hte.cfg file is configured to use a
merchant user id and pasword listed in a <ServiceAccess>
in the Merchants.xml file. To check this, open the web application's
\bea\c2gdomain\applications\Click2GovXX\cfg\hte.cfg file
to determine the PaymentInterface.MerchantUid and
PaymentInterface.MerchantPwd values. Next,
open the \bea\c2gdomain\applications\Click2GovXX\PaymentEngine\xml\Merchants.xml
file and verify a <ServiceAccess> exists for the
merchant account that is to be used, and it is configured with the
same user id and password as specified in the hte.cfg file.
For more information, see merchant configuration documentation.
<TestTender> in the
Merchants.xml file.
To resolve this issue, open the Merchants.xml file in
the PaymentEngine's xml directory and verify the <Merchant>
configuration in use contains a <TestTender> with
the credit card number the user is testing with. If it is not listed,
create a new <TestTender> with the card number
and restart the payment engine.
For more information, see merchant configuration documentation.
K1APII01, K1APII02, and K1APII03
HTEGPL or HTEPGM depending if they
are Naviline clients. Use the SQL:
SQL_DATA_ACCESS. If
the column is listed as CONTAINS, the registration
programs K1CSP and K1CSP1 need to be sent
again, compiled and run.
C2GXXPMT is contained in the
HT005AP entry for the application.
Each application should have an entry added to HT005AP with the AppCode being the 'K' code for the application. The library C2GXXPMT should be in the list.
Verify the AppCode entry in the hte.cfg in the web application cfg folder uses the K code.