Various changes to the code to make it compatible with the new version of whmcs.
Default in there mod (hooks. php and functions. php).
The Default files (hooks. php and functions. php) charge the Fee from the total final amount of the invoice (as pricey become and costs at PayPal).
We have added an extra folder (extra_files) within the mod.
The folder (extra_files) contains 3 extra files (hooks. php, functions1. php, functions2. php).
File (hooks. php) that is inside the folder (extra_files).
(Hooks. php) will charge the Fee from the amount of the service, and not by the total final amount of the invoice.
File (functions1. php) that is inside the folder (extra_files).
The (functions1. php) when adding credit will charge the Fee in the final amount, so that when you add credit €10.00 the Fee will be included in €10.00.
The file (functions2. php) that is inside the folder (extra_files).
The (functions2. php) when adding credit will charge a Fee in addition to the final amount, so that when you add credit €10.00 the Fee will be in addition.
Thursday, February 22, 2018