mollie / magento2-subscriptions

BSD 2-Clause "Simplified" License
3 stars 5 forks source link

Fix typerror #3

Closed breakerh closed 3 years ago

breakerh commented 3 years ago

This PR touches code in the following areas (Check what is applicable):

Frontend

Backend

Order Processing (Mollie communication)

Other Quote API

Please describe the bug/feature/etc this PR contains:

When i...

Scenario to test this code:

Fix typecasting error while in checkout causing to show no shipping and/or payment information.

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.