django-subscription-midtrans

A production-ready Django package for subscription billing with Midtrans Core API integration.

https://img.shields.io/pypi/v/django-subscription-midtrans.svg https://img.shields.io/badge/Python-3.10%2B-blue.svg https://img.shields.io/badge/Django-4.2%2B-green.svg

django-subscription-midtrans provides a full subscription management system with:

  • Subscription Plans with configurable billing intervals, trials, and feature flags

  • 7 Payment Methods: Credit Card, Bank Transfer (BCA/BNI/BRI/Permata/CIMB), GoPay, ShopeePay, QRIS, E-Channel, Wallet

  • Automatic Billing via Celery Beat periodic tasks

  • Invoice System with auto-generated line items

  • Wallet & Top-Up with internal balance management

  • Webhook Processing with SHA-512 signature verification

  • Django Unfold Admin with status badges and bulk actions

  • 20+ Django Signals for lifecycle events

  • REST API via Django REST Framework

Important

This package uses the Midtrans Core API (/v2/charge, /v1/subscriptions, /v1/invoices), NOT Midtrans Snap.

Contents

Development

Indices and tables