aboutsummaryrefslogtreecommitdiff
path: root/content_scripts/notify.ts
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/notify.ts')
-rw-r--r--content_scripts/notify.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts
index 64f65e7e5..0e723b52c 100644
--- a/content_scripts/notify.ts
+++ b/content_scripts/notify.ts
@@ -287,6 +287,11 @@ namespace TalerNotify {
})
});
+ addHandler("taler-payment-succeeded", (msg: any, sendResponse: any) => {
+ console.log("got taler-payment-succeeded");
+ sendResponse();
+ });
+
addHandler("taler-get-payment", (msg: any, sendResponse: any) => {
const walletMsg = {
type: "execute-payment",