compare
Compare two or more payment providers head to head for a concrete situation — real fees on a real amount, coverage, onboarding time, and what PagoKit can…
Add a second payment provider alongside an existing integration, without touching the one already running.
> /plugin marketplace add Hainrixz/agente-pagokit > /plugin install pagokit@tododeia
How it fires
How this command gets triggered: by you, by Claude, or both.
/addContext preview
What this command does when you run it.
Add a second payment provider alongside an existing integration, without touching the one already running.
description: Add a second payment provider alongside an existing integration, without touching the one already running. argument-hint: "[<provider-id>]"
Real projects end up with more than one provider: a local one for domestic buyers and a cross-border one for everyone else, or a card processor plus a wallet. PagoKit has assumed this since v0.1 — every webhook route is namespaced `/api/webhook/<provider>` precisely so a second one can land without a collision.
1. Read `PAGOKIT_INTEGRATION.md` to learn what already exists: provider, routes, tables, env vars. If it is missing, detect the existing integration by globbing for webhook routes and payment SDK imports, and say you are working from inference. 2. If no provider was named, run `payment-advisor` for the **new** requirement — not the one already solved. Ask what the existing provider does not cover: a country, a rail, a billing mode. 3. Plan the addition, and be explicit about what is shared and what is not:
| Shared | Duplicated per provider | |---|---| | `payments`, `customers`, `webhook_events_processed` tables (add a `provider` column if absent) | The webhook route, namespaced | | `lib/payments/errors.ts` — extend the taxonomy | The SDK client and its env vars | | The checkout entry point, which now routes by provider | The provider-specific checkout call |
4. Delegate to `integration-specialist` with an explicit instruction: **do not modify the existing provider's files.** Additive changes only.
new provider can update a payment created by the old one.
block it if it does, but catching it here is cheaper than a blocked write.
and write it down in `PAGOKIT_INTEGRATION.md`. This is the part that gets forgotten and becomes unexplainable six months later.
not risk the one currently taking money.
what let you disable one provider without touching the other.
Claude Code plugin that picks and implements the right payment method for your app — from your terminal. 42 providers, 136 payment rails, and deterministic validators that block insecure payment code as it is written.
Repo: Hainrixz/agente-pagokit
Compare two or more payment providers head to head for a concrete situation — real fees on a real amount, coverage, onboarding time, and what PagoKit can…
Show what you can actually use in a given country — providers, local rails, currency exponent, e-invoicing obligation, and whether a local acquirer is required.
Audit an existing PagoKit integration — gitignore, env vars, key prefixes, webhook secret, raw body, replay protection, idempotency, DB schema, minimum events…
Audit a hand-written payment integration and FIX what it finds. Unlike /pagokit:doctor, which is read-only, this one writes.
Migrate from one payment provider to another, keeping the old one running until the new one is proven.
Analyze the current project and generate a production-ready payment integration (frontend + backend + webhook + DB + portal + refund).