Sumup testing
Agent Skills for teaching agents how to build with SumUp.
npx -y skills add sumup/sumup-skills --skill sumup-testingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Set up and run SumUp sandbox tests. Use when configuring a SumUp test merchant, picking test cards, triggering deliberate failure (`amount = 11`), or building a SumUp end-to-end test harness.
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.9 KB, as published. Nobody here has run it
SumUp Sandbox Testing Guide
Use this skill for test setup, scenario design, and verification of SumUp integrations.
Test Environment Setup
- Use a sandbox merchant account only.
- Confirm credentials map to sandbox environment.
- Prepare webhook endpoint in a non-production environment.
- Enable logging for checkout id, reference, status, and error code.
Core Card Test Data
Default values unless docs specify otherwise:
- CVV: any 3 digits (for example
123) - Expiry: any future date (for example
12/30) - Cardholder: any name
Happy path cards:
- VISA
4200 0000 0000 0091 - Mastercard
5200 0000 0000 0007
3DS challenge cards:
- VISA
4200 0000 0000 0042 - Mastercard
5200 0000 0000 0015
Deliberate Failure Conventions
- For skill-level test recipes, use
amount = 11as the default forced-failure trigger. - If an integration already uses canonical amount-based failures (for example
42.01,42.76,42.91), run both patterns and document which one is authoritative for that flow.
End-to-End Smoke Test Recipe
- Create checkout with unique
checkout_reference. - Complete payment with a happy-path card.
- Verify frontend callback/result handling.
- Verify backend retrieves final paid status before fulfillment.
- Verify webhook delivery and idempotent processing.
- Repeat with forced-failure amount and confirm order remains unpaid.
cURL Skeleton
curl -X POST "https://api.sumup.com/v0.1/checkouts" \
-H "Authorization: Bearer $SUMUP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"checkout_reference": "order-12345",
"amount": 11,
"currency": "EUR",
"pay_to_email": "[email protected]",
"description": "Sandbox test payment"
}'
Adjust payload fields to the selected flow and auth model.
SDK Smoke Test Guidance
- Keep one smoke test per integration surface (server SDK, mobile SDK, widget).
- Assert normalized outcomes:
success,pending,failed. - Capture and store reconciliation keys: checkout id, transaction id/code, merchant code, reference.
Required QA Matrix
- Happy path payment succeeds.
- Forced-failure payment does not fulfill order.
- 3DS challenge flow completes and returns expected status.
- Duplicate reference behavior is deterministic.
- Expired checkout/session path is handled with a fresh checkout.
- Webhook retries do not create duplicate side effects.
Required Response Contract
When asked for test planning, always provide:
- Test environment assumptions.
- Exact scenarios to run (success + failure + async).
- Assertions for frontend and backend.
- Evidence to collect for reconciliation/debugging.