the magento core getConfigData() doesn't require the quote, because the configs are loaded from the core_config_data. But in this module are some cases where to configs are loaded from the quote e.g. "sort_order". In that case the quote is loaded for every payment method and can cause some performance issues e.g. the "custom_quote_process" event is fired every time.
My suggestion is to add the quote as third parameter to Model/Payment/Method/Abstract.php:401 and pass it to getConfigForQuote() in :405
This would create the possibility to pass the quote through the process.
I would like to discuss this topic. If this get accepted I can create a pull request, because I already fixed it in my fork.
the magento core getConfigData() doesn't require the quote, because the configs are loaded from the core_config_data. But in this module are some cases where to configs are loaded from the quote e.g. "sort_order". In that case the quote is loaded for every payment method and can cause some performance issues e.g. the "custom_quote_process" event is fired every time.
My suggestion is to add the quote as third parameter to Model/Payment/Method/Abstract.php:401 and pass it to getConfigForQuote() in :405
This would create the possibility to pass the quote through the process.
I would like to discuss this topic. If this get accepted I can create a pull request, because I already fixed it in my fork.