From 18bb72aa2716a4cf7665530cbc5a09d27362bc14 Mon Sep 17 00:00:00 2001 From: Andy Alness Date: Fri, 2 May 2014 15:27:54 -0700 Subject: 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. --- bip-0070.mediawiki | 1 + 1 file changed, 1 insertion(+) (limited to 'bip-0070.mediawiki') 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. -- cgit v1.2.3