Project

General

Profile

Specification » History » Revision 2

Revision 1 (Soh Keong, 11/23/2012 04:38 PM) → Revision 2/39 (Soh Keong, 11/23/2012 04:39 PM)

h1. Specification 

 h1. Programming Guide 

 h2. Resources 

 h3. SCM 

 see [[wiki#SCM]] 

 h3. Classes 

 * *com.ecosway.mol.common* - CommonConstants, CommonProperties 
 * *com.ecosway.mol.dao* - MOLInterface 
 * *com.ecosway.mol.model* - CommonMOL, PaymentMOL, ResponseMOL 
 * *com.ecosway.mol.service* - MOLService 
 * *com.ecosway.mol.service.impl* - MOLServiceImpl 
 * *com.ecosway.mol.utils* - HashUtils 

 h3. properties file 

 * *mol.properties* 

 # *merchant.id*         - Merchant login name given by MOLPay 
 # *payment.url*         - Front-end payment page URL 
 # *verification.code* - Verify Key provided by MOLPay to merchant. 

 h3. Database Table 

 <pre> 
 CREATE TABLE ECOS.MOL_INTERFACE ( 
	 ORDER_ID VARCHAR(15) NOT NULL,  
	 TRX_TYPE VARCHAR(5), 
	 SHOPPER_REF_NO INTEGER, 
	 CURRENCY VARCHAR(3), 
	 CHARGE_AMT DECIMAL(15,2),  
	 APP_CODE VARCHAR(20),  
	 TRAN_ID INTEGER,  
	 STATUS VARCHAR(2),  
	 ERROR_CODE VARCHAR(20), 
	 ERROR_DESC VARCHAR(100), 
	 IS_VALID CHARACTER NOT NULL,  
	 PAY_DATE TIMESTAMP, 
	 CREATE_DATETIME TIMESTAMP NOT NULL, 
	 MODIFY_DATETIME TIMESTAMP,  
	 PRIMARY KEY (ORDER_ID)); 
 </pre>