Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only load active payment methods in the backend
This was the original behaviour in Solidus < 2.1, but the active scope got lost in solidusio#1540. Payment methods used to use the `available` filter which was scoped to active payment methods only. The `available_to_admin` scope isn't limited active payment methods, so we need to add it here.
- Loading branch information