feat: payment gateway plugins for release licensing (PayPal + Stripe) #135

Open
opened 2026-05-21 21:55:36 +00:00 by jmiller · 0 comments
Owner

Summary

Payment integration for license key purchases. Users pay via PayPal or Stripe to receive a license key for a release.

Priority: High

Requirements

Payment Gateways

  • PayPal (checkout, subscriptions)
  • Stripe (one-time, subscriptions, usage-based)
  • Plugin architecture for adding more gateways

Flow

  1. User views release page
  2. Clicks Buy License
  3. Redirected to PayPal/Stripe checkout
  4. On success: license key auto-generated and emailed
  5. Key tied to their account + payment receipt

Features

  • Per-repo pricing (set price per release/tier)
  • Subscription support (monthly/annual license renewal)
  • Coupon/discount codes
  • Invoice generation
  • Revenue dashboard per repo/org
  • Webhook on payment events
  • Refund handling (auto-revoke key)

Admin

  • Configure PayPal client ID/secret per org
  • Configure Stripe API keys per org
  • Payment history and reporting

Depends on #134 (license key management).

Authored-by: Claude Opus 4.6 (1M context)

## Summary Payment integration for license key purchases. Users pay via PayPal or Stripe to receive a license key for a release. ## Priority: High ## Requirements ### Payment Gateways - PayPal (checkout, subscriptions) - Stripe (one-time, subscriptions, usage-based) - Plugin architecture for adding more gateways ### Flow 1. User views release page 2. Clicks Buy License 3. Redirected to PayPal/Stripe checkout 4. On success: license key auto-generated and emailed 5. Key tied to their account + payment receipt ### Features - Per-repo pricing (set price per release/tier) - Subscription support (monthly/annual license renewal) - Coupon/discount codes - Invoice generation - Revenue dashboard per repo/org - Webhook on payment events - Refund handling (auto-revoke key) ### Admin - Configure PayPal client ID/secret per org - Configure Stripe API keys per org - Payment history and reporting Depends on #134 (license key management). *Authored-by: Claude Opus 4.6 (1M context)*
jmiller added the pending: design label 2026-05-22 02:01:08 +00:00
Sign in to join this conversation.
No labels pending: design
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#135