Actions
Specification » History » Revision 4
« Previous |
Revision 4/6
(diff)
| Next »
Soh Keong, 04/15/2021 11:45 AM
- Table of contents
- Specification
- Activity Diagram
- Programming Guide
Specification¶
Activity Diagram¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.o | Init |
Jar File Download¶
properties file¶
- ctcb.properties
- merchant.id
- terminal.id
- mer.id
- key
- terminal.id.installment
- mer.id.installment
- key.installment
- 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 · 4 revisions