Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


WHMCS Hook: Receive notification after Invoice Paid
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.

WHMCS Hook: Receive notification after Invoice Paid

AndreixAndreix Member, Host Rep

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

    Thanked by 1Andreix
  • AndreixAndreix Member, Host Rep

    @BuyLicenseDiscounts said:
    Thank you very much

    You're welcome!

  • XiNiXXiNiX Member, Host Rep

    Very Nice.

    Thanked by 1Andreix
  • BruceBruce Member

    thanks for sharing

    can I ask what payment gateway you needed to develop this for?

  • AndreixAndreix Member, Host Rep
    edited July 2015

    @XiNiX said:
    Very Nice.

    I'm glad you like it.

  • rds100rds100 Member

    WHMCS alerady sends "invoice payment confirmation" emails? Why do you need an additional hook for this?

  • AndreixAndreix Member, Host Rep
    edited July 2015

    @rds100 said:
    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.

  • AndreixAndreix Member, Host Rep

    @Bruce said:
    thanks for sharing

    can I ask what payment gateway you needed to develop this for?

    It works on any payment gateway. Please take a look at lines 31-42 for how to define additional gateways.

  • rds100rds100 Member
    edited July 2015

    Andreix said: WHMCS send an invoice payment confirmation to the customer, but the admin doesn't receive anything.

    >

    Go to Setup / General Settings / Mail / BCC Messages
    And add your email address.

    Thanked by 1alexvolk
  • AndreixAndreix Member, Host Rep
    edited July 2015

    @rds100 said:

    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.

Sign In or Register to comment.