-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bonus credits, bug fixes #31
base: master
Are you sure you want to change the base?
Conversation
Bonus Credit config option is now available for paying in XMR. Fixed bug when Invoice was only partially paid.
Now each invoice has it's own cookie for the payment_id. Previously client payments would be applied to any invoice the client opened.
$invoice_id = stripslashes($_POST['invoice_id']); | ||
$client_id = stripslashes($_POST['client_id']); | ||
$payment_id = monero_payment_id($invoice_id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please improve the security of monero_payment_id function? You will be able to inject potentential and dangerous scripts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how to improve it. :(
@apexio any news? |
…ite existing files, and reviewed for potential issues with PHP version and module usage in WHMCS 8.2.
Fixed bugs related to underpaying invoices, paying multiple invoices, and invoice statuses not being updated.
Added (optional) config setting to add a bonus credit to clients credit balance on each successful XMR payment.