merchant

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

commit a55410cdedb18f2cbd6682865f89d4ccbaf9481c
parent 3a4e0743d9891683fbf035f18742d8b65d07e232
Author: Florian Dold <florian.dold@gmail.com>
Date:   Mon, 25 Jan 2016 16:00:48 +0100

fix wrong logic

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

diff --git a/src/frontend/fulfillment.php b/src/frontend/fulfillment.php @@ -75,16 +75,16 @@ $my_payment = get($payments[$hc]); if (null === $my_payment) { - $pay_url = url_rel("pay"); echo "<p>you do not have the session state for this contract: " . $hc . "</p>"; - echo "<p>Asking the wallet to re-execute it ... </p>"; - echo "<script>executePayment('$hc', '$pay_url');</script?"; return; } if (true !== get($my_payment["is_payed"], false)) { + $pay_url = url_rel("pay"); 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?"; return; }