summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/refund.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-09 12:45:49 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-09 12:45:49 +0530
commit71abddec5e3dc9cc407f468feaaa3284ef528aba (patch)
treefbd4c329d8f8b866fdd6549430f0d1bcfcd5ebd5 /packages/taler-wallet-core/src/operations/refund.ts
parent0566406abb74008a5d7796fc047ca98a6dd590b0 (diff)
downloadwallet-core-71abddec5e3dc9cc407f468feaaa3284ef528aba.tar.gz
wallet-core-71abddec5e3dc9cc407f468feaaa3284ef528aba.tar.bz2
wallet-core-71abddec5e3dc9cc407f468feaaa3284ef528aba.zip
make withdrawal, pay and refunds work in the WebExtension
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refund.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/refund.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/operations/refund.ts b/packages/taler-wallet-core/src/operations/refund.ts
index 10a57f909..ff08fc93d 100644
--- a/packages/taler-wallet-core/src/operations/refund.ts
+++ b/packages/taler-wallet-core/src/operations/refund.ts
@@ -527,6 +527,16 @@ export async function applyRefund(
amountRefundGone: Amounts.stringify(amountRefundGone),
amountRefundGranted: Amounts.stringify(amountRefundGranted),
pendingAtExchange,
+ info: {
+ contractTermsHash: purchase.contractData.contractTermsHash,
+ merchant: purchase.contractData.merchant,
+ orderId: purchase.contractData.orderId,
+ products: purchase.contractData.products,
+ summary: purchase.contractData.summary,
+ fulfillmentMessage: purchase.contractData.fulfillmentMessage,
+ summary_i18n: purchase.contractData.summaryI18n,
+ fulfillmentMessage_i18n: purchase.contractData.fulfillmentMessageI18n,
+ }
};
}