Hello, I had an 500 Internal Server Error. I have tried to install plugin on 4 different servers with fresh WP installations. Finally, I was sure that the problem wasn’t on server side, so I went back to Google Cloud Platform / Service Accounts and found the reason. I have downloaded .json file two times and used the older one, not newest. Everyone who have 500 error, please use the latest downloaded json. Best
Thread Starter
sefr
(@sefr)
Yes, it should be “Volunteer” as default role, but we have CRM system with Woocommerce payments that assign everyone automatically as “Donor”.
How I can specife the role in functions.php? (for registered Volunteer). Like e.g. for woocommerce:
/**
* Replace ‘customer’ role (WooCommerce use by default) with your own one.
**/
add_filter(‘woocommerce_new_customer_data’, ‘wc_assign_custom_role’, 10, 1);
function wc_assign_custom_role($args) {
$args[‘role’] = ‘Donor’;
return $args;
}