diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-20 17:46:17 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-20 17:46:58 +0530 |
commit | d6e655ed401094f6f6a98e1189fb8174e85c7f4c (patch) | |
tree | ee5d52e7e58ce0ce8b7304c30ac153b7271569e9 /contrib | |
parent | 9fce403bce4fe5f2be507a32ee7b4dfac296c26a (diff) |
add refund long-polling on the HTML page
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/offer_refund.en.must | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/offer_refund.en.must b/contrib/offer_refund.en.must index c6cc9aec..7961367d 100644 --- a/contrib/offer_refund.en.must +++ b/contrib/offer_refund.en.must @@ -89,7 +89,8 @@ body { <body> <script> - let checkUrl = "{{& order_status_url }}"; + let checkUrl = new URL("{{& order_status_url }}"); + checkUrl.searchParams.set("await_refund_obtained", "yes"); let delayMs = 500; function check() { let req = new XMLHttpRequest(); |