From 2afd00738ba240999625efc8126dc595d0eaf2b4 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 30 Nov 2016 15:56:27 +0100 Subject: Earlier refund_deadline --- php/contract.php | 4 ++-- php/track-transaction.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'php') diff --git a/php/contract.php b/php/contract.php index 49760d8..9eccdc8 100644 --- 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 index d65842c..8fd1058 100644 --- 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 "

The exchange accepted the transactioin. + echo "

The exchange accepted the transaction. The estimated time for when the related wire transfer is to be performed is: $pretty_date

"; return; -- cgit v1.2.3