mollie / Shopware

Official Mollie extension for Shopware
16 stars 18 forks source link

Shopware6 - Invalid API key: '' - but key is stored #18

Closed x360andy closed 4 years ago

x360andy commented 4 years ago

As you can see the key is stored - tryed test and live mode - same error as bellow

image (Key is replaced with white bar...)

This following error happened when use a Mollie Payment method at executing the checkout

[2020-03-24 14:12:55] app.ERROR: Invalid API key: ''. An API key must start with 'test' or 'live' and must be at least 30 characters long. ["[object] (Mollie\Api\Exceptions\ApiException(code: 0): Invalid API key: ''. An API key must start with 'test' or 'live' and must be at least 30 characters long. at /var/www/vhosts/h12.net/httpdocs/shopware6/custom/plugins/MolliePayments/vendor/mollie/mollie-api-php/src/MollieApiClient.php:339)"] [] [2020-03-24 14:12:56] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /undefined&bdata=et%3DCLIENT_IMPRESSION%26event_type%3Dstats%26integration_type%3DSDK%26messaging_version%3D1.7.4%26placement%3D%26pos_x%3D750%26pos_y%3D770%26browser_width%3D1920%26browser_height%3D947%26visible%3Dtrue%26amount%3D0%26client_id%3DARM-rfa8IOJ_RcF6NEYiDPO63VITnF5jldiTdaTeM_3vBtAXfV2ot10GOxO-QAtk_cc2-tyU3zo0xatF%26adblock%3Dtrue%26blocked%3Dfalse%26message_request_id%3Dundefined-1%26uuid%3DNI%3A%3Alayout%3Atext%3A%3Alogo.position%3Aleft%3A%3Alogo.type%3Aprimary%3A%3Atext.color%3Ablack%3A%3Atext.size%3A12" (from "http://www.my-shop.at/")" at /var/www/vhosts/h12.net/httpdocs/shopware6/vendor/symfony/http-kernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for \"GET /undefined&bdata=et%3DCLIENT_IMPRESSION%26event_type%3Dstats%26integration_type%3DSDK%26messaging_version%3D1.7.4%26placement%3D%26pos_x%3D750%26pos_y%3D770%26browser_width%3D1920%26browser_height%3D947%26visible%3Dtrue%26amount%3D0%26client_id%3DARM-rfa8IOJ_RcF6NEYiDPO63VITnF5jldiTdaTeM_3vBtAXfV2ot10GOxO-QAtk_cc2-tyU3zo0xatF%26adblock%3Dtrue%26blocked%3Dfalse%26message_request_id%3Dundefined-1%26uuid%3DNI%3A%3Alayout%3Atext%3A%3Alogo.position%3Aleft%3A%3Alogo.type%3Aprimary%3A%3Atext.color%3Ablack%3A%3Atext.size%3A12\" (from \"http://www.my-shop.at/\") at /var/www/vhosts/h12.net/httpdocs/shopware6/vendor/symfony/http-kernel/EventListener/RouterListener.php:136, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): No routes found for \"/undefined&bdata=et%3DCLIENT_IMPRESSION%26event_type%3Dstats%26integration_type%3DSDK%26messaging_version%3D1.7.4%26placement%3D%26pos_x%3D750%26pos_y%3D770%26browser_width%3D1920%26browser_height%3D947%26visible%3Dtrue%26amount%3D0%26client_id%3DARM-rfa8IOJ_RcF6NEYiDPO63VITnF5jldiTdaTeM_3vBtAXfV2ot10GOxO-QAtk_cc2-tyU3zo0xatF%26adblock%3Dtrue%26blocked%3Dfalse%26message_request_id%3Dundefined-1%26uuid%3DNI%3A%3Alayout%3Atext%3A%3Alogo.position%3Aleft%3A%3Alogo.type%3Aprimary%3A%3Atext.color%3Ablack%3A%3Atext.size%3A12/\". at /var/www/vhosts/h12.net/httpdocs/shopware6/vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:70)"} [] [2020-03-24 14:12:56] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /undefined&idx=1" (from "http://www.my-shop.at/")" at /var/www/vhosts/h12net/httpdocs/shopware6/vendor/symfony/http-kernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for \"GET /undefined&idx=1\" (from \"http://www.my-shop.at/\") at /var/www/vhosts/h12.net/httpdocs/shopware6/vendor/symfony/http-kernel/EventListener/RouterListener.php:136, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): No routes found for \"/undefined&idx=1/\". at /var/www/vhosts/h12net/httpdocs/shopware6/vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:70)"} []

milan-kiener commented 4 years ago

Hey Rauscher,

Could you send an email about this to support@kiener.nl including the Github link (https://github.com/mollie/Shopware/issues/18) Here we can share some more credentials and I can help you with your problem.

Best regards,

Milan Mooibroek

x360andy commented 4 years ago

Problem was fixed with the following update.