Releases: Tahanoa/easy-zarinpal-invoice
Releases · Tahanoa/easy-zarinpal-invoice
Release list
Easy Invoice for ZarinPal v1.5.7
Easy Invoice for ZarinPal v1.5.7
Highlights
- Secure ZarinPal payment invoice creation
- WooCommerce product support
- Fixed shipping cost support
- Improved security hardening
- Improved WordPress.org compatibility
- Sanitized request handling
- Better nonce and validation handling
Security
- Server-side payment verification
- Protection against invoice amount manipulation
- Secure callback validation
Compatibility
- WordPress
- WooCommerce
- ZarinPal API v4
v1.5.0 - Initial Public Release
Easy Invoice for ZarinPal v1.5.0
First public release of Easy Invoice for ZarinPal.
A professional WordPress invoice and payment plugin that allows website owners to create custom payment invoices and receive payments through ZarinPal.
✨ Features
- Create custom payment invoices from WordPress dashboard
- Generate secure invoice payment links
- ZarinPal API v4 integration
- Secure payment verification workflow
- WooCommerce product integration
- Search WooCommerce products and add them to invoices
- Support multiple products in one invoice
- Automatic total calculation
- Fixed shipping cost support
- Custom invoice page using shortcode
- Fully compatible with WordPress themes
- Admin settings panel
- Optional payment logs
- Responsive invoice payment page
- Persian language support
🔐 Security Improvements
- WordPress nonce protection
- Capability checks for admin actions
- Input sanitization and validation
- Output escaping
- Server-side price verification
- Protection against payment amount manipulation
- Secure callback validation
- Authority matching before verification
- Server-to-server payment verification
- Protection against fake successful callbacks
💳 Payment Gateway
Supported gateway:
- ZarinPal Payment Gateway API v4
Payment flow:
- Create payment request
- Redirect customer to ZarinPal
- Validate callback
- Verify transaction
- Update invoice status
🛒 WooCommerce Support
- Search products
- Add products to invoices
- Save product price snapshot
- Prevent price manipulation
- Support product quantities
⚙️ Requirements
- WordPress 6.0+
- PHP 7.4+
- WooCommerce (optional, required only for product invoices)
- Active ZarinPal merchant account
📦 Installation
- Download the ZIP file.
- Go to WordPress Dashboard.
- Navigate to Plugins → Add New → Upload Plugin.
- Upload the ZIP file.
- Activate the plugin.
- Configure your ZarinPal Merchant ID.
🔧 Shortcode
Create a WordPress page and add:
[ezinv_invoice]
This page will display invoice payment information.
📝 Changelog
1.5.0
- First public release
- Complete security review
- New plugin architecture
- WooCommerce integration
- Improved payment verification
- Added logging system
- Added settings panel
- Added localization support
- Removed PDF invoice module
- Prepared for WordPress.org submission
👤 Author
Taha Farzaneh
WordPress.org:
https://profiles.wordpress.org/tahanoa/
📄 License
GPLv2 or later