Skip to content

Commit dff2266

Browse files
authored
Merge pull request #5 from vitorPagHiper/patch-1
Update UpdateStatus.php
2 parents 66ea8be + bd5a69b commit dff2266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/Notification/UpdateStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function execute()
142142

143143
$event = $base->status;
144144

145-
if ($event == static::STATUS_PAID || $event == static::STATUS_RESERVED) {
145+
if ($event == static::STATUS_PAID) {
146146
$totalPaid = $base->value_cents_paid / 100;
147147
$paghiperTax = $totalPaid - $order->getGrandTotal();
148148
$order->setBasePaghiperFeeAmount($paghiperTax);

0 commit comments

Comments
 (0)