Wiki » History » Revision 2
Revision 1 (Soh Keong, 04/01/2013 11:23 AM) → Revision 2/4 (Soh Keong, 04/01/2013 11:32 AM)
{{toc}} h1. Wiki h2. h3. Step to Create Payment Gateway. 1. Enter Project Name (without space). 2. Enter name and value that will be store in properties file. > * If the name will be part of URL parameter, please follow the exactly the URL parameter name. > * Example : https:\\....com\ecosway? *merchantID* =ecosway. In the Name column pls enter *merchantID* 3. There will be 3 class files created for model class in this page, > * Common - The value will available in Payment and Response (super class for Payment and Response model). > * Payment - Will be the parameter to pass in from Mall to Payment Gateway and value that need to store in table. > * Response - Parameter that Payment Gateway response back to Mall. 4. SQL file will be created with create table statement. 5. 3 sections for 2 sql statements. Insert and Update statement. > * First section is for Insert statement. > * Second and third section is for Update statement. 6. 3 sections for 2 items. > * First section, OrderID will be use in select VALID field in table. > * Second and third section is the format of URL. 7. Finally, files is created for download. h2. Project requirement. # Jboss Application Server 4 # JDK 5 # Maven 2 # Eclipse (to modify the created project) h2. Project deployment # download source from SCM and export to war. # copy to Jboss AS. # copy folder *template* from SCM to /data/pgcreator/. # copy file properties/*creator.properties* to /data/pgcreator/. # startup Jboss AS. h2. SCM <pre> Host: cwyrnd2-server [IP address:192.168.2.11] Path: d:/source/ecoswayNew Module: ecpg Tag: HEAD </pre>