merchant

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

commit 8d43dc4f7c475301b6961afb8dff657713ede24f
parent fb86409fd4b87a182f27f666843f8c23e968477e
Author: Florian Dold <florian.dold@gmail.com>
Date:   Fri, 29 Jan 2016 11:53:45 +0100

fix undefined variable

Diffstat:
Msrc/frontend/fulfillment.php | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/frontend/fulfillment.php b/src/frontend/fulfillment.php @@ -74,6 +74,8 @@ session_start(); $payments = get($_SESSION['payments'], array()); $my_payment = get($payments[$hc]); +$pay_url = url_rel("pay.php"); + if (null === $my_payment) { echo "<p>you do not have the session state for this contract: " . $hc . "</p>"; @@ -84,7 +86,6 @@ if (null === $my_payment) if (true !== get($my_payment["is_payed"], false)) { - $pay_url = url_rel("pay.php"); echo "<p>you have not payed for this contract: " . $hc . "</p>"; echo "<p>Asking the wallet to re-execute it ... </p>"; echo "<script>executePayment('$hc', '$pay_url');</script>";