Quote Originally Posted by OldNGrey View Post
For anyone available to test a ZC158 PHP8.1 compatible version of Payment Module Fee (or Discount)
the files are in my GitHub at https://github.com/OldNGreyBMR/payme...g/v2.0.0_zc158

This module can add a charge for a payment method OR it can give a discount OR it can do various combinations.

Test this only on a TEST server and not on a Production Server. Backup before testing.

OldNGrey
ZenCart 158 PHP8.1
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.