Crypto pay scheme
General working scheme
---
config:
theme: dark
---
graph LR
A(Crypto Pay Plugin) --> P -->M((Sucsess Pay))-->Z{Webhook}
X((Directual)) --> A
C[Web App]
B[Telegram Bot]
E[Webhook]
F[Rest API]
F-->X
E-->X
P[You App]
B --> X
C --> X
Sale Product Scheme
---
config:
theme: dark
---
graph LR
A(Product)-->B(Add to cart)-->C(Checkout)-->E((Directual))-->F(Crypto Pay Plugin)-->G((Sucsess Pay))-.Webhook-.->E
Donation scheme
---
config:
theme: dark
---
graph LR
A(Telegram bot)-->V
B(Web app)-->V
C(You Form)-->V
V[Enter amount]-->E
E((Directual))-->F(Crypto Pay Plugin)-->G((Sucsess Pay))-.Webhook-.->E
Refund system
---
config:
theme: dark
---
graph LR
A(Sad user)-->B[You]-->C
B-->D
C(You App)-->E
D(You Bot)-->E
E((Directual))-->F
F(Crypto Pay Plugin)-->T((Get Refund))-.Webhook.->E
T-->L(Happy You)
T-->O(Happy User)