【技術FAQ】為何建立訂單與接收交易結果的檢查碼有差異?

為何建立訂單與接收交易結果的檢查碼有差異?

繁中 | ENG

建立訂單所產生的檢查碼 組成參數為您的request資訊

交易結果通知所產生的檢查碼  組成參數為綠界系統收到銀行反饋後的資訊

因此無法作為比較

Why the checksum result (CheckMacValue) from callback is not the same as that of creating order?

繁中 | ENG

The CheckMacValue of creating an order and that of callbacks (i.e. merchants receiving from ReturnURL) are different.

For the former, it was generated by such parameter as MerchantID, MerchantTradeDate, MerchantTradeNo, PaymentType…while the latter was generated by the parameters that ECPay’s callback, including RtnCode, RtnMsg, TradeNo, PaymentDate…etc. So for the latter, merchants have to base on what are received from ECPay and generate the CheckMacValue again and to match if it is same as that ECPay sent.

Copyright © Green World FinTech Service Co., Ltd. All rights reserved.