paypro: maintain received payment requests.
This commit is contained in:
parent
b9d5219426
commit
af12b56678
2 changed files with 36 additions and 9 deletions
|
|
@ -94,10 +94,14 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
&& copay.HDPath.parseBitcoinURI(address);
|
||||
|
||||
if (uri && uri.merchant) {
|
||||
w.createPaymentTx({
|
||||
uri: uri.merchant,
|
||||
memo: commentText
|
||||
}, done);
|
||||
var data = w.paymentRequests[uri.merchant];
|
||||
if (data) {
|
||||
} else {
|
||||
w.createPaymentTx({
|
||||
uri: uri.merchant,
|
||||
memo: commentText
|
||||
}, done);
|
||||
}
|
||||
} else {
|
||||
w.createTx(address, amount, commentText, done);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue