From 2faccac0f4f7c6214dab00a6261ad98b481762d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F?= Date: Wed, 4 Nov 2026 16:09:47 +0100 Subject: [PATCH] Document Stripe test cards on staging Co-Authored-By: Claude Opus 5.5 --- README.md | 3 +++ README.stub | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 4a3d55b..d719615 100644 --- a/README.md +++ b/README.md @@ -414,6 +414,9 @@ try { ### Testing Develop against staging (`ANIKEEN_ID_MODE=staging`) with an OAuth client registered there. +Payments on staging run in Stripe's test mode: pay with Stripe's +[test cards](https://docs.stripe.com/testing), e.g. `4242 4242 4242 4242` with any future expiry +date and any CVC. No money is charged. Point `ANIKEEN_ID_BASE_URL` at your own Anikeen ID instance if you run one locally. In unit tests, swap the HTTP client for a Guzzle `MockHandler`: diff --git a/README.stub b/README.stub index f9dbd40..5bb5ac5 100644 --- a/README.stub +++ b/README.stub @@ -414,6 +414,9 @@ try { ### Testing Develop against staging (`ANIKEEN_ID_MODE=staging`) with an OAuth client registered there. +Payments on staging run in Stripe's test mode: pay with Stripe's +[test cards](https://docs.stripe.com/testing), e.g. `4242 4242 4242 4242` with any future expiry +date and any CVC. No money is charged. Point `ANIKEEN_ID_BASE_URL` at your own Anikeen ID instance if you run one locally. In unit tests, swap the HTTP client for a Guzzle `MockHandler`: