Skip to content

Commit

Permalink
Merge pull request #2 from Mastercard-Gateway/hotfix/0.2.2
Browse files Browse the repository at this point in the history
Hotfix.0.2.2
  • Loading branch information
jhutch86 authored Feb 14, 2020
2 parents 1fa54e7 + 24f8007 commit e0d3cd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions _bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,19 @@
}

// get regional url prefix
$prefix = 'test-';
$prefix = 'mtf.';
if (strcasecmp($region, "ASIA_PACIFIC") == 0) {
$prefix = 'ap-';
$prefix = 'ap.';
} else if (strcasecmp($region, "EUROPE") == 0) {
$prefix = 'eu-';
$prefix = 'eu.';
} else if (strcasecmp($region, "NORTH_AMERICA") == 0) {
$prefix = 'na-';
$prefix = 'na.';
} else if (strcasecmp($region, "INDIA") == 0) {
$prefix = 'in.';
} else if (strcasecmp($region, "CHINA") == 0) {
$prefix = 'cn.';
} else if (strcasecmp($region, "MTF") == 0) {
$prefix = 'test-';
$prefix = 'mtf.';
} else if (strcasecmp($region, "QA01") == 0) {
$prefix = 'qa01.';
} else {
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"GATEWAY_REGION": {
"required": true,
"description": "The Gateway region to target (options: ASIA_PACIFIC, EUROPE, NORTH_AMERICA, INDIA, MTF)",
"description": "The Gateway region to target (options: ASIA_PACIFIC, EUROPE, NORTH_AMERICA, INDIA, CHINA, MTF)",
"value": "MTF"
},
"GATEWAY_API_VERSION": {
Expand Down

0 comments on commit e0d3cd1

Please sign in to comment.