New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
WHMCS Hook: Receive notification after Invoice Paid
Hello there,
Because there are some payment gateways that don't send any kind of notification when a payment is received and sometimes it's better to know when an invoice was paid, we created a very simple WHMCS Hook to do that.
Link: https://www.hetnix.com/blog/hetnix/whmcs-hook-receive-notification-after-invoice-paid/
Feel free to customize it however you like.
Thanked by 1XiNiX
Comments
Thank you very much
You're welcome!
Very Nice.
thanks for sharing
can I ask what payment gateway you needed to develop this for?
I'm glad you like it.
WHMCS alerady sends "invoice payment confirmation" emails? Why do you need an additional hook for this?
Hello there,
WHMCS send an invoice payment confirmation to the customer, but the admin doesn't receive anything.
It works on any payment gateway. Please take a look at lines 31-42 for how to define additional gateways.
>
Go to Setup / General Settings / Mail / BCC Messages
And add your email address.
That's a way to do it. But I prefer not to receive all customer's emails.
This will spam you with all password reset, invoice created, payment reminder, invoice overdue .... etc.
I just needed a thing that can notify me about a received payment.