merchant-frontend-examples

ZZZ: Inactive/Deprecated
Log | Files | Refs

commit 2afd00738ba240999625efc8126dc595d0eaf2b4
parent abc5569c6141e7c68099d42c0dc829ce6732f285
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed, 30 Nov 2016 15:56:27 +0100

Earlier refund_deadline

Diffstat:
Mphp/contract.php | 4++--
Mphp/track-transaction.php | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/php/contract.php b/php/contract.php @@ -44,10 +44,10 @@ . $now->getTimestamp()), 'repurchase_correlation_id' => '', + 'refund_deadline' => + "/Date(" . $now->getTimestamp() . ")/", 'pay_deadline' => "/Date(" . $now->add(new DateInterval('P2W'))->getTimestamp() . ")/", - 'refund_deadline' => - "/Date(" . $now->add(new DateInterval('P3M'))->getTimestamp() . ")/", 'merchant' => array('address' => 'LNAME2', diff --git a/php/track-transaction.php b/php/track-transaction.php @@ -26,7 +26,7 @@ $decoded = json_decode($response["body"]); if (202 == $response["status_code"]){ $pretty_date = get_pretty_date($decoded->details->execution_time); - echo "<p>The exchange accepted the transactioin. + echo "<p>The exchange accepted the transaction. The estimated time for when the related wire transfer is to be performed is: $pretty_date</p>"; return;