Payment sessions
One card per request.json from AppStar (newest first). Pick the outcome on the gateway page AppStar sends the buyer to, or preset it here before the buyer gets there. Verify answers from the outcome.
Request log
Every call AppStar made to the mock, and every return the mock sent the browser back with (marked → app). Click a row for the full request and response.
| Time | Request | Payment | Status | ms |
|---|
Faults
Break one endpoint (or all of them) for one payment or buyer, or for everyone, for N calls or until removed. Faults win over the payment's outcome. Use them for the purchase request (no authority yet), the gateway page and the card lookup.
Add a fault
Active faults
request.json and verify.json after 20 s (connect 5 s), on StartPay after 10 s and on the card lookup after 30 s. drop closes the connection with no response (curl error).Card lookup
The Zarinpal panel search by card number (next.zarinpal.com GraphQL) that AppStar's refund request and the admin purchases page use. It lists every mock payment made with that card, plus the rows added here.
Add a card transaction
Added rows
Outcomes
What the buyer can do on the gateway page, the Status AppStar gets back, what verify.json answers, and what AppStar should do.