updated code to work with bitpay bch payments
This commit is contained in:
parent
8d4bf711eb
commit
381a4e9f78
5 changed files with 51 additions and 12 deletions
|
|
@ -27,7 +27,7 @@ angular.module('copayApp.services').factory('payproService',
|
|||
payProUrl: uri,
|
||||
}, function(err, paypro) {
|
||||
if (!disableLoader) ongoingProcess.set('fetchingPayPro', false);
|
||||
if (err) return cb(err);
|
||||
if (err) return cb(gettextCatalog.getString('Could Not Fetch Payment: Check if it is still valid'));
|
||||
else if (!paypro.verified) {
|
||||
$log.warn('Failed to verify payment protocol signatures');
|
||||
return cb(gettextCatalog.getString('Payment Protocol Invalid'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue