configure.js 795 B

12345678910111213141516171819
  1. /* Copyright 2015-2016 PayPal, Inc. */
  2. "use strict";
  3. var sdkVersion = exports.sdkVersion = require('../package').version;
  4. var userAgent = exports.userAgent = 'PayPalSDK/PayPal-node-SDK ' + sdkVersion + ' (node ' + process.version + '-' + process.arch + '-' + process.platform + '; OpenSSL ' + process.versions.openssl + ')';
  5. var default_options = exports.default_options = {
  6. 'mode': 'sandbox',
  7. 'schema': 'https',
  8. 'host': 'api.sandbox.paypal.com',
  9. 'port': '',
  10. 'openid_connect_schema': 'https',
  11. 'openid_connect_host': 'api.sandbox.paypal.com',
  12. 'openid_connect_port': '',
  13. 'authorize_url': 'https://www.sandbox.paypal.com/signin/authorize',
  14. 'logout_url': 'https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect/v1/endsession',
  15. 'headers': {}
  16. };