!revbank: Difference between revisions

From RevSpace
Jump to navigation Jump to search
Line 19: Line 19:
[[Image:!revbank.png]]
[[Image:!revbank.png]]


<div style="display:none">
<!--
 
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
auth --> script: undefined
script <-- auth: undefined
script --> irc_user: error message
irc_user <-- script: error message
note across: stop
note across: stop
end
end


auth --> script: username
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
mollie --> backend: 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
backend --> revbank: error message
revbank <-- backend: error message
revbank --> script: error message
script <-- revbank: error message
script --> irc_user: 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
backend --> revbank: amount
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
revbank --> script: new balance
script <-- revbank: new balance
deactivate revbank
deactivate revbank
script --> irc_user: new balance
irc_user <-- script: new balance
deactivate script
deactivate script


Line 78: Line 79:


END
END
</div>
 
-->

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

  1. Check met !revbank of je wel herkend wordt, om vervelende verrassingen te voorkomen.
  2. Betaal via https://deposit.revspace.nl/ (zie ook deposit optie 1).
  3. Gebruik !revbank tr_xxxx waarbij tr_xxxx de code is die je na het betalen kreeg.

Implementatie

!revbank.png