Administer > Manage WebSphere Commerce features > Payments subsystem > Configure payment plug-ins > Configuring the Paymentech plug-in
Configure a merchant to access the Paymentech gateway
Before a store can use the Paymentech plug-in to process payments, configure a merchant to access the Paymentech gateway.
Procedure
- Open the Administration Console.
- From the Administration Console Site/Store Selection page, select the Store radio button.
- In the Store Name field, select a store, then click OK.
- Create a new merchant:
- In the Administration Console Logon page, enter following in the address line:
https://host:port/webapp/wcs/admin/servlet/PPCMerchantEdit?actionName=create&merchantName=merchant name Where:
- merchant name
- Is the name of the merchant to create.
- Associate the merchant with the store, the merchant will be associated with the store when logging on to the Administration Console. In the URL line enter:
https://host:port/webapp/wcs/admin/servlet/PPCStoreMerchantAssociate?actionName=create&merchantId=merchantID
Where:
- merchantId
- The merchantId. Note, to determine the merchantId run the following SQL statement: select * from merchant and identify the merchant that you created in step 4.
- Configure the merchant to use Paymentech.
- Encrypt the PROPERTY_VALUE of for the following records:
- DIVISION_USD
- PRESENTERS_ID
- PID_PASSWORD
- SUBMITTERS_ID
- SID_PASSWORD
- Insert the following records to the MERCHCONFINFO table using the encrypted values you obtained in the previous step.
INSERT INTO MERCHCONFINFO (MERCHCONFINFO_ID,MERCHCONF_ID,PROPERTY_NAME,PROPERTY_VALUE,ENCRYPTED,OPTCOUNTER)VALUES(maxId+1,merchantConfid,'DIVISION_USD','encryptedvalue',1,0); INSERT INTO MERCHCONFINFO (MERCHCONFINFO_ID,MERCHCONF_ID,PROPERTY_NAME,PROPERTY_VALUE,ENCRYPTED,OPTCOUNTER)VALUES(maxId+1,merchantConfid,'PRESENTERS_ID','encryptedvalue',1,0); INSERT INTO MERCHCONFINFO (MERCHCONFINFO_ID,MERCHCONF_ID,PROPERTY_NAME,PROPERTY_VALUE,ENCRYPTED,OPTCOUNTER)VALUES(maxId+1,merchantConfid,'PID_PASSWORD','encryptedvalue',1,0); INSERT INTO MERCHCONFINFO (MERCHCONFINFO_ID,MERCHCONF_ID,PROPERTY_NAME,PROPERTY_VALUE,ENCRYPTED,OPTCOUNTER)VALUES(maxId+1,merchantConfid,'SUBMITTERS_ID','encryptedvalue',1,0); INSERT INTO MERCHCONFINFO (MERCHCONFINFO_ID,MERCHCONF_ID,PROPERTY_NAME,PROPERTY_VALUE,ENCRYPTED,OPTCOUNTER)VALUES(maxId+1,merchantConfid,'SID_PASSWORD','encryptedvalue',1,0);
- In a browser address line enter the following command: PPCMerchantConfigurationInfoEdit?actionName=create&merchantConfId=merchantConfId&propertyName_1=TRANSACTION_TYPE&propertyValue_1=1
Paymentech provides a DIVISION NUMBER for each currency supported by the merchant. propertyName_1 is specified by the currency supported by the merchant configuration and the propertyName_1 is provided by Paymentech. For example, USD and CAD are supported by the merchant configuration, and the DIVISION NUMBERS provided by the Paymentech are 123456 and 654321. The SQL statement is:
INSERT INTO MERCHCONFINFO (MERCHCONFINFO_ID,MERCHCONF_ID,PROPERTY_NAME,PROPERTY_VALUE,ENCRYPTED,OPTCOUNTER) VALUES(maxId+1,merchantConfid,'DIVISION_USD','encryptedvalueof 123456 ',1,0); INSERT INTO MERCHCONFINFO (MERCHCONFINFO_ID,MERCHCONF_ID,PROPERTY_NAME,PROPERTY_VALUE,ENCRYPTED,OPTCOUNTER) VALUES(maxId+1,merchantConfid,'DIVISION_CAD','encryptedvalueof 654321',1,0);
Where:
- paymentconfigurationgroup
- Is the name of the payment configuration group. If you did not set up a payment configuration group, type default.
- merchantConfId
- To determine the merchantConfId run the following SQL statement: select * from merchconf and identify the record of merchant configuration that you created in step 5b.
- DIVISION_USD
- The format of the name of the currency in MERCHCONFINFO table should be DIVISION_currencyCode. The following currencies have been tested:
- CAD
- Canadian dollar
- EUR
- European euro currency
- USD
- United States dollar
- JPY
- Japanese yen
If the merchant configuration should support both USD and CAD, then insert the merchant configuration information for both currencies. For example, insert property name DIVISION_USD and DIVISION_CAD.
- PRESENTERS_ID
- Provided by Paymentech.
- PID_PASSWORD
- Provided by Paymentech.
- SUBMITTERS_ID
- Provided by Paymentech.
- SID PASSWORD
- Provided by Paymentech.
- TRANSACTION_TYPE
- Provided by Paymentech.
What to do next
Configure the Paymentech plugin.
Related concepts
Paymentech plug-in batch states
Related tasks
Configure the Paymentech plug-in
Migrate from the WCPayments plug-in using the Paymentech cassette to the Paymentech plug-in
Migrate from the Paymentech cassette to the Paymentech plug-in
Related reference
Troubleshoot: Recovering Paymentech processing errors