Check if referral payments have been refunded
This commit is contained in:
parent
10fd839c78
commit
ec5f8ceb46
1 changed files with 0 additions and 4 deletions
|
|
@ -295,10 +295,6 @@ class Payment extends EntityModel
|
|||
*/
|
||||
public function getCompletedAmount()
|
||||
{
|
||||
if ($this->isFailed() || $this->isVoided()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return $this->amount - $this->refunded;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue