sf-payments

sf-payments is a skill for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 67 tokens per session (1,492 once invoked), scanned A, original, MIT.

A payment integration guide for Salesforce Commerce in B2C and B2B projects. It covers payment processors, payment adapters, stored payment methods, tokenization, and customer verification during payment.

In plain words
What is it for?
Use it to connect processors such as Stripe or Adyen, build B2C JavaScript or B2B Apex payment adapters, support cards and other payment methods, handle refunds, and add payment security controls.
Why use it?
It helps implement the stages of a payment—authorizing, capturing, refunding, or cancelling funds—without handling every platform the same way. It also explains controls that reduce exposure of card data and support 3D Secure authentication.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Part of the salesforce-commerce plugin — 22 skills, 1 agent shipped together

Good fit Use it to connect processors such as Stripe or Adyen, build B2C JavaScript or B2B Apex payment adapters, support cards and other payment methods, handle refunds, and add payment security controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcaqubits/agentic-commerce-skills-plugins/sf-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 OrcaQubits/agentic-commerce-skills-plugins --skill sf-payments
Clone the repo
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins

Made for: Claude Code.

Or install salesforce-commerce, the plugin that ships this one along with the rest of its 22 skills, 1 agent.

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 sf-payments

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/sf-payments/github.svg)](https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/sf-payments)
Your own site
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/sf-payments"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/sf-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 sf-payments

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/sf-payments"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/sf-payments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,492 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.
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.00067 $0.01492
Opus 5 $0.00034 $0.00746
Sonnet 5 $0.00013 $0.00298
Haiku 4.5 $0.00007 $0.00149

Measured 2d ago against content hash 301da3abbb9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-16, from the pricing page.

Security

Grade A, and why

sf-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 2d ago.

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.

salesforce-commerce/skills/sf-payments/SKILL.md · 180 lines

How it starts

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

sf-payments

Before Writing Code

Fetch live docs before implementing payment processing features.

  1. Web-search: "Salesforce Payments documentation Stripe Adyen 2026"
  2. Web-search: "Salesforce B2C Commerce payment cartridge integration guide 2026"
  3. Web-search: "Salesforce B2B Commerce Apex PaymentGatewayAdapter 2026"
  4. Web-search: "PCI DSS SAQ-A compliance tokenization 2026"
  5. Web-search: "3D Secure 2 SCA authentication flow implementation 2026"
  6. Web-fetch the Salesforce Payments setup guide and B2C payment hook documentation

Conceptual Architecture

Payment Flow Overview

Authorize (reserve funds)
  -> Capture (collect on shipment)
    -> Refund (return funds, full or partial)
  -> Void (cancel before capture)

This authorize-capture-refund lifecycle applies to both B2C and B2B. Some flows combine authorize + capture into a single "sale" operation.

Salesforce Payments (Native)

Multi-processor support: Salesforce Payments integrates with Stripe, Adyen, PayPal, and other processors. Configuration is unified within Salesforce Commerce setup.

Feature Detail
Payment methods Cards, Apple Pay, Google Pay, ACH, SEPA, local methods
Saved methods Tokenized cards for returning customers
Fraud detection Via configured processor (Stripe Radar, Adyen risk)
3DS / SCA Built-in support through processor
Dispute management Chargeback handling and evidence submission
Multi-currency Configured per processor account

B2C Payment Processor Architecture

Cartridge-based integration:

  • Payment processors packaged as SFCC cartridges (int_stripe, int_adyen, int_paypal, int_cybersource)
  • Cartridge overlays base commerce cartridge
  • Configuration in Business Manager: credentials, endpoints, payment method assignment
  • Site-specific processor configuration per locale

Payment Hook Points:

Hook Purpose
Authorize Reserve funds on payment method
Capture Capture authorized amount (full or partial)
Refund Return funds to customer
Void Cancel authorization before capture
Verify Validate payment method ($0 auth)

Read the full file on GitHub · 180 lines

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. 2d ago First seen · 180 lines · 67 tokens per session scan A 301da3abbb9a

Subscribe to this mod's changes

sf-payments is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (39 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 1,492 once invoked, about $0.0003 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-15.

Related

Other skills, from other repositories

sales-ledger

Provides the Q3 sales ledger workbook for reporting tasks. Use when a task asks you to compute bonuses or totals over the sales ledger; the data lives only in this skill's bundled workbook.

archestra-ai/archestra · 42 tokens

internet-court

Entry point for Internet Court — the trust layer for agent-to-agent commerce. Use whenever an agent needs to transact with another agent or a paid service, or a user mentions agent payments, paid APIs (HTTP 402/x402), wallet custody or trust concerns, spending mandates, delegated permissions (ERC-7710/7715), escrow…

internet-court/internet-court-skill · 147 tokens

okx-agent-payments-protocol

Use when an agent hits HTTP 402 / payment-required, or the user mentions x402, x402Version, X-PAYMENT, PAYMENT-REQUIRED, PAYMENT-SIGNATURE, WWW-Authenticate: Payment, permit2, upto, metered billing, a payment channel / voucher / session, channelId / channelid, opening / closing / topping up / settling / refunding a…

internet-court/internet-court-skill · 231 tokens

jupiter-lend

Interact with Jupiter Lend Protocol. Read-only SDK (@jup-ag/lend-read) for querying liquidity pools, lending markets (jlTokens), and vaults. Write SDK (@jup-ag/lend) for lending (deposit/withdraw) and vault operations (deposit collateral, borrow, repay, manage positions).

internet-court/internet-court-skill · 68 tokens

okx-dapp-discovery

Plugin router for 20 third-party DeFi protocols (Polymarket, Aave, Hyperliquid, PancakeSwap, Morpho, Raydium, Curve, Compound, Pendle, Lido, ether.fi, GMX, Kamino, Orca, Meteora, Clanker, pump.fun, Uniswap) and their protocol-native tokens (HYPE, HLP, eETH, weETH, stETH, wstETH, LDO, GHO, CAKE, CRV, COMP, RAY, ETHFI…

internet-court/internet-court-skill · 351 tokens

lifi

LI.FI REST API for cross-chain and same-chain token swaps, bridging, DeFi deposits (Composer), yield discovery (Earn), and intent-based execution (Intents). USE THIS SKILL WHEN USER WANTS TO: Swap tokens between different blockchains (e.g., "swap USDC on Ethereum to ETH on Arbitrum") Bridge tokens to another chain…

internet-court/internet-court-skill · 299 tokens