From 3ddfad19739f0f3ce2d93a507a3f6abff9b7fe7e Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Fri, 18 Dec 2015 01:30:22 +0100
Subject: Payment "works".

---
 extension/pages/confirm-contract.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'extension/pages/confirm-contract.tsx')

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);
-- 
cgit v1.2.3

