[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontend-examples] branch master updated: p
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontend-examples] branch master updated: pay_url in PHP tutorial; get rid of repurchase correlation ID |
Date: |
Wed, 08 Mar 2017 03:09:30 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant-frontend-examples.
The following commit(s) were added to refs/heads/master by this push:
new 517577c pay_url in PHP tutorial; get rid of repurchase correlation ID
517577c is described below
commit 517577c6627c5ca3364b9d71dc09a13c8f8ffe6e
Author: Florian Dold <address@hidden>
AuthorDate: Wed Mar 8 03:09:25 2017 +0100
pay_url in PHP tutorial; get rid of repurchase correlation ID
---
php/contract.php | 2 --
php/doc/tutorial.texi | 13 +------------
2 files changed, 1 insertion(+), 14 deletions(-)
diff --git a/php/contract.php b/php/contract.php
index 9eccdc8..ec75fb7 100644
--- a/php/contract.php
+++ b/php/contract.php
@@ -42,8 +42,6 @@
url_rel("/fulfillment.php?"
. "transaction_id=$transaction_id×tamp="
. $now->getTimestamp()),
- 'repurchase_correlation_id' =>
- '',
'refund_deadline' =>
"/Date(" . $now->getTimestamp() . ")/",
'pay_deadline' =>
diff --git a/php/doc/tutorial.texi b/php/doc/tutorial.texi
index e9ae273..78aa4a0 100644
--- a/php/doc/tutorial.texi
+++ b/php/doc/tutorial.texi
@@ -372,7 +372,7 @@ wallet where to go to retrieve a fresh offer.
The final next step for the frontend is to accept the payment from the
wallet. For this, the frontend must implement a payment handler at
-the URI specified in the @code{X-Taler-Pay-Url} header, as explained
+the URI specified in the @code{pay_url} proposal field, as explained
above.
The role of the @code{/pay.php} handler is to receive the payment
@@ -754,17 +754,6 @@ or product IDs, the @var{product_id} or @var{price} may
not be
specified in the contract. Similarly, for virtual products delivered
directly via the fulfillment URI, there is no delivery location.
address@hidden repurchase_correlation_id
address@hidden repurchase correlation ID
-A string that identifies the product(s), without relying on contract-specific
-information like timestamps and transaction IDs. For example, it may be
-set to "Charity donation" in our example shop. This field purpose is to
-prevent the wallet to pay twice in case the customer visitis a shared
fulfillment
-URL for a product they already paid for. In particular, if Alice and Bob
-both make a donation, and Alice then visits Bob's fulfillment URL, then
-Alice will not pay again. This field is needed for how the wallet detects
-paid contracts internally, see section @ref{The fulfillment page}.
-
@item merchant
@table @var
@item address
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant-frontend-examples] branch master updated: pay_url in PHP tutorial; get rid of repurchase correlation ID,
gnunet <=