Commit 782926df authored by eileen's avatar eileen

Omnipay fix for anonymous users

parent f0fca833
......@@ -83,7 +83,7 @@ function omnipaymultiprocessor_civicrm_managed(&$entities) {
* @param array $permissions
*/
function omnipaymultiprocessor_civicrm_alterAPIPermissions($entity, $action, &$params, &$permissions) {
$params['payment_processor']['preapprove'] = ['make online contributions'];
$permissions['payment_processor']['preapprove'] = ['make online contributions'];
}
function omnipaymultiprocessor_civicrm_navigationMenu(&$menu) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment