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;
|
return res.data;
|
||||||
} else if (supplier.code == 'Vocagame') {
|
} else if (supplier.code == 'Vocagame') {
|
||||||
const merchantId = supplier.irs_user;
|
const merchantId = supplier.irs_id;
|
||||||
const reference = idtrx
|
const reference = idtrx
|
||||||
const endpoint = `/transaction/${reference}`;
|
const endpoint = `/transaction/${reference}`;
|
||||||
const secretKey = supplier.irs_pass;
|
const secretKey = supplier.irs_pass;
|
||||||
|
@ -52,7 +52,8 @@ export const doTransaction = async (
|
||||||
let productDestination = ""
|
let productDestination = ""
|
||||||
let productRegion = ""
|
let productRegion = ""
|
||||||
if (match) {
|
if (match) {
|
||||||
productDestination = match[0]
|
var productSplit = destination.split('(')
|
||||||
|
productDestination = productSplit[0]
|
||||||
const insideBrackets = match[1];
|
const insideBrackets = match[1];
|
||||||
productRegion = insideBrackets // This will print inside brackets
|
productRegion = insideBrackets // This will print inside brackets
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user