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.