mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-05 11:06:28 +00:00
Merge branch 'develop_v1.4.19' into develop
This commit is contained in:
@@ -58,8 +58,10 @@ const callbackOy = async (req, res) => {
|
||||
winston.logger.warn(
|
||||
`${uniqueCode} [ RESPONSE REFUND-KMT ]: ${JSON.stringify(result)}`
|
||||
);
|
||||
|
||||
let recipient_bank_code = recipient_bank.toLowerCase();
|
||||
// check trx_id yang di request match
|
||||
let checkRequest = await model.checkRedeem(partner_trx_id, trx_id, amount, recipient_bank, recipient_account);
|
||||
let checkRequest = await model.checkRedeem(partner_trx_id, trx_id, amount, recipient_bank_code, recipient_account);
|
||||
|
||||
if (!checkRequest) {
|
||||
result = {
|
||||
@@ -95,7 +97,7 @@ const callbackOy = async (req, res) => {
|
||||
trx_id: trx_id,
|
||||
partner_trx_id: partner_trx_id,
|
||||
amount: amount,
|
||||
recipient_bank: recipient_bank,
|
||||
recipient_bank: recipient_bank_code,
|
||||
recipient_account: recipient_account,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user