Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
commit
b5505abe53
|
@ -33,7 +33,7 @@ export const doTransaction = async (
|
|||
|
||||
return res.data;
|
||||
} else if (supplier.code == 'Vocagame') {
|
||||
const merchantId = supplier.irs_user;
|
||||
const merchantId = supplier.irs_id;
|
||||
const reference = idtrx
|
||||
const endpoint = `/transaction/${reference}`;
|
||||
const secretKey = supplier.irs_pass;
|
||||
|
@ -52,7 +52,8 @@ export const doTransaction = async (
|
|||
let productDestination = ""
|
||||
let productRegion = ""
|
||||
if (match) {
|
||||
productDestination = match[0]
|
||||
var productSplit = destination.split('(')
|
||||
productDestination = productSplit[0]
|
||||
const insideBrackets = match[1];
|
||||
productRegion = insideBrackets // This will print inside brackets
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user