mirror of https://github.com/BTCPrivate/copay.git
commit
177d09aba0
|
@ -11,7 +11,7 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
|
|||
var pairingReason = gettextCatalog.getString('add your BitPay Visa card(s)');
|
||||
bitpayAccountService.pair(pairData, pairingReason, function(err, paired, apiContext) {
|
||||
if (err) {
|
||||
popupService.showAlert(gettextCatalog.getString('Error pairing Bitpay Account'), err);
|
||||
popupService.showAlert(gettextCatalog.getString('Error pairing BitPay Account'), err);
|
||||
return;
|
||||
}
|
||||
if (paired) {
|
||||
|
@ -64,7 +64,7 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
|
|||
|
||||
var startPairBitPayAccount = function() {
|
||||
var url = 'https://bitpay.com/visa/dashboard/add-to-bitpay-wallet-confirm';
|
||||
externalLinkService.open(url);
|
||||
externalLinkService.open(url);
|
||||
};
|
||||
|
||||
var showAccountSelector = function() {
|
||||
|
|
|
@ -7,7 +7,7 @@ angular.module('copayApp.services').factory('bitpayCardService', function($log,
|
|||
$log.error(msg);
|
||||
var error = (e && e.data && e.data.error) ? e.data.error : msg;
|
||||
return error;
|
||||
};
|
||||
};
|
||||
|
||||
var _processTransactions = function(invoices, history) {
|
||||
invoices = invoices || [];
|
||||
|
@ -56,7 +56,7 @@ angular.module('copayApp.services').factory('bitpayCardService', function($log,
|
|||
var n = {};
|
||||
|
||||
if (!x.eid || !x.id || !x.lastFourDigits || !x.token) {
|
||||
$log.warn('BAD data from Bitpay card' + JSON.stringify(x));
|
||||
$log.warn('BAD data from BitPay card' + JSON.stringify(x));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ angular.module('copayApp.services').factory('openURLService', function($rootScop
|
|||
$log.debug('Registering Browser handlers base:' + base);
|
||||
navigator.registerProtocolHandler('bitcoin', url, 'Copay Bitcoin Handler');
|
||||
navigator.registerProtocolHandler('web+copay', url, 'Copay Wallet Handler');
|
||||
navigator.registerProtocolHandler('web+bitpay', url, 'Bitpay Wallet Handler');
|
||||
navigator.registerProtocolHandler('web+bitpay', url, 'BitPay Wallet Handler');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<ion-modal-view>
|
||||
<ion-content ng-controller="bitpayCardConfirmationController">
|
||||
<div class="text-center">
|
||||
<h1 class="text-center m20b p20h" translate>Are you sure you would like to log out of your Bitpay Card account?</h1>
|
||||
<p class="text-gray p20h" translate>You will need to log back for fill in your Bitpay Card.</p>
|
||||
<h1 class="text-center m20b p20h" translate>Are you sure you would like to log out of your BitPay Card account?</h1>
|
||||
<p class="text-gray p20h" translate>You will need to log back for fill in your BitPay Card.</p>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<button class="button button-block button-stable" ng-click="cancel()" translate>
|
||||
|
|
Loading…
Reference in New Issue