mirror of https://github.com/bitwarden/web.git
Browse Source
* Moving the web constants to the app config for more flexibility * removing personal integrations from QA * changing the PayPal Configuration setup to match the pattern in the services module * removing the webConstants file after successful test * renaming the braintree config key to something more understandablepull/1189/head
7 changed files with 24 additions and 28 deletions
@ -1,3 +1,9 @@
@@ -1,3 +1,9 @@
|
||||
{ |
||||
"urls": {} |
||||
"urls": {}, |
||||
"stripeKey": "pk_test_KPoCfZXu7mznb9uSCPZ2JpTD", |
||||
"braintreeKey": "sandbox_r72q8jq6_9pnxkwm75f87sdc2", |
||||
"paypal": { |
||||
"businessId": "AD3LAUZSNVPJY", |
||||
"buttonAction": "https://www.sandbox.paypal.com/cgi-bin/webscr" |
||||
} |
||||
} |
||||
|
||||
@ -1,12 +0,0 @@
@@ -1,12 +0,0 @@
|
||||
export class WebConstants { |
||||
static readonly stripeTestKey = 'pk_test_KPoCfZXu7mznb9uSCPZ2JpTD'; |
||||
static readonly stripeLiveKey = 'pk_live_bpN0P37nMxrMQkcaHXtAybJk'; |
||||
static readonly btSandboxKey = 'sandbox_r72q8jq6_9pnxkwm75f87sdc2'; |
||||
static readonly btProductionKey = 'production_qfbsv8kc_njj2zjtyngtjmbjd'; |
||||
static readonly paypal = { |
||||
businessIdProduction: '4ZDA7DLUUJGMN', |
||||
businessIdSandbox: 'AD3LAUZSNVPJY', |
||||
buttonActionProduction: 'https://www.paypal.com/cgi-bin/webscr', |
||||
buttonActionSandbox: 'https://www.sandbox.paypal.com/cgi-bin/webscr', |
||||
}; |
||||
} |
||||
Loading…
Reference in new issue