Describe the bug
Upon checkout I get to see no payment methods...
Used versions
Magento Version 2.3.5:
Open source:
1.0.1:
To Reproduce
Steps to reproduce the behavior:
Add subscription to cart
Register
Go to checkout
Fill in details
No payment methods appear and we have an error in report/api/*
Expected behavior
Get payment methods to continue.
Actual behavior
No payment methods
Screenshots
Not needed
Additional context
Fatal Error:
'Uncaught TypeError: Argument 1 passed to
Mollie\\Subscriptions\\Plugin\\Quote\\Api\\PaymentMethodManagementPlugin::Mollie\\Subscriptions\\Plugin\\Quote\\Api\\{closure}()
must implement interface
Magento\\Quote\\Api\\Data\\PaymentMethodInterface,
instance of
Magento\\Payment\\Model\\Method\\Adapter\\Interceptor
given in
.../Mollie/Subscriptions/Plugin/Quote/Api/PaymentMethodManagementPlugin.php:55
Stack trace:\n#0 [internal function]: Mollie\\Subscriptions\\Plugin\\Quote\\Api\\PaymentMethodManagementPlugin->Mollie\\Subscriptions\\Plugin\\Quote\\Api\\{closure}(Object(Magento\\Payment\\Model\\Method\\Adapter\\Interceptor))\n#1 /home/admin/domains/rebuildbodyplan.com/public_html/app/code/Mollie/Subscriptions/Plugin/Quote/Api/PaymentMethodManagementPlugin.php(57): array_filter(Array, Object(Closure))\n#2 /home/admin/domains/rebuildbodyplan.com/public_html/vendor/magento/framework/Interception/Interceptor.php(146): Mollie\\Subscriptions\\Plugin\\Quote\\Api\\PaymentMethodManagementPlugin->afterGetList' in '/home/admin/domains/rebuildbodyplan.com/public_html/app/code/Mollie/Subscriptions/Plugin/Quote/Api/PaymentMethodManagementPlugin.php' on line 55
We are happy to share that we've just released the new 1.0.2 version where we've implemented your fix for this issue. Thank you for the detailed issue report and PR. We are closing this issue now but please feel free to reopen the issue if this still occurs.
Describe the bug Upon checkout I get to see no payment methods...
Used versions
To Reproduce Steps to reproduce the behavior:
Expected behavior Get payment methods to continue.
Actual behavior No payment methods
Screenshots Not needed
Additional context