Actions
Specification » History » Revision 3
« Previous |
Revision 3/6
(diff)
| Next »
Soh Keong, 03/31/2021 05:15 PM
- Table of contents
- Specification
- Activity Diagram
- Programming Guide
Specification¶
Activity Diagram¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.o | Init |
Jar File Download¶
"Jar":
"Properties":
properties file¶
- ctcb.properties
- merchant.id
- terminal.id
- mer.id
- key
- payment.url.credit.card
- CONNECTION_TIMEOUT
- READ_TIMEOUT
Database Table¶
China Trust Service¶
com.aces.ctcb.service.ChinaTrustService service = new com.aces.ctcb.service.ChinaTrustService();
getURL¶
String url = service.getURL(Connection conn, PaymentCtcb payment)
- conn - Database connection.
- payment - PaymentCtcb object.
- orderId - Order ID.
- amount - Transaction amount.
- currency - com.aces.ctcb.common.CommonConstants.CURRENCY_CODE_TAIWAN
- trxType -
- returnURL -
- shopperRefNo -
- InstallPeriod - IGNORE if not applicable
- TrxTypeCtcb - com.aces.ctcb.common.CommonConstants.TRANSACTION_TYPE_NORMAL || INSTALLMENT
- Language - com.aces.ctcb.common.CommonConstants.CUSTOMIZE_TRADITIONAL_CHINESE || SIMPLIFIED_CHINESE || ENGLISH
updateTransaction¶
ResponseCtcb res = updateTransaction(Connection conn, HttpServletRequest request)
- ResponseCtcb
- recordErrorCode -
- recordErrorMsg -
- trxErrorCode -
- trxErrorMsg -
- status -
- orderId - String
- amount - double
- trxType -
- authCode
- termSeq
- TranId
- valid
Updated by Soh Keong over 3 years ago · 3 revisions