Wiki » History » Version 1
Soh Keong, 04/01/2013 11:23 AM
1 | 1 | Soh Keong | h1. Wiki |
---|---|---|---|
2 | |||
3 | h3. Step to Create Payment Gateway. |
||
4 | |||
5 | 1. Enter Project Name (without space). |
||
6 | 2. Enter name and value that will be store in properties file. |
||
7 | > * If the name will be part of URL parameter, please follow the exactly the URL parameter name. |
||
8 | > * Example : https:\\....com\ecosway? *merchantID* =ecosway. In the Name column pls enter *merchantID* |
||
9 | |||
10 | 3. There will be 3 class files created for model class in this page, |
||
11 | |||
12 | > * Common - The value will available in Payment and Response (super class for Payment and Response model). |
||
13 | > * Payment - Will be the parameter to pass in from Mall to Payment Gateway and value that need to store in table. |
||
14 | > * Response - Parameter that Payment Gateway response back to Mall. |
||
15 | |||
16 | 4. SQL file will be created with create table statement. |
||
17 | |||
18 | 5. 3 sections for 2 sql statements. Insert and Update statement. |
||
19 | > * First section is for Insert statement. |
||
20 | > * Second and third section is for Update statement. |
||
21 | |||
22 | 6. 3 sections for 2 items. |
||
23 | > * First section, OrderID will be use in select VALID field in table. |
||
24 | > * Second and third section is the format of URL. |
||
25 | |||
26 | 7. Finally, files is created for download. |