Katamaze / WHMCS-Action-Hook-Factory

Free collection of Action Hooks, Reports and Modules to perfect your WHMCS
https://katamaze.com
MIT License
209 stars 84 forks source link

[Bug] Upgrade/Downgrade Hosting Packet and Use Balanced Credit #20

Closed maisondasilva closed 3 years ago

maisondasilva commented 3 years ago

Before reporting a bug

Version Update

Action Hook File Name

AcceptOrderOnInvociePaid.php

Describe the Bug

Client

To Reproduce

When the customer uses the account balance, the order does not have an accepted status. Detail: Client order upgrade/downgrade hosting...

Expected behavior

Order accept

Affected Version

WHMCS 8.1.0

Screenshots

1

3

2

Additional context

Client order upgrade/downgrade hosting...

Kian987 commented 3 years ago

Thanks for the porting the issue.

This is not a bug in the hook but just the buggy way WHMCS works when it comes to upgrades/downgrades. I'll see if I can do something about it.

maisondasilva commented 3 years ago

@Kian987 Did I see that there was an update on the file 5 days ago any important changes?

Kian987 commented 3 years ago

I updated the hook. I had to use an additional hook point.

maisondasilva commented 3 years ago

I noticed that the problem now occurs with domain transfer

pedido

domain

maisondasilva commented 3 years ago

@Kian987 Do I open a new issue?