payment-subscriptions

Integrates Flow. cl Chile and Stripe recurring payments with Django webhooks and billing models.

Updated Nov 2, 2025
One-click install
npx skills add https://github.com/ecolonco/skill --skill payment-subscriptions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payment-subscriptions
Source: https://github.com/ecolonco/skill/tree/main/.claude/skills/payment-subscriptions
Command: npx skills add https://github.com/ecolonco/skill --skill payment-subscriptions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a production-ready implementation for recurring payments, combining Flow.cl in Chile and Stripe internationally to manage subscriptions, webhooks, and robust fallback handling.

Core Features & Use Cases

  • Flow.cl integration for Chilean payments with multiple predefined plans
  • Stripe integration for international payments
  • Webhook handling and HMAC-based signature verification
  • Production-ready data models for customers and subscriptions
  • Use Case: A SaaS startup offering monthly plans can route payments through Flow.cl in Chile and Stripe elsewhere

Quick Start

Install dependencies, configure environment variables, run migrations, and start the Django server.

  • pip install requests cryptography psycopg2-binary
  • Set up FLOW_API_KEY, FLOW_SECRET, FLOW_SANDBOX, FLOW_BASE_URL, and FLOW_PLAN_* IDs
  • python manage.py makemigrations
  • python manage.py migrate
  • python manage.py runserver 8000

Frequently Asked Questions about payment-subscriptions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle recurring payments with Flow.cl and Stripe in Django?

You can handle recurring payments by implementing customer data models, multi-plan billing, and webhook receivers with HMAC signature verification. This setup routes Chilean payments through Flow.cl and international payments through Stripe.

What's the best way to verify Stripe and Flow.cl webhooks in a Django production environment?

The best way to verify webhooks in a Django production environment is using HMAC-based signature verification. This validates incoming webhook payloads for subscription billing events to ensure they are authentic and securely processed.

Can I map multiple predefined subscription plans to Flow.cl in a SaaS application?

Yes, you can map multiple predefined subscription plans to Flow.cl. The implementation supports multi-plan billing by configuring specific environment variables like FLOW_PLAN_* IDs for your SaaS application.

Do I need specific environment variables to configure Flow.cl sandbox mode for subscriptions?

Yes, you need specific environment variables to configure Flow.cl sandbox mode. You must set FLOW_API_KEY, FLOW_SECRET, FLOW_SANDBOX, and FLOW_BASE_URL to securely test subscriptions before production deployment.

How does fallback error handling work for international Stripe subscriptions?

Fallback error handling for international Stripe subscriptions works by catching processing failures and securely managing customer data states. It ensures robust subscription management when international payment routing encounters errors.