gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated (98f90d3 -> 12d6cab)


From: gnunet
Subject: [taler-docs] branch master updated (98f90d3 -> 12d6cab)
Date: Mon, 24 Aug 2020 15:54:14 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a change to branch master
in repository docs.

    from 98f90d3  fulfillment_url is optional here
     new f9b2c3b  type rename
     new 12d6cab  no more nextUrl in the wallet

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 taler-wallet.rst | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/taler-wallet.rst b/taler-wallet.rst
index 6fa493f..7f0f7db 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -337,7 +337,7 @@ Transactions are all operations or events that are 
affecting the balance.
       type: string = "payment",
 
       // Additional information about the payment.
-      info: TransactionInfo;
+      info: OrderShortInfo;
 
       // The current status of this payment.
       status: PaymentStatus;
@@ -350,9 +350,9 @@ Transactions are all operations or events that are 
affecting the balance.
       amountEffective: Amount;
     }
 
-  .. ts:def:: TransactionInfo
+  .. ts:def:: OrderShortInfo
 
-    interface TransactionInfo {
+    interface OrderShortInfo {
       // Order ID, uniquely identifies the order within a merchant instance
       orderId: string;
 
@@ -369,7 +369,13 @@ Transactions are all operations or events that are 
affecting the balance.
       products: Product[];
 
       // URL of the fulfillment, given by the merchant
-      fulfillmentUrl: string;
+      fulfillmentUrl?: string;
+
+      // Message shown to the user after the payment is complete.
+      fulfillmentMessage?: string;
+
+      // Map from IETF BCP 47 language tags to localized fulfillment messages
+      fulfillmentMessage_i18n: { [lang_tag: string]: string };
     }
 
   .. ts:def:: PaymentStatus
@@ -401,7 +407,7 @@ Transactions are all operations or events that are 
affecting the balance.
       refundedTransactionId: string;
 
       // Additional information about the refunded payment
-      info: TransactionInfo;
+      info: OrderShortInfo;
 
       // Part of the refund that couldn't be applied because the refund 
permissions were expired
       amountInvalid: Amount;
@@ -775,9 +781,8 @@ Prepare Pay
       // Amount that will be subtracted from the wallet balance
       amountEffective: Amount;
 
-      // Redirect URL for the fulfillment page,
-      // only given if paid==true.
-      nextUrl?: string;
+      // Verbatim contract terms as generated by the merchant.
+      contractTerms: ContractTerms;
     }
 
 
@@ -800,9 +805,7 @@ Confirm Payment
     interface ConfirmPayResultDone {
       type: "done";
 
-      // Fulfillment URL augmented with order ID
-      // or a special taler://fulfillment-success URL
-      nextUrl: string;
+      contractTerms: ContractTerms;
     }
 
   .. ts:def:: ConfirmPayResultPending

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]