Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Payment method not showing in portal

Kelvin   ( User )

Commented 3 years ago

I've created a listener using PaymentMethodShowing with the following function:

public function handle(Event $event)
{
$method['name'] = 'Payment Method Name';
$method['code'] = 'Payment Method Code';
$method['customer'] = "1";
$method['order'] = "3";
$event->modules->payment_methods[] = $method;
}

The code works on the admin side as it appears as a payment method, but not in the customer portal. What could I be missing, or how should I go about it.

Denis Dulici   ( Admin )

Commented 3 years ago

Hello Kelvin,

That should work normally. Can you please create an issue on M-Pesa repository so we could check it further?

Regards

Please login or register to leave a response.

Showing 1 to 2 of 2 discussions