paypro: through a lot of debugging. Payment sending is working.
This commit is contained in:
parent
d79dfb20c3
commit
d9c72392bd
3 changed files with 180 additions and 20 deletions
|
|
@ -111,8 +111,12 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
$rootScope.pendingPayment = null;
|
||||
}
|
||||
|
||||
var uri = address.indexOf('bitcoin:') === 0
|
||||
&& copay.HDPath.parseBitcoinURI(address);
|
||||
var uri;
|
||||
if (address.indexOf('bitcoin:') === 0) {
|
||||
uri = copay.HDPath.parseBitcoinURI(address);
|
||||
} else if (address.indexOf('Merchant: ') === 0) {
|
||||
uri = { merchant: address.split(' ')[1] };
|
||||
}
|
||||
|
||||
if (uri && uri.merchant) {
|
||||
w.createPaymentTx({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue