aboutsummaryrefslogtreecommitdiff
path: root/articles/ui/figs/taler-pay.pml
blob: 47b4e2a23efe0402dd3c7ca2fb01dfc2ed4702dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@startuml

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 Contract ==

Payer->Payee: Choose goods

Payee->Payer: Send signed digital contract proposal

opt
Payer->Payer: Select Taler payment method (skippable with auto-detection)
end

== 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

Payer->Payee: Request fulfillment (if Web article)

Payee->Payer: Provide product resource

@enduml