{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/9497","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/9497/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/9497/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/9497/events","html_url":"https://github.com/magento/magento2/issues/9497","id":226037623,"number":9497,"title":"PayPal Express Checkout: We can't initialize Express Checkout.","user":{"login":"bbtimx","id":4718129,"avatar_url":"https://avatars0.githubusercontent.com/u/4718129?v=4","gravatar_id":"","url":"https://api.github.com/users/bbtimx","html_url":"https://github.com/bbtimx","followers_url":"https://api.github.com/users/bbtimx/followers","following_url":"https://api.github.com/users/bbtimx/following{/other_user}","gists_url":"https://api.github.com/users/bbtimx/gists{/gist_id}","starred_url":"https://api.github.com/users/bbtimx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbtimx/subscriptions","organizations_url":"https://api.github.com/users/bbtimx/orgs","repos_url":"https://api.github.com/users/bbtimx/repos","events_url":"https://api.github.com/users/bbtimx/events{/privacy}","received_events_url":"https://api.github.com/users/bbtimx/received_events","type":"User","site_admin":false},"labels":[{"id":686477690,"url":"https://api.github.com/repos/magento/magento2/labels/Cannot%20Reproduce","name":"Cannot Reproduce","color":"d93f0b","default":false},{"id":688811200,"url":"https://api.github.com/repos/magento/magento2/labels/G1%20Passed","name":"G1 Passed","color":"0e8a16","default":false},{"id":686420665,"url":"https://api.github.com/repos/magento/magento2/labels/G2%20Passed","name":"G2 Passed","color":"0e8a16","default":false},{"id":374017037,"url":"https://api.github.com/repos/magento/magento2/labels/Payments","name":"Payments","color":"1d76db","default":false},{"id":21716835,"url":"https://api.github.com/repos/magento/magento2/labels/acknowledged","name":"acknowledged","color":"02d7e1","default":false},{"id":147131376,"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2017-05-03T16:08:44Z","updated_at":"2018-04-26T06:15:14Z","closed_at":"2017-10-20T13:44:20Z","author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n<!--- Before adding new issues, please, check this article https://github.com/magento/magento2/wiki/Issue-reporting-guidelines-->\r\n\r\n### Preconditions\r\n<!--- Provide a more detailed information of environment you use -->\r\n<!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. -->\r\n1. Magento Version 2.1.6 Community Version\r\n2. PayPal Express Checkout in Live Mode\r\n\r\n### Steps to reproduce\r\n<!--- Provide a set of unambiguous steps to reproduce this bug include code, if relevant  -->\r\n1. Go to any products details page\r\n2. Click **PayPal Express Button**\r\n3. Redirect to empty cart with error message: \"**We can't initialize Express Checkout.**\"\r\n\r\nWhats working:\r\n1. Go to any products details page\r\n2. Click **add to cart**\r\n3. Click **PayPal Express Button** on product details page or cart or mini cart \r\n4. PayPal Express Checkout site came up\r\n\r\n### Expected result\r\n\r\n1. PayPal Express Checkout site came up\r\n\r\n### Actual result\r\n<!--- Tell us what happens instead -->\r\nRedirect to empty cart with error message: \"**We can't initialize Express Checkout.**\"\r\n\r\nsystem.log:\r\n```\r\n[2017-05-03 15:53:46] main.CRITICAL: Exception message: We can't initialize Express Checkout.\r\nTrace: #0 /htdocs/vendor/magento/module-paypal/Controller/Express/GetToken.php(82): Magento\\Paypal\\Controller\\Express\\AbstractExpress->_initCheckout()\r\n#1 /htdocs/vendor/magento/module-paypal/Controller/Express/AbstractExpress/Start.php(24): Magento\\Paypal\\Controller\\Express\\GetToken->getToken()\r\n#2 /htdocs/vendor/magento/framework/App/Action/Action.php(102): Magento\\Paypal\\Controller\\Express\\AbstractExpress\\Start->execute()\r\n#3 /htdocs/vendor/magento/framework/Interception/Interceptor.php(74): Magento\\Framework\\App\\Action\\Action->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\r\n#4 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\\Paypal\\Controller\\Express\\Start\\Interceptor->___callParent('dispatch', Array)\r\n#5 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\\Framework\\Interception\\Chain\\Chain->invokeNext('Magento\\\\Paypal\\\\...', 'dispatch', Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Array, 'customer-app-ac...')\r\n#6 /htdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): Magento\\Framework\\Interception\\Chain\\Chain->Magento\\Framework\\Interception\\Chain\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\r\n#7 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\\Customer\\Model\\App\\Action\\ContextPlugin->aroundDispatch(Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\r\n#8 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\\Framework\\Interception\\Chain\\Chain->invokeNext('Magento\\\\Paypal\\\\...', 'dispatch', Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Array, 'contextPlugin')\r\n#9 /htdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): Magento\\Framework\\Interception\\Chain\\Chain->Magento\\Framework\\Interception\\Chain\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\r\n#10 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\\Store\\App\\Action\\Plugin\\Context->aroundDispatch(Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\r\n#11 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\\Framework\\Interception\\Chain\\Chain->invokeNext('Magento\\\\Paypal\\\\...', 'dispatch', Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Array, 'storeCheck')\r\n#12 /htdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): Magento\\Framework\\Interception\\Chain\\Chain->Magento\\Framework\\Interception\\Chain\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\r\n#13 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\\Store\\App\\Action\\Plugin\\StoreCheck->aroundDispatch(Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\r\n#14 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\\Framework\\Interception\\Chain\\Chain->invokeNext('Magento\\\\Paypal\\\\...', 'dispatch', Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Array, 'tax-app-action-...')\r\n#15 /htdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): Magento\\Framework\\Interception\\Chain\\Chain->Magento\\Framework\\Interception\\Chain\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\r\n#16 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\\Tax\\Model\\App\\Action\\ContextPlugin->aroundDispatch(Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\r\n#17 /htdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\\Framework\\Interception\\Chain\\Chain->invokeNext('Magento\\\\Paypal\\\\...', 'dispatch', Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Array, 'weee-app-action...')\r\n#18 /htdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Magento\\Paypal\\Controller\\Express\\Start\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\r\n#19 /htdocs/vendor/magento/framework/Interception/Interceptor.php(142): Magento\\Weee\\Model\\App\\Action\\ContextPlugin->aroundDispatch(Object(Magento\\Paypal\\Controller\\Express\\Start\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\r\n#20 /htdocs/var/generation/Magento/Paypal/Controller/Express/Start/Interceptor.php(26): Magento\\Paypal\\Controller\\Express\\Start\\Interceptor->___callPlugins('dispatch', Array, Array)\r\n#21 /htdocs/vendor/magento/framework/App/FrontController.php(55): Magento\\Paypal\\Controller\\Express\\Start\\Interceptor->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\r\n#22 /htdocs/vendor/magento/framework/Interception/Interceptor.php(74): Magento\\Framework\\App\\FrontController->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\r\n#23 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\\Framework\\App\\FrontController\\Interceptor->___callParent('dispatch', Array)\r\n#24 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\\Framework\\Interception\\Chain\\Chain->invokeNext('Magento\\\\Framewo...', 'dispatch', Object(Magento\\Framework\\App\\FrontController\\Interceptor), Array, 'requestPreproce...')\r\n#25 /htdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\\Framework\\Interception\\Chain\\Chain->Magento\\Framework\\Interception\\Chain\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\r\n#26 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\\Store\\App\\FrontController\\Plugin\\RequestPreprocessor->aroundDispatch(Object(Magento\\Framework\\App\\FrontController\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\r\n#27 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\\Framework\\Interception\\Chain\\Chain->invokeNext('Magento\\\\Framewo...', 'dispatch', Object(Magento\\Framework\\App\\FrontController\\Interceptor), Array, 'install')\r\n#28 /htdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\\Framework\\Interception\\Chain\\Chain->Magento\\Framework\\Interception\\Chain\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\r\n#29 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\\Framework\\Module\\Plugin\\DbStatusValidator->aroundDispatch(Object(Magento\\Framework\\App\\FrontController\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\r\n#30 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\\Framework\\Interception\\Chain\\Chain->invokeNext('Magento\\\\Framewo...', 'dispatch', Object(Magento\\Framework\\App\\FrontController\\Interceptor), Array, 'front-controlle...')\r\n#31 /htdocs/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\\Framework\\Interception\\Chain\\Chain->Magento\\Framework\\Interception\\Chain\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\r\n#32 /htdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin->aroundDispatch(Object(Magento\\Framework\\App\\FrontController\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\r\n#33 /htdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\\Framework\\Interception\\Chain\\Chain->invokeNext('Magento\\\\Framewo...', 'dispatch', Object(Magento\\Framework\\App\\FrontController\\Interceptor), Array, 'front-controlle...')\r\n#34 /htdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\r\n#35 /htdocs/vendor/magento/framework/Interception/Interceptor.php(142): Magento\\PageCache\\Model\\App\\FrontController\\VarnishPlugin->aroundDispatch(Object(Magento\\Framework\\App\\FrontController\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\r\n#36 /htdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins('dispatch', Array, Array)\r\n#37 /htdocs/vendor/magento/framework/App/Http.php(135): Magento\\Framework\\App\\FrontController\\Interceptor->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\r\n#38 /htdocs/vendor/magento/framework/Interception/Interceptor.php(146): Magento\\Framework\\App\\Http->launch()\r\n#39 /htdocs/var/generation/Magento/Framework/App/Http/Interceptor.php(26): Magento\\Framework\\App\\Http\\Interceptor->___callPlugins('launch', Array, Array)\r\n#40 /htdocs/vendor/magento/framework/App/Bootstrap.php(258): Magento\\Framework\\App\\Http\\Interceptor->launch()\r\n#41 /htdocs/index.php(39): Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http\\Interceptor))\r\n#42 {main} [] []\r\n```\r\n\r\n\r\n<!--- (This may be platform independent comment) -->\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/384525533","html_url":"https://github.com/magento/magento2/issues/9497#issuecomment-384525533","issue_url":"https://api.github.com/repos/magento/magento2/issues/9497","id":384525533,"user":{"login":"kelsonzhao","id":1762932,"avatar_url":"https://avatars0.githubusercontent.com/u/1762932?v=4","gravatar_id":"","url":"https://api.github.com/users/kelsonzhao","html_url":"https://github.com/kelsonzhao","followers_url":"https://api.github.com/users/kelsonzhao/followers","following_url":"https://api.github.com/users/kelsonzhao/following{/other_user}","gists_url":"https://api.github.com/users/kelsonzhao/gists{/gist_id}","starred_url":"https://api.github.com/users/kelsonzhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelsonzhao/subscriptions","organizations_url":"https://api.github.com/users/kelsonzhao/orgs","repos_url":"https://api.github.com/users/kelsonzhao/repos","events_url":"https://api.github.com/users/kelsonzhao/events{/privacy}","received_events_url":"https://api.github.com/users/kelsonzhao/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T06:15:14Z","updated_at":"2018-04-26T06:15:14Z","author_association":"NONE","body":"Same issue in Magento 2.2.3"}}
{"actor":{"display_login":"kelsonzhao"}}