fixed bitpay payment bug as according to bitpay

This commit is contained in:
Kadir Sekha 2018-02-23 23:08:57 +05:30
commit bd382a847a
5 changed files with 14 additions and 10 deletions

View file

@ -223,7 +223,8 @@ angular.module('copayApp.controllers').controller('buyAmazonController', functio
var dataSrc = {
amount: parsedAmount.amount,
currency: parsedAmount.currency,
uuid: wallet.id
uuid: wallet.id,
buyerSelectedTransactionCurrency: coin.toUpperCase()
};
ongoingProcess.set('loadingTxInfo', true);
createInvoice(dataSrc, function(err, invoice, accessKey) {

View file

@ -221,7 +221,8 @@ angular.module('copayApp.controllers').controller('buyMercadoLibreController', f
var dataSrc = {
amount: parsedAmount.amount,
currency: parsedAmount.currency,
uuid: wallet.id
uuid: wallet.id,
buyerSelectedTransactionCurrency: coin.toUpperCase()
};
ongoingProcess.set('loadingTxInfo', true);
createInvoice(dataSrc, function(err, invoice, accessKey) {

View file

@ -189,7 +189,8 @@ angular.module('copayApp.controllers').controller('topUpController', function($s
$scope.amountUnitStr = parsedAmount.amountUnitStr;
var dataSrc = {
amount: parsedAmount.amount,
currency: parsedAmount.currency
currency: parsedAmount.currency,
buyerSelectedTransactionCurrency: coin.toUpperCase()
};
ongoingProcess.set('loadingTxInfo', true);
createInvoice(dataSrc, function(err, invoice) {