From d2e0386638c9904906f0de6830e83f7b854c6f40 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 2 Oct 2016 23:42:10 +0200 Subject: respond to taler-payment-succeeded --- content_scripts/notify.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'content_scripts') diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index ed704aaf0..e4adaa3db 100644 --- a/content_scripts/notify.ts +++ b/content_scripts/notify.ts @@ -283,6 +283,10 @@ namespace TalerNotify { }) }); + addHandler("taler-payment-succeeded", (msg: any, sendResponse: any) => { + sendResponse(); + }); + addHandler("taler-get-payment", (msg: any, sendResponse: any) => { const walletMsg = { type: "execute-payment", @@ -319,4 +323,4 @@ namespace TalerNotify { }); }); } -} \ No newline at end of file +} -- cgit v1.2.3 From 0697c987c5314232056a86fa128b518c866d2f12 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 4 Oct 2016 11:48:50 +0200 Subject: version 0.6.10 --- content_scripts/notify.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'content_scripts') diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index e4adaa3db..2c71efc2e 100644 --- a/content_scripts/notify.ts +++ b/content_scripts/notify.ts @@ -284,6 +284,7 @@ namespace TalerNotify { }); addHandler("taler-payment-succeeded", (msg: any, sendResponse: any) => { + console.log("got taler-payment-succeeded"); sendResponse(); }); -- cgit v1.2.3