diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-08 12:49:24 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-08 12:49:24 +0530 |
commit | a864161cdc6e9288b1e4055fbb2c08c8b2286a59 (patch) | |
tree | a21e35e072082c10840f455b2a4a2baf4d1c4ea8 /contrib | |
parent | 47c6ddcf7acff2f91bf068b9f6d3e4984583ed9a (diff) | |
download | merchant-a864161cdc6e9288b1e4055fbb2c08c8b2286a59.tar.gz merchant-a864161cdc6e9288b1e4055fbb2c08c8b2286a59.tar.bz2 merchant-a864161cdc6e9288b1e4055fbb2c08c8b2286a59.zip |
remove unused JS function
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/request_payment.en.must | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/contrib/request_payment.en.must b/contrib/request_payment.en.must index 634db85d..56063cbb 100644 --- a/contrib/request_payment.en.must +++ b/contrib/request_payment.en.must @@ -90,18 +90,6 @@ body { <body> <script> - function pay_uri_to_order_url(uri) { - let parsed = taleruri.parsePayUri(uri); - if (!parsed) { - throw Error("could not parse Taler pay URI"); - } - let url = parsed.merchantBaseUrl + "orders/" + parsed.orderId; - if (parsed.claimToken) { - url = url + "?token=" + parsed.claimToken; - } - return url; - } - let checkUrl = "{{order_status_url}}"; let delayMs = 500; function check() { |