Project

General

Profile

Wiki » History » Version 4

Soh Keong, 04/01/2013 11:38 AM

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