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¶
- wire.properties
- merchant.id
- transaction.type
- payment.method
- cardholder
- payment.username
- payment.password
- payment.url
- payment.secret
- CONNECTION_TIMEOUT
- READ_TIMEOUT
Database Table¶
CREATE TABLE WIRE_INTERFACE ( ORDER_ID VARCHAR(15) NOT NULL, TRX_TYPE VARCHAR(5), SHOPPER_REF_NO INTEGER, CURRENCY VARCHAR(3), CHARGE_AMT DECIMAL(15,2), STATUS VARCHAR(15), ERROR_CODE VARCHAR(20), ERROR_DESC VARCHAR(100), IS_VALID CHARACTER NOT NULL, TRAN_ID VARCHAR(50), PAY_DATE TIMESTAMP, APP_CODE VARCHAR(10), CREATE_DATETIME TIMESTAMP NOT NULL, MODIFY_DATETIME TIMESTAMP, PRIMARY KEY (ORDER_ID));
Wirecard Service¶
com.aces.wire.service.WireService service = new com.aces.wire.service.WireService();
getURL¶
String url = service.getURL(Connection conn, PaymentWire bean)
- conn - Database connection.
- payment - PaymentWire object.
- orderId - Order ID.
- amount - Transaction amount.
- currency -
- trxType -
- shopperRefNo -
- shopperName -
- successURL -
- failURL -
- cancelURL -
updateTransaction¶
com.aces.wire.model.ResponseWire resultBean = service.updateTransaction(Connection conn, HttpServletRequest request)
- ResponseWire
- status -
- errorCode -
- errorDesc -
- orderId - Order ID.
- amount - Transaction amount.
- currency -
- trxType -
- appCode -
- tranId -
- payDate - Date
- valid - boolean
Updated by Soh Keong about 4 years ago ยท 2 revisions