PHP8.2 was going to be the next step.
The zc158 PHP8.2 version is now in my GitHub at https://github.com/OldNGreyBMR/payme...ses/tag/v2.0.1
I have posted the latest version for approval.
This version 2.0.2 allows for:
ZC 1578d and zc158a compatible with PHP 7.4 to PHP 8.2. ;
correctly includes group discount and coupon credits, and
the version number display in on the Admin page
GitHub repository: https://github.com/OldNGreyBMR/paymentmodulefee
The plugin download page is : https://www.zen-cart.com/downloads.php?do=file&id=1487
Last edited by OldNGrey; 14 May 2023 at 04:54 AM. Reason: correct links
OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB
Hi Guys is it possible to allow discount of less than 1% with this module? Currently is set to integer format and 1% is the minimum it can accept. For example if the customer pays by Bank Transfer he gets 0.5% discount.
Change the (int) casts in the process() function to (float) casts and it should work.
@OldNGrey, this change should be made to the official version.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Version 2.0.3 has been submitted for approval.
This version allows fee < 1 ; allows decimal in discount value
GitHub repository: https://github.com/OldNGreyBMR/paymentmodulefee
The plugin download page is : https://www.zen-cart.com/downloads.php?do=file&id=1487
OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB
Version 2.0.4 has been submitted for approval.
This version is fully encapsulated and the installer removes legacy files.
Compatible with ZC1.5.8a to 2.2.2 and PHP 8.2 to 8.5
GitHub repository: https://github.com/OldNGreyBMR/paymentmodulefee
OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB