add
Add a second payment provider alongside an existing integration, without touching the one already running.
Migrate from one payment provider to another, keeping the old one running until the new one is proven.
> /plugin marketplace add Hainrixz/agente-pagokit > /plugin install pagokit@tododeia
How it fires
How this command gets triggered: by you, by Claude, or both.
/migrateContext preview
What this command does when you run it.
Migrate from one payment provider to another, keeping the old one running until the new one is proven.
description: Migrate from one payment provider to another, keeping the old one running until the new one is proven. argument-hint: "<from-provider> <to-provider>"
The common reasons are real ones: taxes became a burden and a merchant of record solves it; a local provider now covers the market better than the cross-border one; the current provider does not support a rail that customers keep asking for; or the provider is being wound down.
A migration is not a rewrite. It is a period where **both run at once**.
Read `PAGOKIT_INTEGRATION.md`, then verify against the code — it can be stale. Inventory:
belong to the provider that vaulted them; some providers support a network token migration on request, most do not. Establish this before promising anything.
Read both providers' catalog entries and name the differences that will bite:
a churn event, not a technical detail, and the user needs to decide how to handle it.
explicitly, `required_events_minimum` to `required_events_minimum`, and flag anything with no equivalent.
different architecture, not a swapped SDK.
tax handling and the name on the customer's statement all change.
changes shape.
1. Add the new provider alongside the old one (`/pagokit:add` does this). 2. Route **new** payments to the new provider; leave existing subscriptions on the old one. 3. Run both webhook handlers. Keep the old one alive for as long as the provider can still send disputes and refunds — that is months, not days. 4. Migrate subscriptions at their natural renewal, not in a batch. 5. Keep a `provider` column on every payment row, forever. Historical reconciliation needs it long after the old provider is gone.
`PAGOKIT_MIGRATION.md`: what moves when, what cannot move, what the customer sees, and the rollback. A migration without a written rollback is a bet.
weeks later.
providers in writing.
which one did it.
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
Add a second payment provider alongside an existing integration, without touching the one already running.
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.
Analyze the current project and generate a production-ready payment integration (frontend + backend + webhook + DB + portal + refund).