Actions
- Table of contents
- Specification
- Activity Diagram
- Programming Guide
Specification¶
Activity Diagram
¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.3 | Init |
Jar File Download¶
properties file¶
- bbl2.properties.properties
- payment.url
- currency.code
- merchant.id
Database Table¶
CREATE TABLE BBL_INTERFACE ( ORDER_ID VARCHAR(15) NOT NULL, TRX_TYPE VARCHAR(5), SHOPPER_REF_NO INTEGER, CHARGE_AMT DECIMAL(15,2), STATUS VARCHAR(2), ERROR_CODE VARCHAR(3), ERROR_DESC VARCHAR(60), IPAY_REF VARCHAR(12), APPROVAL_CODE VARCHAR(6), IS_VALID CHARACTER NOT NULL, PAY_DATE TIMESTAMP, CREATE_DATETIME TIMESTAMP NOT NULL, MODIFY_DATETIME TIMESTAMP, PRIMARY KEY (ORDER_ID))
com.ecosway.bbl.service.BBLService service = new com.ecosway.bbl.service.impl.BBLServiceImpl();
getURL¶
String URL = service.getURL2(Connection conn, PaymentBBL payment);
- conn - Database connection.
- payment - PaymentBBL object.
- orderID
- amount
- remark
- transactionType
- shopperRefID
- urlCancel
- urlFail
- urlSuccess
- language - T:Thai ; E:English
Update BBL Response into Database¶
com.ecosway.bbl.service.ResponseBBL res = service.updateTransaction(Connection conn, HttpServletRequest request)
- ResponseBBL
- orderID
- amount
- transactionType
- responseCode
- responseMsg
- payDate
- status
- iPayRef
- approvalCode
Updated by Soh Keong almost 4 years ago ยท 3 revisions