Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

method-specific-payment

БесплатноБез исполняемых скриптовНе проверен

Charge through one specific Fawaterak rail — Fawry, card, wallet or Meeza

theYahiaот theYahia★ 43 звезды на GitHub

Об этом скилле

/method-specific-payment — Force one payment method

Algorithm

  1. Call get_payment_methods. It returns each enabled method with its id, name, key (fawry, visa, meeza, wallet…) and commission rate.
  2. 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.
  3. Show the commission rate for the chosen method before charging, so the user sees the cost.
  4. Call send_payment with payment_method_id, cartTotal (a string), cartItems, successUrl, failUrl, and optionally currency and pendingUrl.
  5. Call get_invoice_data with 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), без исполняемых скриптов.

Похожие скиллы

Сравнить method-specific-payment с