Fix paypro error
This commit is contained in:
parent
5890bea48f
commit
dda9a994b7
1 changed files with 2 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ angular.module('copayApp.controllers').controller('buyAmazonController',
|
|||
}, function(err, paypro) {
|
||||
|
||||
if (err) {
|
||||
ongoingProcess.set('Processing Transaction...', false);
|
||||
$log.warn('Could not fetch payment request:', err);
|
||||
var msg = err.toString();
|
||||
if (msg.match('HTTP')) {
|
||||
|
|
@ -111,6 +112,7 @@ angular.module('copayApp.controllers').controller('buyAmazonController',
|
|||
}
|
||||
|
||||
if (!paypro.verified) {
|
||||
ongoingProcess.set('Processing Transaction...', false);
|
||||
$log.warn('Failed to verify payment protocol signatures');
|
||||
self.error = gettext('Payment Protocol Invalid');
|
||||
$timeout(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue