Migrated from Redmine #1178 | Author: you weiguo
Status: Rejected | Priority: Immediate, there is BUG! | Created: 2024-02-22
Dear support,
After we had done the setting in Sbpay, we are able to create transaction to Asiapay UAT with no error when the transaction amount is below TWD1000. When we tested with larger amount, it will showed secure hash error. The setting is same for both transaction. Below is the request log. I had tested with SHA-1 and SHA-256 but the log show algo=sha256? Kindly assist.
SHA-1–> above TWD1000 failed
SHA-256–> both failed
(Request):
POST https://energymtw.simplybook.asia/v2/ext/invoice-payment/confirm/system/asiapay/invoice_id/85 {“id”:189,“referenceId”:“85”,“status”:“canceled”,“transactionId”:null,“amount”:1600,“currency”:“TWD”,“timestamp”:“2024-02-22T03:01:55+00:00”,“errorMessage”:null,“paymentSystem”:“asiapay”,“paymentMethod”:null,“algo”:“sha256”,“recurringPaymentInfo”:null,“paymentMethodInfo”:null,“invoiceInfo”:null}
(Request):
POST https://energymtw.simplybook.asia/v2/ext/invoice-payment/confirm/system/asiapay/invoice_id/81 {“id”:177,“referenceId”:“81”,“status”:“received”,“transactionId”:“11944453”,“amount”:950,“currency”:“TWD”,“timestamp”:“2024-02-22T02:52:16+00:00”,“errorMessage”:null,“paymentSystem”:“asiapay”,“paymentMethod”:“asiapay”,“algo”:“sha256”,“recurringPaymentInfo”:null,“paymentMethodInfo”:null,“invoiceInfo”:null}