Skip to content
Back to skills

Commerce Payments

ASecurity

Manage payments, captures, refunds, and payment methods. Use when running `stateset-payments`, `stateset-pay`, or handling payment intents.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
tools

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill commerce-payments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commerce Payments?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commerce Payments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-commerce-payments/badge)](https://www.skillsdirectory.com/skills/majiayu000-commerce-payments)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: commerce-payments
description: Manage payments, captures, refunds, and payment methods. Use when running `stateset-payments`, `stateset-pay`, or handling payment intents.
---

# Commerce Payments

Create, complete, and refund payments for orders.

## How It Works

1. Create a payment record tied to an order.
2. Complete or fail the payment based on gateway results.
3. Issue refunds (full or partial) when needed.
4. Record transaction references and update order status.

## Usage

- CLI: `stateset-payments ...` and `stateset-pay ...` for stablecoin operations.
- Writes require `--apply`.
- MCP tools: `list_payments`, `get_payment`, `create_payment`, `complete_payment`, `create_refund`.

## Output

```json
{"status":"completed","payment_id":"pay_123","amount":129.99}
```

## Present Results to User

- Payment or refund IDs and amounts.
- Method used and transaction references.
- Order status updates if applicable.

## Troubleshooting

- Payment already captured: avoid duplicate completion.
- Refund exceeds paid amount: validate remaining balance.

## References
- references/payments-flow.md
- /home/dom/stateset-icommerce/cli/.claude/agents/payments.md
- /home/dom/stateset-icommerce/cli/bin/stateset-pay.js

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.