summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Alness <andy@coinbase.com>2014-05-02 15:27:54 -0700
committerAndy Alness <andy@coinbase.com>2014-05-05 18:10:31 -0700
commit18bb72aa2716a4cf7665530cbc5a09d27362bc14 (patch)
tree023679e3317a45a294c7f4e244830793db608a7e
parentb537a2b82c6aa14a64ce29a5a3d575d6c0a17047 (diff)
downloadbips-18bb72aa2716a4cf7665530cbc5a09d27362bc14.tar.xz
Validate a payment request is still valid prior to payment
Currently there exists the potential for a user to load a payment request into their wallet which is valid at that time but its expiration lapses prior to the user authorizing the payment. This could lead to an unnecessary customer service interaction.
-rw-r--r--bip-0070.mediawiki1
1 files changed, 1 insertions, 0 deletions
diff --git a/bip-0070.mediawiki b/bip-0070.mediawiki
index 692d7f0..1969d4d 100644
--- a/bip-0070.mediawiki
+++ b/bip-0070.mediawiki
@@ -153,6 +153,7 @@ after the time of the payment request. After that time has expired, parties must
If the customer authorizes payment, then the Bitcoin client:
# Creates and signs one or more transactions that satisfy (pay in full) PaymentDetails.outputs
+# Validate that customer's system unix time (UTC) is still before PaymentDetails.expires. If it is not, the payment should be cancelled.
# Broadcast the transactions on the Bitcoin p2p network.
# If PaymentDetails.payment_url is specified, POST a Payment message to that URL. The Payment message is serialized and sent as the body of the POST request.