Programming Guide » History » Version 4
chin-yeh, 09/21/2011 12:53 PM
1 | 2 | chin-yeh | {{toc}} |
---|---|---|---|
2 | |||
3 | 1 | chin-yeh | h1. Programming Guide |
4 | 2 | chin-yeh | |
5 | Describes how to integrate the mPay into online mall. |
||
6 | |||
7 | 4 | chin-yeh | *Demo application:* |
8 | * Generate Redirect URL (for hosted payment form) |
||
9 | > http://192.168.2.68/ecosway/mpay-sample/payment_form.html |
||
10 | * Query payment status: |
||
11 | > http://192.168.2.68/ecosway/mpay-sample/query.html |
||
12 | 3 | chin-yeh | |
13 | 2 | chin-yeh | h2. Source files |
14 | |||
15 | > Get the source files from [[wiki#SCM|SCM]]. |
||
16 | |||
17 | *Files:* |
||
18 | * my.com.eCosway.mpay |
||
19 | ** Commons - list of common constant |
||
20 | ** MpayInterfaceUtils - an utility to perform data persistence related operation |
||
21 | ** MpayPaymentUtils - the mPay APIs |
||
22 | ** MpayProperties - data model of the mPay properties |
||
23 | ** PaymentRequest - data model of the mPay's payment request |
||
24 | ** PaymentResponse - data model of the mPay's payment response |
||
25 | * resources.properties.mpay |
||
26 | ** mpay.properties - the application properties file |
||
27 | 3 | chin-yeh | |
28 | *Demo application:* |
||
29 | > can be found in mpay-sample folder (web content) |