diagrams
This commit is contained in:
parent
a8e2d108e4
commit
19e2c2430d
BIN
articles/ui/figs/contract.pdf
Normal file
BIN
articles/ui/figs/contract.pdf
Normal file
Binary file not shown.
31
articles/ui/figs/contract.pml
Normal file
31
articles/ui/figs/contract.pml
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
@startuml
|
||||
|
||||
hide footbox
|
||||
|
||||
box "User"
|
||||
Participant "Wallet" as W
|
||||
Participant "Browser" as U
|
||||
end box
|
||||
|
||||
box "Merchant"
|
||||
Participant "Storefront" as S
|
||||
Participant "Backend" as B
|
||||
end box
|
||||
|
||||
autonumber
|
||||
|
||||
S -> B : proposed contract
|
||||
B -> S : signed contract
|
||||
|
||||
S -> U : custom (HTTP(S))
|
||||
|
||||
U -> W : signed contract
|
||||
W -> U : signed coins
|
||||
|
||||
U -> S : custom (HTTP(S))
|
||||
|
||||
S -> B : signed coins (HTTP(S))
|
||||
B -> S : confirmation (HTTP(S))
|
||||
|
||||
@enduml
|
Binary file not shown.
@ -1,5 +1,4 @@
|
||||
@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
|
||||
@ -10,7 +9,7 @@ note over Payee, Exchange: HTTP/HTTPS
|
||||
|
||||
title Taler (Payment)
|
||||
|
||||
== Establish Payment Obligation ==
|
||||
== Establish Contract ==
|
||||
|
||||
opt
|
||||
Payer->Payer: Select Taler payment method (skippable with auto-detection)
|
||||
@ -39,7 +38,7 @@ Payee->Payer: Confirm payment
|
||||
opt
|
||||
Payer->Payee: Request fulfillment (if Web article)
|
||||
|
||||
Payee->Payer: Provide media product
|
||||
Payee->Payer: Provide product resource
|
||||
end
|
||||
|
||||
@enduml
|
Binary file not shown.
@ -1,5 +1,4 @@
|
||||
@startuml
|
||||
!includeurl https://raw.githubusercontent.com/w3c/webpayments/gh-pages/PaymentFlows/skin.ipml
|
||||
|
||||
Actor "Customer Browser" as Customer
|
||||
Participant "Bank Site" as Bank
|
||||
@ -7,7 +6,7 @@ Participant "Taler Exchange" as Exchange
|
||||
|
||||
note over Customer, Bank: HTTPS
|
||||
note over Customer, Exchange: HTTPS
|
||||
note over Bank, Exchange: SEPA
|
||||
note over Bank, Exchange: wire transfer
|
||||
|
||||
title Taler (Withdraw coins)
|
||||
|
||||
@ -16,8 +15,8 @@ Bank->Customer: send account portal
|
||||
|
||||
Customer->Customer: initiate withdrawal (specify amount and exchange)
|
||||
|
||||
Customer->Exchange: request key material and wire transfer data
|
||||
Exchange->Customer: send key material and wire transfer data
|
||||
Customer->Exchange: request coin denomination keys and wire transfer data
|
||||
Exchange->Customer: send coin denomination keys and wire transfer data
|
||||
|
||||
Customer->Bank: execute withdrawal
|
||||
|
||||
@ -30,4 +29,8 @@ Bank->Customer: withdrawal confirmation
|
||||
Bank->Exchange: execute wire transfer
|
||||
|
||||
|
||||
Customer->Exchange: withdraw request
|
||||
Customer->Exchange: signed blinded coins
|
||||
Customer->Customer: unblind coins
|
||||
|
||||
@enduml
|
BIN
articles/ui/figs/taler-withdraw.png
Normal file
BIN
articles/ui/figs/taler-withdraw.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
Loading…
Reference in New Issue
Block a user