az-iranian-bank-gateways simplifies integration with Iranian banks by providing a Python framework for Django. It handles communication with multiple gateways through a consistent API. The primary objective is to abstract the complexities of individual gateway APIs, enabling developers to easily implement payment processing in Django applications. This framework uses Django's settings and signals to provide flexible and extensible payment gateway integration.
Key features include support for a wide range of Iranian gateways, highly configurable settings for each bank, and flexible configuration options for adjusting callback URLs and redirect behavior. The framework supports test modes for easy development and provides a clean separation of concerns for payment gateway interactions. It's designed to be extensible with custom readers and callbacks.
- Gateway Support: Integrates with BMI, SEP, Zarinpal, Zibal, Bahamta, Mellat, and Irandargah.
- Configuration: Uses Django's settings file for easy configuration of each gateway.
- Flexible Routing: Allows customization of callback URLs and redirect behavior.
- Test Mode: Provides a sample form and settings to facilitate testing.
- Extensible: Allows for the creation of custom reader classes for additional functionalities.
The project is actively maintained with recent commits and a growing list of supported gateways. It includes detailed documentation and example usage scenarios. The code base is well-structured and follows Django best practices. Regular updates address security vulnerabilities and add support for new features.
This project benefits developers building Django applications that need to accept payments from Iranian bank accounts. It eliminates the need to implement separate integrations for each bank, streamlining development and reducing code duplication. Real-world use cases include e-commerce platforms, online services, and any application requiring payment processing with Iranian banks. It offers a significant improvement over manual integration with individual gateway APIs, reducing development time and complexities.
