Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Genpark Commerce Agent Checkout Orchestrator Skill

БесплатноНе проверен

E-Commerce checkout session orchestrator skill supporting multiple gateways with security hashing.

GitHubEmbed

Описание

E-Commerce checkout session orchestrator skill supporting multiple gateways with security hashing.

README

GenPark AI Agent Skill -- # Commerce Agent Checkout Orchestrator Skill

This repository contains the Commerce Agent Checkout Orchestrator Skill — an agent configuration skill config (skill.json), a production-ready Python SDK client (checkout_orchestrator.py), and executable verification tests. It is designed to orchestrate checkout sessions across payment gateways (Stripe & PayPal), calculate dynamic discounts, resolve location-based shipping, and compute HMAC-SHA256 verification hashes to prevent checkout request tampering.


🚀 Capabilities

  • HMAC-SHA256 Cart Audits: Prevents client-side parameter tampering by signing pricing totals and metadata via merchant signing keys.
  • Percentage & Shipping Discounts: Supports multiple promo coupons like "SAVE20" (20% off subtotal) and "FREESHIP" (zero shipping cost).
  • Multi-Gateway Formatting: Outputs complete API structure configurations ready to send to Stripe Checkout Sessions or PayPal Order Intent endpoints.

🛠️ Setup & Installation

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Configuration: Set your merchant signing secret environment variable (defaults to default_secret_key if absent):

    • PowerShell:
      $env:CHECKOUT_SIGNING_SECRET="your_secret_key"
      
    • bash:
      export CHECKOUT_SIGNING_SECRET="your_secret_key"
      

💻 SDK Usage Reference

from checkout_orchestrator import CommerceCheckoutOrchestrator

# Initialize client with secret key
orchestrator = CommerceCheckoutOrchestrator(signing_secret="merchant_secret")

# Run orchestration
session = orchestrator.orchestrate_checkout(
    cart_items=[{"sku": "SKU-01", "price": 45.00, "quantity": 2}],
    discount_code="SAVE20",
    shipping_address={"country": "US", "postal_code": "90210"},
    gateway="stripe"
)

print(f"Grand Total: ${session['pricing_summary']['grand_total']:.2f}")
print(f"HMAC Verification Hash: {session['signature_hash']}")

📜 License

This project is licensed under the MIT License.

from github.com/alphaparkinc/genpark-commerce-agent-checkout-orchestrator-skill

Установка Genpark Commerce Agent Checkout Orchestrator Skill

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/alphaparkinc/genpark-commerce-agent-checkout-orchestrator-skill

FAQ

Genpark Commerce Agent Checkout Orchestrator Skill MCP бесплатный?

Да, Genpark Commerce Agent Checkout Orchestrator Skill MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Genpark Commerce Agent Checkout Orchestrator Skill?

Нет, Genpark Commerce Agent Checkout Orchestrator Skill работает без API-ключей и переменных окружения.

Genpark Commerce Agent Checkout Orchestrator Skill — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Genpark Commerce Agent Checkout Orchestrator Skill в Claude Desktop, Claude Code или Cursor?

Открой Genpark Commerce Agent Checkout Orchestrator Skill на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Genpark Commerce Agent Checkout Orchestrator Skill with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai