> For the complete documentation index, see [llms.txt](https://docs.solutioo.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.solutioo.de/vr-pay-integration/anwendung/testen.md).

# Testen

### 1. Testmodus

VR Pay bietet einen Testmodus, in dem keine echten Zahlungen durchgeführt werden. Erkennbar am Hinweis:

> "Request successfully processed in 'Merchant in Integrator Test Mode'"

### 2. Test-Kreditkarten

Verwenden Sie diese Kreditkarten zum Testen von Zahlungen:

<table><thead><tr><th width="126.44189453125">Kreditkarte</th><th width="207.568115234375">Kartennummer</th><th width="80.0775146484375">CVC</th><th width="184.4791259765625">Ablaufdatum</th></tr></thead><tbody><tr><td><strong>Visa</strong></td><td>4111 1111 1111 1111</td><td>123</td><td>Aktueller Monat/Jahr</td></tr><tr><td><strong>Mastercard</strong></td><td>5399 9999 9999 9999</td><td>123</td><td>Aktueller Monat/Jahr</td></tr></tbody></table>

#### Beispiel

Für Februar 2026:

* **Kartennummer**: 4111 1111 1111 1111
* **Ablaufdatum**: 02/26
* **CVC**: 123
* **Name**: Beliebiger Name

### 3. Test-Workflow

{% stepper %}
{% step %}

### QR-Code erstellen

* Gebuchte Rechnung öffnen.
* **VR Pay** → [**QR-Code erstellen**](#qr-code-erstellen)
* Status wechselt auf *"Ausstehend".*
  {% endstep %}

{% step %}

### Zahlung durchführen

* QR-Code scannen oder Payment URL öffnen.
* Test-Kreditkarte eingeben.
* Zahlung bestätigen.
  {% endstep %}

{% step %}

### Webhook verarbeiten

* In BC: *"VR Pay Setup"* öffnen
* *"*[*Webhooks abrufen*](#webhook-verarbeiten)*"* klicken
* Status wechselt auf *"Bezahlt".*
  {% endstep %}

{% step %}

### Ergebnis prüfen

* Rechnungsliste: Status = *"Bezahlt"* (grün)
* VR Pay Transaktionen: Transaktion mit Status *"Bezahlt"*
* Admin-Portal: Webhook-Zähler erhöht
  {% endstep %}
  {% endstepper %}

### 4. Häufige Testszenarien

#### Erfolgreiche Zahlung

* Verwenden Sie die Test-Kreditkarten oben.
* Zahlung wird sofort bestätigt.

#### Abgebrochene Zahlung

* Starten Sie die Zahlung.
* Schließen Sie das Browserfenster.
* Status bleibt *"Ausstehend".*

#### Ungültige Lizenz testen

1. Im Admin-Portal: Installation deaktivieren.
2. In BC: *"*[*Lizenz prüfen*](https://docs.solutioo.de/vr-pay-integration/anwendung/pages/r2vjkYrr4pJxf6fdSsNt#id-4.-lizenz-in-bc-prufen)*"* klicken.
3. *"*[*QR-Code erstellen*](/vr-pay-integration/anwendung/installation.md)*"* → Fehlermeldung
4. Im Admin-Portal: Installation wieder aktivieren.

### 5. Testdaten in Webhooks

Im Testmodus enthalten Webhooks zusätzliche Informationen:

```json
{
  "transaction": {
    "mode": "TEST",
    "metadata": {
      "description": "Request successfully processed in 'Merchant in Integrator Test Mode'"
    }
  }
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.solutioo.de/vr-pay-integration/anwendung/testen.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
