Debug approve payment problem

This commit is contained in:
Dillon Ngo
2025-01-31 21:33:14 +08:00
parent 6ce7f7dc91
commit 88564c661f
2 changed files with 5 additions and 2 deletions
@@ -15,6 +15,7 @@ use App\Classes\Modules\Transactions\Services\UpdatesTransactionStatus;
use App\Classes\ValueObjects\Constants\ApprovalStatus;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
class ApprovePaymentTransactionLogic extends AbstractControllerLogic
{
@@ -80,6 +81,8 @@ class ApprovePaymentTransactionLogic extends AbstractControllerLogic
$this->updatesTransactionStatus->execute($transaction, $status === 'approve' ? ApprovalStatus::APPROVED : ApprovalStatus::REJECTED);
Log::info("ApprovePaymentTransactionLogic ".$status);
if ($status === 'approve') {
$this->callbackBillplzProcessor->execute($transaction, ApprovalStatus::APPROVED);
}
@@ -35,7 +35,7 @@
</span>
</div> -->
<open-link-in-new-tab-component custom-class="btn btn-complete"
:url="route('segment-customers.export', options.company_segments_in, options.marking_in ?? 0)"
:url="route('segment-customers.export', options.company_segments_in, options.marking_in ? options.marking_in: 0)"
:is-url-protected="true" v-if="parameters.has_filters_and_searched">
<i class="fa fa-download"></i> Export
</open-link-in-new-tab-component>
@@ -114,4 +114,4 @@ export default {
},
mixins: [componentHandler],
};
</script>
</script>