In order to test it in the production website. I wanted to prevent non registered users from using it.
For that reason, I've added the Guests to the "Exclude From User Groups" settings.
But with that setting, even administrators weren't seeing the payment method.
The reason? Every site visitor is a member of the Guest user group (yep, both registered and not registered users - see here).
So, choosing "Guests" actually means "Always", but it's really misleading.
I'm working on the code of a payment method.
In order to test it in the production website. I wanted to prevent non registered users from using it.
For that reason, I've added the Guests to the "Exclude From User Groups" settings. But with that setting, even administrators weren't seeing the payment method.
The reason? Every site visitor is a member of the Guest user group (yep, both registered and not registered users - see here).
So, choosing "Guests" actually means "Always", but it's really misleading.
What about simply removing "Guests"?