wallet-core/articles/ui/figs/taler-pay.pml

48 lines
876 B
Promela
Raw Normal View History

2016-03-21 16:41:40 +01:00
@startuml
2016-08-26 16:25:33 +02:00
autonumber
2016-03-21 16:41:40 +01:00
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)
2016-08-26 15:41:06 +02:00
== Request Offer ==
2016-03-21 16:41:40 +01:00
2016-08-26 15:41:06 +02:00
Payer->Payee: Choose goods by navigating to offer URL
2016-08-23 15:20:12 +02:00
2016-08-25 04:21:24 +02:00
Payee->Payer: Send signed digital contract proposal
2016-03-21 16:41:40 +01:00
opt
Payer->Payer: Select Taler payment method (skippable with auto-detection)
end
== Execute Payment ==
opt
Payer->Payer: Affirm contract
end
2016-08-26 15:41:06 +02:00
Payer->Payee: Navigate to fulfillment URL
Payee->Payer: Send hash of digital contract and payment information
2016-03-21 16:41:40 +01:00
Payer->Payee: Send payment
Payee->Exchange: Forward payment
Exchange->Payee: Confirm payment
Payee->Payer: Confirm payment
2016-08-26 15:41:06 +02:00
== Fulfilment ==
Payer->Payee: Reload fulfillment URL for delivery
2016-03-21 16:41:40 +01:00
2016-05-14 02:15:32 +02:00
Payee->Payer: Provide product resource
2016-03-21 16:41:40 +01:00
@enduml