merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 723f096d6e94d02d5ced01c819bd06e82e9dcde6
parent 135be04f994ba51ace20394c69fd0df7f9bda34a
Author: Florian Dold <dold@inria.fr>
Date:   Fri, 25 Dec 2015 12:33:31 +0100

also add javascript

Diffstat:
Msrc/frontend/execute.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/frontend/execute.js b/src/frontend/execute.js @@ -25,6 +25,7 @@ function replace(el, r) { document.addEventListener("taler-payment-result", function (e) { if (!e.detail.success) { alert("Payment failed\n" + JSON.stringify(e.detail)); + return; } console.log("finished payment"); let msg = React.createElement("div", null, "Payment successful. View your ", React.createElement("a", {"href": e.detail.fulfillmentUrl}, "product"), ".");