Merge branch 'fetch-from-cbs' of https://7o9o-lb-526275444.ap-south-1.elb.amazonaws.com/md.asif5/yume_js into admin_feature
This commit is contained in:
@@ -4,11 +4,11 @@ const { logger } = require('../util/logger');
|
||||
|
||||
async function npciResponse(req, res) {
|
||||
const { resp } = req.body;
|
||||
logger.info(resp, 'received from NPCI');
|
||||
if (resp.status === 'Success') {
|
||||
await handleNPCISuccess(resp);
|
||||
logger.info(req.body, 'received response from NPCI');
|
||||
if (resp === 'SUCCESS') {
|
||||
await handleNPCISuccess(req.body);
|
||||
} else {
|
||||
await handleNPCIFailure(resp);
|
||||
await handleNPCIFailure(req.body);
|
||||
}
|
||||
res.send('ok');
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ const templates = {
|
||||
`Dear Customer, Your Preferred Name -${PreferName} has been updated successfully. If this change was not made by you, please contact our support team immediately.`,
|
||||
|
||||
TLIMIT :(otp) =>
|
||||
`Dear Customer,Please complete the transaction limit set with ${otp}. -KCCB`,
|
||||
`Dear Customer,Please complete the transaction limit set with OTP -${otp}. -KCCB`,
|
||||
|
||||
TLIMIT_SET :(amount) =>
|
||||
`Dear Customer,Your transaction limit for Internet Banking is set to Rs ${amount}. -KCCB`,
|
||||
|
||||
Reference in New Issue
Block a user