Extend MOTO payment allowed user roles
complete
S
Stef
Currently MOTO payments are only able to be made by Admin and Shop Manager roles. It would be great if other user roles could be added.
In our case, we need to allow a 'customer service' custom user role to make MOTO payments. We don't not want this user role to have the same privileges as our existing shop managers or admin. Therefore as different WooC stores have different user role requirements, maybe extending the allowed user-roles by way of PHP filter in the function ag_allow_admin_to_pay_for_order( ) within class-mono.php might be a possible direction to take.
Kind regards
Aaron Bowie
complete
This has now been added to core.
See here on how to add custom user roles: https://gist.github.com/AaronBowie/2f069518e623b52d99df5038f498f1e2
S
Stef
Aaron Bowie: Brilliant - thanks Aaron
Aaron Bowie
in progress
Aaron Bowie
under review
Nice idea Stef!