Wiki » History » Version 3
Soh Keong, 04/01/2013 11:33 AM
1 | 2 | Soh Keong | {{toc}} |
---|---|---|---|
2 | |||
3 | 1 | Soh Keong | h1. Wiki |
4 | |||
5 | 2 | Soh Keong | h2. Step to Create Payment Gateway. |
6 | 1 | Soh Keong | |
7 | 1. Enter Project Name (without space). |
||
8 | 2. Enter name and value that will be store in properties file. |
||
9 | > * If the name will be part of URL parameter, please follow the exactly the URL parameter name. |
||
10 | > * Example : https:\\....com\ecosway? *merchantID* =ecosway. In the Name column pls enter *merchantID* |
||
11 | |||
12 | 3. There will be 3 class files created for model class in this page, |
||
13 | |||
14 | > * Common - The value will available in Payment and Response (super class for Payment and Response model). |
||
15 | > * Payment - Will be the parameter to pass in from Mall to Payment Gateway and value that need to store in table. |
||
16 | > * Response - Parameter that Payment Gateway response back to Mall. |
||
17 | |||
18 | 4. SQL file will be created with create table statement. |
||
19 | |||
20 | 5. 3 sections for 2 sql statements. Insert and Update statement. |
||
21 | > * First section is for Insert statement. |
||
22 | > * Second and third section is for Update statement. |
||
23 | |||
24 | 6. 3 sections for 2 items. |
||
25 | > * First section, OrderID will be use in select VALID field in table. |
||
26 | > * Second and third section is the format of URL. |
||
27 | |||
28 | 7. Finally, files is created for download. |
||
29 | 2 | Soh Keong | |
30 | h2. Project requirement. |
||
31 | |||
32 | # Jboss Application Server 4 |
||
33 | # JDK 5 |
||
34 | # Maven 2 |
||
35 | # Eclipse (to modify the created project) |
||
36 | |||
37 | h2. Project deployment |
||
38 | |||
39 | # download source from SCM and export to war. |
||
40 | # copy to Jboss AS. |
||
41 | # copy folder *template* from SCM to /data/pgcreator/. |
||
42 | # copy file properties/*creator.properties* to /data/pgcreator/. |
||
43 | # startup Jboss AS. |
||
44 | |||
45 | h2. SCM |
||
46 | |||
47 | <pre> |
||
48 | Host: cwyrnd2-server [IP address:192.168.2.11] |
||
49 | Path: d:/source/ecoswayNew |
||
50 | 3 | Soh Keong | Module: PGCreator |
51 | 2 | Soh Keong | Tag: HEAD |
52 | </pre> |