diff --git a/karma.conf.js b/karma.conf.js index 6853e1c..1b99272 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -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', diff --git a/vendor/braintree-web/data-collector/fraudnet.js b/vendor/braintree-web/data-collector/fraudnet.js index 43e1b03..9835cb9 100644 --- a/vendor/braintree-web/data-collector/fraudnet.js +++ b/vendor/braintree-web/data-collector/fraudnet.js @@ -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'); @@ -87,9 +87,9 @@ function _createThirdPartyBlock() { js.id = 'js-iframe-async'; var env = sdkClient.getEnv() || 'production'; - + js.src = scriptBaseURLs[env]; - + this.body.appendChild(js); };