Updated comments in code

This commit is contained in:
Dillon
2023-10-05 16:52:42 +08:00
parent d708b8b540
commit 822046cc69
3 changed files with 5 additions and 5 deletions
@@ -119,13 +119,13 @@ class TransactionToPerfexCRMV2Processor
}
private function definePaymentTasks(Transaction $model): array //cief todo: to comfirm what tasks need to be created
private function definePaymentTasks(Transaction $model): array //cief todo: to comfirm what tasks need to be created at crm
{
$tasks = [];
return $tasks;
}
private function defineTasks_handleApprovedStatus_handlePaymentApprovedStatus(): array //cief todo: to comfirm what tasks need to be created
private function defineTasks_handleApprovedStatus_handlePaymentApprovedStatus(): array //cief todo: to comfirm what tasks need to be created at crm
{
$tasks = [];
// $tasks = [
@@ -47,7 +47,7 @@ class CreatePaymentTransactionLogic extends AbstractControllerLogic
$payment_transaction = $this->createPaymentTransactionProcessor->execute($invoice_transaction, $payment_method , $request->input('bank_code'));
//cief todo: at exchange there is a transition step
//cief todo: at exchange there is a transition step - starts
// if(PaymentMethodType::PAYMENT_METHODS[$request->input('payment_method')] == PaymentMethodType::PAYMENT_GATEWAY){
// $this->updatesTransactionStatus->execute($transaction, ApprovalStatus::PENDING_VERIFICATION);
// }
@@ -59,7 +59,7 @@ class CreatePaymentTransactionLogic extends AbstractControllerLogic
//To use
//ApprovalStatus::PENDING_VERIFICATION;
//use this to trigger $this->transactionToPerfexCRMV2Processor->execute > defineTasks > defineTasks_handlePendingVerificationStatus > definePaymentTasks
//cief todo: at exchange there is a transition step - ends
return $this->resourceResponse(new TransactionResource($payment_transaction));
}
@@ -185,7 +185,7 @@
let payload = [];
payload.push(result);
$crisp.push(["set", "session:data", payload]);
$crisp.push(["do", "message:send", ["text", "Hello there!"]]);
$crisp.push(["do", "message:send", ["text", "Hello there!"]]); //cief todo: need to update what message to send from customer to operator
this.closeModal();
this.reset();
this.fetchFirstQuestion();