Platform Payment Flows

Community

Unified payments for posts, tips, and PROs

Authoraaaa47080
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Platform-specific payment logic for posts, tips, and PRO membership upgrades, aligning client SDK payments with server-side verification and fulfillment.

Core Features & Use Cases

  • Payment orchestration: Client-Side Pi SDK initiates payments and returns txid; Server-Side verifies and fulfills actions against business logic.
  • Workflow coverage: Handles paid post creation, tipping, and PRO membership upgrades with transactional integrity and replay protection.
  • Operational scope: Integrates with frontend assets (web/js/forum.js, web/js/premium.js), backend routers (api/routers/forum.py, api/routers/user.py), and databases (core/database/forum.py, core/database/user.py) to apply payments to platform features. Use Case: Imagine a user pays 0.1 Pi to create a post and automatically unlocks it, while the creator receives a tip and the payer upgrades to PRO after monthly billing.

Quick Start

Integrate the client and server payment flows to enable platform payments.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Platform Payment Flows
Download link: https://github.com/aaaa47080/stock_agent/archive/main.zip#platform-payment-flows

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.