Actions
Specification » History » Revision 2
« Previous |
Revision 2/4
(diff)
| Next »
Soh Keong, 12/02/2020 05:42 PM
- Table of contents
- Specification
- Programming Guide
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.2.1 | Init |
Jar File Download¶
properties file¶
- wechat_HK.properties
- payment.url
- payment.code.hk
- payment.key.hk
- payment.mchid.hk
- sub.url.qrcode
- sub.url.query
- sub.url.download
- charset
- http.connection.timeout
- http.read.timeout
Database Table¶
CREATE TABLE WECHAT_INTERFACE ( ORDER_ID VARCHAR(15) NOT NULL, TRX_TYPE VARCHAR(15) NOT NULL, SHOPPER_REF_NO INTEGER NOT NULL, CURRENCY VARCHAR(3), CHARGE_AMT DECIMAL(15,2) NOT NULL, QR_CODE VARCHAR(255), RESPONSE_CODE VARCHAR(15), RESPONSE_MSG VARCHAR(100), SYSSN VARCHAR(50), IS_VALID CHARACTER NOT NULL, PAY_DATE TIMESTAMP, CREATE_DATETIME TIMESTAMP NOT NULL, MODIFY_DATETIME TIMESTAMP, PRIMARY KEY (ORDER_ID))
Method¶
com.ecosway.wechat.service.WechatService service = new com.ecosway.wechat.service.WechatService();
getDataURI¶
com.ecosway.wechat.model.QRResponseWechat resultBean = service.getDataURI(Connection conn, PaymentWechat payment)
- conn - Database connection.
- payment - PaymentWechat object.
- orderId - Order ID.
- amount - Transaction amount.
- requestTimestamp - Date
- trxType -
- payType -
- shopperRefNo -
- goodName -
- currency -
- payment - PaymentWechat object.
- errorCode - String
- errorDesc - String
- responseMessage - String
- valid - boolean
- orderId - Order ID.
- responseDate - Date
- responseId - String
- qrCodeId - String
- payURL - String
// TODO
Updated by Soh Keong about 4 years ago · 2 revisions