Regarding this part in controller:
do_action(PAYMENT_ACTION_PAYMENT_PROCESSED, [
‘order_id’ => $request->input(‘order_id’),
‘amount’ => $transaction[‘payment_amount’],
‘charge_id’ => $request->input(‘tran_id’),
‘payment_channel’ => PAYWAY_PAYMENT_METHOD_NAME,
‘status’ => $status,
‘customer_id’ => $request->input(‘customer_id’),
‘customer_type’ => $request->input(‘customer_type’),
‘payment_type’ => ‘direct’,
], $request);
In payment_channel, I do not want to show the gateway name “PayWay” but rather show the payment method like QR Pay and Cards (VISA or MasterCard). I still cannot figure it out.