allow refund via Android API
This commit is contained in:
parent
aaf950e2ad
commit
3fa928b949
@ -218,6 +218,10 @@ class AndroidWalletMessageHandler {
|
||||
args.selectedExchange,
|
||||
);
|
||||
}
|
||||
case "applyRefund": {
|
||||
const wallet = await this.wp.promise;
|
||||
return await wallet.applyRefund(args.talerRefundUri);
|
||||
}
|
||||
case "acceptExchangeTermsOfService": {
|
||||
const wallet = await this.wp.promise;
|
||||
return await wallet.acceptExchangeTermsOfService(
|
||||
|
@ -291,7 +291,7 @@ export async function applyRefund(
|
||||
);
|
||||
}
|
||||
|
||||
console.log("processing purchase for refund");
|
||||
logger.info("processing purchase for refund");
|
||||
await startRefundQuery(ws, purchase.proposalId);
|
||||
|
||||
return { contractTermsHash: purchase.contractData.contractTermsHash };
|
||||
|
Loading…
Reference in New Issue
Block a user