Calling Developers!
We are reenergizing our code contribution process! Learn More

Adyen Payment provider Integration core plugin do not have required function

Deepika10 Posts: 7 🧑🏻‍🚀 - Cadet

Hi ,

I have integrated Adyen payment provider as in spryker documentation. On frontend side it showing below error

Call to undefined method SprykerEco\Yves\Adyen\Plugin\Router\AdyenRouteProviderPlugin::getRouter()
AdyenRouteProviderPlugin do not have getRouter() method how to correct it please guide. 

Best Answer

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,018 ⚖️ - Guardians (admin)
    Answer ✓

    Hmm.. Its always hard to say whats wrong without the code-snippet you changed.

    Based on the exception message I would say you added the RouteProviderPlugin to getRouterPlugins() instead of adding it to getRouteProvider().

    Can you double-check pls?

    All the best,