1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

unhide paypal option with braintree

This commit is contained in:
Kyle Spearrin 2017-08-04 13:09:34 -04:00
parent fb10da8ce3
commit b49a40b077
3 changed files with 11 additions and 13 deletions

View File

@ -3,6 +3,6 @@
"apiUri": "https://api.bitwarden.com", "apiUri": "https://api.bitwarden.com",
"identityUri": "https://identity.bitwarden.com", "identityUri": "https://identity.bitwarden.com",
"stripeKey": "pk_live_bpN0P37nMxrMQkcaHXtAybJk", "stripeKey": "pk_live_bpN0P37nMxrMQkcaHXtAybJk",
"braintreeKey": "TODO" "braintreeKey": "production_qfbsv8kc_njj2zjtyngtjmbjd"
} }
} }

View File

@ -1,2 +1,2 @@
angular.module("bit") angular.module("bit")
.constant("appSettings", {"apiUri":"https://api.bitwarden.com","identityUri":"https://identity.bitwarden.com","stripeKey":"pk_live_bpN0P37nMxrMQkcaHXtAybJk","braintreeKey":"TODO","version":"1.14.2","environment":"Production"}); .constant("appSettings", {"apiUri":"https://api.bitwarden.com","identityUri":"https://identity.bitwarden.com","stripeKey":"pk_live_bpN0P37nMxrMQkcaHXtAybJk","braintreeKey":"production_qfbsv8kc_njj2zjtyngtjmbjd","version":"1.14.2","environment":"Production"});

View File

@ -89,17 +89,15 @@
<h3 class="box-title">Payment Information</h3> <h3 class="box-title">Payment Information</h3>
</div> </div>
<div class="box-body"> <div class="box-body">
<div ng-if="false"> <label class="radio-inline radio-lg radio-boxed">
<label class="radio-inline radio-lg radio-boxed"> <input type="radio" name="PaymentMethod" value="card" ng-model="paymentMethod"
<input type="radio" name="PaymentMethod" value="card" ng-model="paymentMethod" ng-change="changePaymentMethod()"><i class="fa fa-fw fa-credit-card"></i> Credit Card
ng-change="changePaymentMethod()"><i class="fa fa-fw fa-credit-card"></i> Credit Card </label>
</label> <label class="radio-inline radio-lg radio-boxed">
<label class="radio-inline radio-lg radio-boxed"> <input type="radio" name="PaymentMethod" value="paypal" ng-model="paymentMethod"
<input type="radio" name="PaymentMethod" value="paypal" ng-model="paymentMethod" ng-change="changePaymentMethod()"><i class="fa fa-fw fa-paypal"></i> PayPal
ng-change="changePaymentMethod()"><i class="fa fa-fw fa-paypal"></i> PayPal </label>
</label> <hr />
<hr />
</div>
<div ng-if="paymentMethod === 'paypal'"> <div ng-if="paymentMethod === 'paypal'">
<div id="bt-dropin-container"></div> <div id="bt-dropin-container"></div>
</div> </div>