From 1426c886aeeaaeaa855f4f162485893dacc79b7e Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 26 Sep 2016 14:52:33 +0200 Subject: make 402 payments work again --- content_scripts/notify.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'content_scripts') diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index 4d4978817..978e7e9a0 100644 --- a/content_scripts/notify.ts +++ b/content_scripts/notify.ts @@ -32,7 +32,6 @@ namespace TalerNotify { const PROTOCOL_VERSION = 1; - let taler: any; if (!taler) { console.error("Taler wallet lib not included, HTTP 402 payments not" + " supported"); @@ -76,7 +75,7 @@ namespace TalerNotify { } else if (resp && resp.type === "execute") { console.log("it's execute"); document.documentElement.style.visibility = "hidden"; - taler.internalExecuteContract(resp.contractHash, + taler.internalExecutePayment(resp.contractHash, resp.payUrl, resp.offerUrl); } -- cgit v1.2.3