tops-stage-devtesting.rst (2306B)
1 Testing in the TOPS Staging Environment 2 ======================================= 3 4 This document contains a detailled, step-by-step instructions for testing 5 with the staging environment for the Taler Operations deployment. 6 7 The staging environment (on host ``rusty``) is almost equivalent to the production 8 environment. It is, however, not connected to a real bank account. 9 10 Prerequisites 11 ------------- 12 13 An administrator needs to enable your SSH key for testing 14 in the staging environment. 15 16 17 Withdrawals: Basic Withdrawal 18 ----------------------------- 19 20 1. Scan the following QR code to start a withdrawal from the `stage exchange <https://exchange.stage.taler-ops.ch/>`_: 21 22 .. image:: ./qr-withdraw-tops-stage.png 23 24 ``taler://withdraw-exchange/exchange.stage.taler-ops.ch/`` 25 26 2. Confirm the withdrawal in the wallet. 27 28 3. Run the following command to fake a wire transfer, using a randomly 29 generated creditor IBAN. The ``$AMOUNT`` and ``$SUBJECT`` should be 30 taken from the wire transfer instructions in the wallet UI. 31 32 .. code:: none 33 34 ssh -T devtesting@rusty.taler-ops.ch "fake-incoming --amount $AMOUNT --subject '$SUBJECT'" 35 36 4. Check that the withdrawal succeeded in the wallet. 37 38 39 Deposits: Basic Deposit 40 ----------------------- 41 42 1. Do a basic withdrawal. 43 2. Initiate a deposit in the wallet UI, using the receiver account known to the wallet from the withdrawal. 44 3. The deposit transaction should now ask for KYC information. Fill out the corresponding form(s). 45 4. The deposit transaction should finish. 46 47 Deposits: Deposit with KYC Auth 48 ------------------------------- 49 50 1. Do a basic withdrawal. 51 52 2. Generate an IBAN via: 53 54 .. code:: none 55 56 ssh -T devtesting@rusty.taler-ops.ch geniban 57 58 3. Initiate a deposit in the wallet UI to the randomly generated IBAN. 59 60 4. The deposit transaction should now ask for a KYC auth transfer. Satisfy the auth transfer by running: 61 62 .. code:: none 63 64 ssh -T devtesting@rusty.taler-ops.ch "fake-incoming --amount $AMOUNT --subject '$SUBJECT' --debit-payto '$DEBIT_PAYTO'" 65 66 with the information shown in the wallet UI, where the ``$DEBIT_PAYTO`` must contain the IBAN generated in step (2). 67 68 69 5. The deposit transaction should now ask for KYC information. Fill out the corresponding form(s). 70 71 6. The deposit transaction should finish. 72