aboutsummaryrefslogtreecommitdiff
path: root/articles/pml/taler-pay.pml
diff options
context:
space:
mode:
Diffstat (limited to 'articles/pml/taler-pay.pml')
-rw-r--r--articles/pml/taler-pay.pml45
1 files changed, 45 insertions, 0 deletions
diff --git a/articles/pml/taler-pay.pml b/articles/pml/taler-pay.pml
new file mode 100644
index 000000000..9efd779ae
--- /dev/null
+++ b/articles/pml/taler-pay.pml
@@ -0,0 +1,45 @@
+@startuml
+!includeurl https://raw.githubusercontent.com/w3c/webpayments/gh-pages/PaymentFlows/skin.ipml
+
+Actor "Payer (Shopper) Browser" as Payer
+Participant "Payee (Merchant) Site" as Payee
+Participant "Taler Exchange" as Exchange
+
+note over Payer, Payee: Tor/HTTPS
+note over Payee, Exchange: HTTP/HTTPS
+
+title Taler (Payment)
+
+== Establish Payment Obligation ==
+
+opt
+Payer->Payer: Select Taler payment method (skippable with auto-detection)
+end
+
+Payer->Payee: Choose goods
+
+Payee->Payer: Send signed digital contract proposal
+
+== Execute Payment ==
+
+opt
+Payer->Payer: Affirm contract
+end
+
+Payer->Payee: Send payment
+
+Payee->Exchange: Forward payment
+
+Exchange->Payee: Confirm payment
+
+== Fulfilment ==
+
+Payee->Payer: Confirm payment
+
+opt
+Payer->Payee: Request fulfillment (if Web article)
+
+Payee->Payer: Provide media product
+end
+
+@enduml