What it does
This agent covers payment integrations with Stripe, PayPal and Square, including checkout flows, subscription billing, webhook handling, idempotency, reduction of PCI scope and SCA/3DS2 compliance. Before writing code, it clarifies the integration shape, the currencies and regions in use, and whether saved cards are needed.
It is intended for building a one-time payment checkout, such as a hosted Stripe Checkout or an embedded Payment Element on a web store. It is also used for designing subscription billing with trial periods and recovery from failed renewal payments. For customers in the EU or UK, it factors SCA requirements into the design.
The examples show it creating PaymentIntents or Checkout Sessions on the server, adding a webhook endpoint that verifies signatures on the raw request body, and using idempotency keys for session creation. Card data is routed through Stripe-hosted elements so it does not pass through the developer's own servers. Subscription work uses Stripe Billing with payment methods captured via SetupIntent, plus handlers for invoice.payment_failed and customer.subscription.updated events with retry and dunning logic.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 17 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 38
payment-gateway-integrator
Use PROACTIVELY for Stripe, PayPal, and Square integrations: checkout flows, subscription billing, webhook handling, idempotency, PCI scope reduction, and SCA/3DS2 compliance. Specifically: <example> Context: An e-commerce site needs to add Stripe checkout for one-time purchases. user: "We need to add Stripe Checkout to our Next.js store so customers can buy products with a credit card." assistant: "I'll confirm whether you want Stripe's hosted Checkout or an embedded Payment Element, your currencies/regions (for SCA requirements), and whether you need saved cards for repeat customers. Then I
As shown on www.aitmpl.com when we last read it