Fix > exception 'InvalidArgumentException' with message '[maxiPago Class] Field 'filterOptions' is invalid. Please see documention for help.' in lib/MaxiPago/XmlBuilder.php:1020 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Correção para a exception abaixo:
exception 'InvalidArgumentException' with message '[maxiPago Class] Field 'filterOptions' is invalid. Please see documention for help.' in lib/MaxiPago/XmlBuilder.php:1020
Stack trace:
#0 lib/MaxiPago/RequestBase.php(260): maxiPago_XmlBuilder->setRapiRequest()
#1 lib/MaxiPago/MaxiPago.php(550): maxiPago_RequestBase->processRequest()
#2 app/code/community/MaxiPago/Payment/Model/Api.php(1211): MaxiPago->pullReport(Array)
#3 app/code/community/MaxiPago/Payment/Model/Cron.php(69): MaxiPago_Payment_Model_Api->pullReport(Object(Mage_Sales_Model_Order), false, 'maxipago-cron.l...')
#4 [internal function]: MaxiPago_Payment_Model_Cron->queryPayments(Object(Aoe_Scheduler_Model_Schedule))
#5 app/code/community/Aoe/Scheduler/Model/Observer.php(80): call_user_func_array(Array, Array)
#6 app/code/core/Mage/Core/Model/App.php(1358): Aoe_Scheduler_Model_Observer->dispatch(Object(Varien_Event_Observer))
#7 app/code/core/Mage/Core/Model/App.php(1337): Mage_Core_Model_App->_callObserverMethod(Object(Aoe_Scheduler_Model_Observer), 'dispatch', Object(Varien_Event_Observer))
#8 app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('default', Array)
#9 cron.php(76): Mage::dispatchEvent('default')
#10 {main}