Skip to content

Releases: Tahanoa/easy-zarinpal-invoice

Easy Invoice for ZarinPal v1.5.7

Choose a tag to compare

@Tahanoa Tahanoa released this 10 Sep 18:10

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

Choose a tag to compare

@Tahanoa Tahanoa released this 10 Sep 15:55
c5f1826

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:

  1. Create payment request
  2. Redirect customer to ZarinPal
  3. Validate callback
  4. Verify transaction
  5. 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

  1. Download the ZIP file.
  2. Go to WordPress Dashboard.
  3. Navigate to Plugins → Add New → Upload Plugin.
  4. Upload the ZIP file.
  5. Activate the plugin.
  6. 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

Easy Zarinpal Invoice v1.4.0

Choose a tag to compare

@Tahanoa Tahanoa released this 09 Sep 12:46
e674c77
Initial commit