method-specific-payment
БесплатноБез исполняемых скриптовНе проверенCharge through one specific Fawaterak rail — Fawry, card, wallet or Meeza
от theYahia★ 43 звезды на GitHubОб этом скилле
/method-specific-payment — Force one payment method
Algorithm
- Call
get_payment_methods. It returns each enabled method with its id, name, key (fawry, visa, meeza, wallet…) and commission rate. - Match the method the user named to a row and take its numeric id. If the method they want is not in the list, stop — it is not enabled on this account. Do not substitute another.
- Show the commission rate for the chosen method before charging, so the user sees the cost.
- Call
send_paymentwith payment_method_id, cartTotal (a string), cartItems, successUrl, failUrl, and optionally currency and pendingUrl. - Call
get_invoice_datawith the returned invoice_id to confirm the outcome and pull the method-specific artifact — for Fawry that is the reference code the customer pays with.
Response format
## Fawaterak payment — fawry
**Method**: Fawry (id 2, commission 1.0%)
**Invoice**: 88231
**Total**: 450 EGP
**Status**: unpaid
**Fawry reference**: 187 264 913
Customer pays this reference at any Fawry outlet within 48 hours.
Notes
- Method ids are account-specific. Always read them from
get_payment_methods; never hardcode. - Wallet and Meeza flows return a redirect; Fawry returns a code. Present whichever the response actually contains.
- Commission differs per method — mention it when the user is choosing between rails.
Examples
/method-specific-payment fawry 450 "Mona Hassan" [email protected]
/method-specific-payment meeza 1200 "Ahmed Ali" [email protected]
Установить method-specific-payment в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл method-specific-payment?
Charge through one specific Fawaterak rail — Fawry, card, wallet or Meeza
Как установить скилл method-specific-payment?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл method-specific-payment запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic