!revbank: Difference between revisions
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
[[Image:!revbank.png]] | [[Image:!revbank.png]] | ||
< | <!-- | ||
plantuml -p << 'END' > '!revbank.png' | plantuml -p << 'END' > '!revbank.png' | ||
@startuml | @startuml | ||
Line 40: | Line 41: | ||
group#eee unknown irc cloak or hostname | group#eee unknown irc cloak or hostname | ||
script <-- auth: undefined | |||
irc_user <-- script: error message | |||
note across: stop | note across: stop | ||
end | end | ||
script <-- auth: username | |||
script -> revbank: tr_xxxx username | script -> revbank: tr_xxxx username | ||
activate revbank | activate revbank | ||
Line 51: | Line 52: | ||
activate backend | activate backend | ||
backend -> mollie: get payment | backend -> mollie: get payment | ||
backend <-- mollie: payment | |||
backend -> backend: validate payment status | backend -> backend: validate payment status | ||
group#eee unknown, unpaid, or used voucher code | group#eee unknown, unpaid, or used voucher code | ||
revbank <-- backend: error message | |||
script <-- revbank: error message | |||
irc_user <-- script: error message | |||
note across: stop | note across: stop | ||
end | end | ||
Line 63: | Line 64: | ||
backend -> mollie: update metadata:\nrevbank_status = pending | backend -> mollie: update metadata:\nrevbank_status = pending | ||
revbank <-- backend: amount | |||
deactivate backend | deactivate backend | ||
revbank -> revbank: checkout | revbank -> revbank: checkout | ||
Line 70: | Line 71: | ||
backend -> mollie: update metadata:\nrevbank_status = spent | backend -> mollie: update metadata:\nrevbank_status = spent | ||
deactivate backend | deactivate backend | ||
script <-- revbank: new balance | |||
deactivate revbank | deactivate revbank | ||
irc_user <-- script: new balance | |||
deactivate script | deactivate script | ||
Line 78: | Line 79: | ||
END | END | ||
--> |
Revision as of 04:06, 21 January 2022
Met het bot-commando !revbank kun je je RevBank-saldo bekijken of opwaarderen via IRC in #revspace of een privebericht aan bar.
Authenticatie
De bot herkent je aan de hand van je cloak.
Saldo bekijken
!revbank
Saldo opwaarderen
- Check met !revbank of je wel herkend wordt, om vervelende verrassingen te voorkomen.
- Betaal via https://deposit.revspace.nl/ (zie ook deposit optie 1).
- Gebruik !revbank tr_xxxx waarbij tr_xxxx de code is die je na het betalen kreeg.
Implementatie