Skip to content

Commit

Permalink
ci: use sandbox urls (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
westeezy authored Jul 15, 2023
1 parent 37b0094 commit f374ea7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export default (karma : Object) : void =>
__VAULT__: true,

__PORT__: 8000,
__PAYPAL_API_DOMAIN__: 'msmaster.qa.paypal.com',
__STAGE_HOST__: 'msmaster.qa.paypal.com',
__PAYPAL_API_DOMAIN__: 'stage.paypal.com',
__STAGE_HOST__: 'stage.paypal.com',
__HOST__: 'test.paypal.com',
__HOSTNAME__: 'test.paypal.com',
__SDK_HOST__: 'test.paypal.com',
Expand Down
10 changes: 5 additions & 5 deletions vendor/braintree-web/data-collector/fraudnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ function _createThirdPartyBlock() {
var scriptBaseURLs = {
production: 'https://www.paypalobjects.com/webstatic/r/fb/fb-all-prod.pp.min.js',
sandbox: 'https://www.paypalobjects.com/webstatic/r/fb/fb-all-prod.pp.min.js',
stage: 'https://www.msmaster.qa.paypal.com/en_US/m/fb-all-master.pp.raw.js',
local: 'https://www.msmaster.qa.paypal.com/en_US/m/fb-all-master.pp.raw.js',
test: 'https://www.msmaster.qa.paypal.com/en_US/m/fb-all-master.pp.raw.js'
stage: 'https://sandbox.paypal.com/en_US/m/fb-all-master.pp.raw.js',
local: 'https://sandbox.paypal.com/en_US/m/fb-all-master.pp.raw.js',
test: 'https://sandbox.paypal.com/en_US/m/fb-all-master.pp.raw.js'
};

var iframe = document.createElement('iframe');
Expand Down Expand Up @@ -87,9 +87,9 @@ function _createThirdPartyBlock() {
js.id = 'js-iframe-async';

var env = sdkClient.getEnv() || 'production';

js.src = scriptBaseURLs[env];

this.body.appendChild(js);
};

Expand Down

0 comments on commit f374ea7

Please sign in to comment.