Thanks for updating!
Note, though, that PHP 8.2 has a requirement that you pre-define all class variables prior to use, otherwise a PHP error results. So far, the only class variables defined are $title and $output.
Printable View
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
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.
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