aboutsummaryrefslogtreecommitdiff
path: root/content_scripts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-09-26 14:52:33 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-09-26 14:52:33 +0200
commit1426c886aeeaaeaa855f4f162485893dacc79b7e (patch)
treefa06431f7e9167226c36c93dfa52df1c4d7a4398 /content_scripts
parentd76810e4af4b17e382d84b40cf0a56cdc1aae55d (diff)
downloadwallet-core-1426c886aeeaaeaa855f4f162485893dacc79b7e.tar.xz
make 402 payments work again
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/notify.ts3
1 files changed, 1 insertions, 2 deletions
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);
}