Project

General

Profile

Actions

Deployment Guide

This guide is mainly for first-time deployment. For the subsequences deployment, you should only deploy the files you have modified.

see also Programming Guide

Steps:
  1. Execute the MPAY_INTERFACE SQL to create the payment interface table
  2. Follow the instructions in this FAQ to remove the restriction on cryptographic strength.
    • overwrite the existing policies files if exists
  3. Go to the Files tab, and then download the following certificate files:
    • choose one only:
      • cert_test.zip - for test environment
      • cert_prod.zip - for live environment
  4. Extract the downloaded certificate file (cert_test.zip or cert_prod.zip) and place it into the following location:
    • server.crt - place it in the folder [/data/mpay]
    • merchant.p12 - place it in the folder [/data/mpay]
  5. Go to the Files tab again, then download the following libraries and then upload it to [.../WEB-INF/lib]:
    • bcprov-jdk14-125.jar
    • MerchantAdmin.jar
    • MerchantClient.jar
  6. Prepare the following files and these files can be found in SCM:
    • Java class files
      • all of the files in my.com.eCosway.mpay
    • properties files
      • /resources/properties/mpay.properties
  7. edit the mpay.properties based on the Merchant Account Details.
  8. Deploy those files that prepared in the previous step to application server:
    • Java class files - to [.../WEB-INF/classes]
    • properties files - to [.../WEB-INF/classes]
  9. Restart the application server
  10. Done

Updated by chin-yeh over 12 years ago · 9 revisions