wc-stripe-future-payments

wc-stripe-future-payments is a skill for Codex from Lonsdale201/wp-agent-skills. It costs 149 tokens per session (2,833 once invoked), scanned A, original, MIT.

A guide to Stripe payments that save a reusable payment method and charge it later. It explains the difference between a SetupIntent, which saves a method without charging, and a PaymentIntent, which charges money.

In plain words
What is it for?
Use it for deposits, installments, subscriptions, or other WooCommerce purchases that need future off-session charges and customer consent.
Why use it?
It prevents incorrect flows where saving a payment method, taking the first payment, and making later charges are treated as one operation.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it for deposits, installments, subscriptions, or other WooCommerce purchases that need future off-session charges and customer consent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lonsdale201/wp-agent-skills/wc-stripe-future-payments
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Lonsdale201/wp-agent-skills --skill wc-stripe-future-payments
Clone the repo
git clone --depth 1 https://github.com/Lonsdale201/wp-agent-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wc-stripe-future-payments

README.md
[![agentmods](https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/wc-stripe-future-payments/github.svg)](https://agentmods.dev/skills/lonsdale201/wp-agent-skills/wc-stripe-future-payments)
Your own site
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/wc-stripe-future-payments"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/wc-stripe-future-payments/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wc-stripe-future-payments

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/wc-stripe-future-payments"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/wc-stripe-future-payments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,833 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00149 $0.02833
Opus 5 $0.00075 $0.01417
Sonnet 5 $0.00030 $0.00567
Haiku 4.5 $0.00015 $0.00283

Measured yesterday against content hash e0666aa66297, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wc-stripe-future-payments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

woocommerce/wc-stripe-future-payments/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WooCommerce Stripe future payments

Saving a payment method, charging now, and charging later are three distinct operations. Assign each operation one owner and an explicit state machine.

Choose the correct Stripe object

Required outcome Stripe flow
Save now, charge nothing Confirm a SetupIntent with usage=off_session
Charge now and prepare the same method for later Confirm a PaymentIntent associated with the Customer and set setup_future_usage=off_session
Charge an already saved method without the shopper present Create a new PaymentIntent with the Customer, PaymentMethod, off_session=true, and confirm=true
First amount is zero, later amounts are scheduled SetupIntent first; create a separate PaymentIntent for every due charge

A SetupIntent never creates a charge. Do not describe “SetupIntent saves the card and deducts the first installment” as one operation. Use a PaymentIntent for charge-now-and-save, or use a SetupIntent followed by a separate PaymentIntent when the product flow genuinely needs two operations.

setup_future_usage improves authentication/optimization for later use; it does not make every payment-method type reusable and does not guarantee that every future off-session attempt succeeds without authentication.

Do not conflate merchant installments with BNPL

In a merchant-managed installment plan, the merchant saves an eligible method and initiates later charges. Third-party BNPL methods such as Affirm, Afterpay/Clearpay, or Klarna commonly use provider approval/redirect flows: the merchant receives the purchase amount under the BNPL settlement contract, while the shopper repays the BNPL provider. That is not the same as saving a merchant-owned card for later PaymentIntents. A subscription gateway may use cards, debits, wallets, hosted checkout, or mandates; there is no universal “every serious gateway does this” implementation.

Decide who owns Stripe checkout

Extend the official stripe gateway when it owns the payment

Read the full file on GitHub · 203 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -1 lines e0666aa66297
  2. 9d ago First seen · 204 lines · 149 tokens per session scan A 9f5855c5a3d9

Subscribe to this mod's changes

wc-stripe-future-payments is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 149 tokens to every session and 2,833 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

marketplace-purchase-vetting

Use this when the user asks whether a local listing is a scam, "too good to be true," worth looking at, or a good deal. Also use this when he asks you to find options — search/discover candidates, then vet the best ones. The goal is not a generic buying guide; it is a practical risk read with clear next steps.

AtlasOmnia/donna-starter · 72 tokens

saas-billing

Implement and audit SaaS billing systems, subscription state machines, secure webhooks, and local database synchronization / Implementasi dan audit sistem billing SaaS, state machine langganan, webhook aman, dan sinkronisasi database lokal.

roedyrustam/vibes-plug · 51 tokens

payment-gateway-expert

Expert guide for integrating payment gateways (Stripe, PayPal, Xendit, Midtrans, DOKU) and secure webhooks into SaaS platforms / Panduan ahli integrasi payment gateway dan webhook aman.

roedyrustam/vibes-plug · 49 tokens

doku-mcp-server

Expert guide for DOKU Model Context Protocol (MCP) Server integration. Enables AI Agentic Commerce with tools for payment links, Virtual Accounts, QRIS, transaction status checks, and client configuration (Claude Desktop, Cursor, AGY) / Panduan ahli DOKU MCP Server untuk AI Agentic Commerce.

roedyrustam/vibes-plug · 70 tokens

checkout-integration

Guide for starting hosted Checkout Sessions, payment links, and overlay or inline checkout for one-time and recurring products; use subscription-integration for post-checkout lifecycle management.

dodopayments/skills · 37 tokens

refunds-and-disputes

Guide for issuing refunds, handling disputes and chargebacks, and reconciling customer access with Dodo Payments.

dodopayments/skills · 28 tokens