Actions
Wiki » History » Revision 2
« Previous |
Revision 2/4
(diff)
| Next »
Soh Keong, 04/01/2013 11:32 AM
Wiki¶
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.
Project requirement.¶
- Jboss Application Server 4
- JDK 5
- Maven 2
- Eclipse (to modify the created project)
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.
SCM¶
Host: cwyrnd2-server [IP address:192.168.2.11] Path: d:/source/ecoswayNew Module: ecpg Tag: HEAD
Updated by Soh Keong over 11 years ago · 2 revisions