質問 > 管理機能 > EC Cube 4.0.3 with PayPal Checkout 1.0.4 |
管理機能
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
roy_leung |
投稿日時: 2019/11/6 0:26
対応状況: 開発中
|
新米 登録日: 2019/11/6 居住地: 投稿: 8 |
EC Cube 4.0.3 with PayPal Checkout 1.0.4 ▼テンプレート
[EC-CUBE] EC-CUBEのバージョン、新規インストールかアップデートか、等 [レンタルサーバ] レンタルサーバ名 [OS] 使用しているOS名、バージョン [PHP] 使用しているPHPのバージョン [データベース] 使用しているDB名、バージョン [WEBサーバ] 使用しているWEBサーバ名、バージョン [ブラウザ] 使用しているブラウザ名、バージョン [導入プラグインの有無] あれば導入プラグインを記載 [カスタマイズの有無] あればカスタマイズ内容を記載(できるだけ具体的に) [現象] 再現手順や、どのような現象が発生しているかなど、具体的に NIce to meet you. This is New developer from Hong Kong. We are now trying to use the EC Cube 4.0.3 and using Paypalcheck out 1.0.4. However, after installation, we got the error. ================ No route found for "GET /paypal/prepare-transaction": Method Not Allowed (Allow: POST) ================ I would like to seek your help if you get any experience that i could solve this problem. Thanks so much and much appreciate. Roy Leung |
nanasess |
投稿日時: 2019/11/6 14:06
対応状況: −−−
|
神 登録日: 2006/9/9 居住地: 投稿: 2313 |
Re: EC Cube 4.0.3 with PayPal Checkout 1.0.4 Can't direct request to "/paypal/prepare-transaction".
PayPal plug-in configuration is complete? |
roy_leung |
投稿日時: 2019/11/6 16:18
対応状況: −−−
|
新米 登録日: 2019/11/6 居住地: 投稿: 8 |
Re: EC Cube 4.0.3 with PayPal Checkout 1.0.4 Dear Kentaro San,
Yes, the Paypal configuration is completed at Admin / Plugin and input Client ID and Secret already. Just wonder if there is any system setting i am missing. Regards, Roy Leung |
nanasess |
投稿日時: 2019/11/6 16:56
対応状況: −−−
|
神 登録日: 2006/9/9 居住地: 投稿: 2313 |
Re: EC Cube 4.0.3 with PayPal Checkout 1.0.4 Display to this error message when you check out with PayPal?
|
roy_leung |
投稿日時: 2019/11/7 0:09
対応状況: −−−
|
新米 登録日: 2019/11/6 居住地: 投稿: 8 |
Re: EC Cube 4.0.3 with PayPal Checkout 1.0.4 Dear Kentaro San,
After I click the Paypal Check Out, Chrome prompts out a new windows and keep loading. I open the Chrome Developer mode, it shows out an error message. ============ POST http://192.168.89.141/paypal/prepare-transaction 500 (Internal Server Error) ============ in the system log, it shows below. ============ [2019-11-06 23:00:45] app.INFO [N/A] [a6c26eb] [2] [Eccube\Log\Logger:log:68] - PROCESS END ["paypal_prepare_transaction"] [POST, /paypal/prepare-transaction, 192.168.89.113, http://192.168.89.141/shopping/confirm, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36] [2019-11-06 23:00:44] php.INFO [070oqfhvslbud21fd2m66hunr1] [a6c26eb] [2] [Symfony\Component\Debug\ErrorHandler:handleError:528] - User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route\" annotation is deprecated since version 5.2. Use \"Symfony\\Component\\Routing\\Annotation\\Route\" instead. at /var/www/html/vendor/sensio/framework-extra-bundle/Configuration/Route.php:16)"} [POST, /paypal/prepare-transaction, 192.168.89.113, http://192.168.89.141/shopping/confirm, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36] [2019-11-06 23:00:44] php.INFO [070oqfhvslbud21fd2m66hunr1] [a6c26eb] [2] [Symfony\Component\Debug\ErrorHandler:handleError:528] - User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Method" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Method\" annotation is deprecated since version 5.2. Use \"Symfony\\Component\\Routing\\Annotation\\Route\" instead. at /var/www/html/vendor/sensio/framework-extra-bundle/Configuration/Method.php:14)"} [POST, /paypal/prepare-transaction, 192.168.89.113, http://192.168.89.141/shopping/confirm, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36] [2019-11-06 23:00:41] app.INFO [N/A] [a800967] [2] [Eccube\Log\Logger:log:68] - PROCESS END ["shopping_confirm"] [POST, /shopping/confirm, 192.168.89.113, http://192.168.89.141/shopping, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36] ============ Thanks and Regards, Roy Leung |
nanasess |
投稿日時: 2019/11/7 9:09
対応状況: −−−
|
神 登録日: 2006/9/9 居住地: 投稿: 2313 |
Re: EC Cube 4.0.3 with PayPal Checkout 1.0.4 引用:
Was not recorded in this log to Internal Server Error. Look for "システムエラーが発生しました" record in /path/to/ec-cube/var/log/xxx/site-yyyy-mm-dd.log |
roy_leung |
投稿日時: 2019/11/7 16:09
対応状況: −−−
|
新米 登録日: 2019/11/6 居住地: 投稿: 8 |
Re: EC Cube 4.0.3 with PayPal Checkout 1.0.4 Thanks, I got and please reference the following.
[2019-11-06 23:00:45] front.ERROR [070oqfhvslbud21fd2m66hunr1] [a6c26eb] [2] [Eccube\Log\Logger:log:66] - システムエラーが発生しました。 ["The parameter \"paypal.debug\" must be defined. ","/var/www/html/var/cache/prod/ContainerYfhcaxu/EccubeProdProjectContainer.php",4286,"#0 /var/www/html/src/Eccube/Common/EccubeConfig.php(37): ContainerYfh caxu\\EccubeProdProjectContainer->getParameter('paypal.debug')\n#1 /var/www/html/app/Plugin/PayPalCheckout/Service/PayPalService.php(160): Eccube\\Common\\E ccubeConfig->get('paypal.debug')\n#2 /var/www/html/app/Plugin/PayPalCheckout/Controller/PaypalCheckout/CreateOrderController.php(87): Plugin\\PayPalCheckout \\Service\\PayPalService->isDebug()\n#3 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(151): Plugin\\PayPalCheckout\\Controller\\PaypalCheckout\\Cr eateOrderController->__invoke(Object(Symfony\\Component\\HttpFoundation\\Request))\n#4 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\ \Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#5 /var/www/html/vendor/symfony/http-kernel/Kernel.ph p(200): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#6 /var/www/html/index.php(76): Sy mfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#7 {main}"] [POST, /paypal/prepare-transaction, 192.168.8 9.113, http://192.168.89.141/shopping/confirm, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Sa fari/537.36] |
roy_leung |
投稿日時: 2019/11/7 16:11
対応状況: −−−
|
新米 登録日: 2019/11/6 居住地: 投稿: 8 |
Re: EC Cube 4.0.3 with PayPal Checkout 1.0.4 I am not sure about where is the parameter of "paypal.debug"
Thanks and Regards, Roy Leung |
nanasess |
投稿日時: 2019/11/11 9:44
対応状況: −−−
|
神 登録日: 2006/9/9 居住地: 投稿: 2313 |
Re: EC Cube 4.0.3 with PayPal Checkout 1.0.4
Please try to add this code to "app/Plugin/PayPalCheckOut/Resource/config/services.yaml" in parameters section. |
roy_leung |
投稿日時: 2019/11/11 23:20
対応状況: −−−
|
新米 登録日: 2019/11/6 居住地: 投稿: 8 |
Re: EC Cube 4.0.3 with PayPal Checkout 1.0.4 Thanks for your information. I have tried to add the paypal.debug
However, it still not success. The log display the following. [2019-11-11 22:17:39] PayPalCheckout.ERROR [b8mlad3op49s1palrgpu3gg1nd] [86f0f45] [anon.] [Plugin\PayPalCheckout\Service\LoggerService:error:39] - [PayPalCheckout] CreateShortcutOrderRequest has been failed {"headers":{"authorization":[""],"host":["192.168.89.141"],"connection":["keep-alive"],"content-length":["0"],"accept":["*/*"],"origin":["http://192.168.89.141"],"x-requested-with":["XMLHttpRequest"],"user-agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"],"eccube-csrf-token":["H65aIQloxEebDe4stur4wERhjrWUVrkvrrlrx2chDoA"],"referer":["http://192.168.89.141/shopping/login"],"accept-encoding":["gzip, deflate"],"accept-language":["en-GB,en-US;q=0.9,en;q=0.8"],"cookie":["device_view=full; eccube=b8mlad3op49s1palrgpu3gg1nd"],"x-php-ob-level":[1]},"request":[],"statusCode":422,"message":"PayPal決済でエラーが発生しました。エラーが繰り返し発生する場合は、エラーの詳細についてPayPalカスタマーサポートにお問い合わせください(54ca1b46a5f66)"} [POST, /guest/paypal/shortcut-prepare-transaction/76Udcs4DKcxxRm93AWnn4IeXuOUBWLgl_1, 192.168.89.113, http://192.168.89.141/shopping/login, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36] [2019-11-11 22:17:39] front.ERROR [b8mlad3op49s1palrgpu3gg1nd] [86f0f45] [anon.] [Eccube\Log\Logger:log:66] - システムエラーが発生しました。 ["CreateShortcutOrderRequest has been failed","/var/www/html/app/Plugin/PayPalCheckout/Controller/ShortcutPaypalCheckout/Guest/OrderingProductController.php",100,"#0 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(151): Plugin\\PayPalCheckout\\Controller\\ShortcutPaypalCheckout\\Guest\\OrderingProductController->__invoke(Object(Symfony\\Component\\HttpFoundation\\Request), '76Udcs4DKcxxRm9...')\n#1 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#2 /var/www/html/vendor/symfony/http-kernel/Kernel.php(200): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#3 /var/www/html/index.php(76): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#4 {main}"] [POST, /guest/paypal/shortcut-prepare-transaction/76Udcs4DKcxxRm93AWnn4IeXuOUBWLgl_1, 192.168.89.113, http://192.168.89.141/shopping/login, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36] |
(1) 2 » |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |