aboutsummaryrefslogtreecommitdiff
path: root/extension/pages/confirm-contract.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-12-18 01:30:22 +0100
committerFlorian Dold <florian.dold@gmail.com>2015-12-18 01:30:22 +0100
commit3ddfad19739f0f3ce2d93a507a3f6abff9b7fe7e (patch)
treebe0eb759d7216d31bff4633ebf7e60d617787836 /extension/pages/confirm-contract.tsx
parent0d5c37a49e688503dc2933d379c68541dd432248 (diff)
Payment "works".
Diffstat (limited to 'extension/pages/confirm-contract.tsx')
-rw-r--r--extension/pages/confirm-contract.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/extension/pages/confirm-contract.tsx b/extension/pages/confirm-contract.tsx
index c9d41a2c8..040f13ea3 100644
--- a/extension/pages/confirm-contract.tsx
+++ b/extension/pages/confirm-contract.tsx
@@ -34,8 +34,10 @@ document.addEventListener("DOMContentLoaded", (e) => {
$_("render-contract").innerHTML = html;
document.getElementById("confirm-pay").addEventListener("click", (e) => {
+ console.log("Query:", JSON.stringify(query));
let d = {
- offer: JSON.parse(query.offer)
+ offer: JSON.parse(query.offer),
+ merchantPageUrl: query.merchantPageUrl
};
chrome.runtime.sendMessage({type:'confirm-pay', detail: d}, (resp) => {
console.log("got response", resp);