diff --git a/src/android/index.ts b/src/android/index.ts index 6e43fe317..a42b55a2c 100644 --- a/src/android/index.ts +++ b/src/android/index.ts @@ -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( diff --git a/src/operations/refund.ts b/src/operations/refund.ts index 64ab1f1e9..7552fc11c 100644 --- a/src/operations/refund.ts +++ b/src/operations/refund.ts @@ -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 };