Project

General

Profile

Actions

Specification » History » Revision 1

Revision 1/6 | Next »
Soh Keong, 03/31/2021 03:52 PM


Specification

Activity Diagram

Programming Guide

Jar version

version Description
1.o Init

Jar File Download

"Jar":
"Properties":

properties file

  • ctcb.properties
  1. merchant.id
  2. terminal.id
  3. mer.id
  4. key
  5. payment.url.credit.card
  1. CONNECTION_TIMEOUT
  2. 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)
  1. conn - Database connection.
  2. payment - PaymentCtcb object.
  • orderId - Order ID.
  • amount - Transaction amount.
  • currency - com.aces.ctcb.common.CommonConstants.CURRENCY_CODE_TAIWAN
  • trxType -
  • returnURL -
  • shopperRefNo -
  • InstallPeriod - If applicable
  • TrxTypeCtcb - com.aces.ctcb.common.CommonConstants.TRANSACTION_TYPE_NORMAL || INSTALLMENT
  • Language - com.aces.ctcb.common.CommonConstants.CUSTOMIZE_TRADITIONAL_CHINESE || SIMPLIFIED_CHINESE || ENGLISH

Updated by Soh Keong over 3 years ago · 1 revisions