diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-25 16:00:48 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-25 16:00:48 +0100 |
commit | a55410cdedb18f2cbd6682865f89d4ccbaf9481c (patch) | |
tree | 694f3dcffa211319bb31d06ff6c14afd80da253d /src/frontend/fulfillment.php | |
parent | 3a4e0743d9891683fbf035f18742d8b65d07e232 (diff) | |
download | merchant-a55410cdedb18f2cbd6682865f89d4ccbaf9481c.tar.gz merchant-a55410cdedb18f2cbd6682865f89d4ccbaf9481c.tar.bz2 merchant-a55410cdedb18f2cbd6682865f89d4ccbaf9481c.zip |
fix wrong logic
Diffstat (limited to 'src/frontend/fulfillment.php')
-rw-r--r-- | src/frontend/fulfillment.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/fulfillment.php b/src/frontend/fulfillment.php index 595ccc60..06760121 100644 --- 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; } |