バージョン選択

フォーラム

メニュー

オンライン状況

22 人のユーザが現在オンラインです。 (10 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 22
もっと...

サイト内検索

質問 > フロント機能 > EC-Cube payment plusで登録済みクレジットカード決済のみエラーになる

フロント機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
ogwyk
投稿日時: 2024/5/2 16:22
対応状況: −−−
新米
登録日: 2024/5/2
居住地:
投稿: 2
EC-Cube payment plusで登録済みクレジットカード決済のみエラーになる
▼テンプレート
[EC-CUBE]4.2.3
[レンタルサーバ]xserver
[OS]Windows10
[PHP]7.4.33
[データベース]mySQL バージョン確認中
[WEBサーバ]確認中
[ブラウザ]Chrome
[導入プラグインの有無]
・Amazon Payプラグイン(V2対応版) 4.2.4
・EC-CUBEペイメントPlus決済プラグイン(4.2系) 4.2.3
[カスタマイズの有無]無
[現象]
任意の商品を入れ、カート画面の"お支払方法"で「クレジットカード決済」を選択し、確認する→注文するを押した後、EC-CUBE内のクレジットカード情報入力画面に遷移。クレジットカード情報を入力した後、購入するボタンを押すと正常に購入が完了します。
しかし、カート画面で「登録済みのクレジットカード情報」を選択した場合、そのまま進むとbeta.epsilon.jpドメインのクレジットカード情報入力画面に進みます。その画面でクレジットカード情報を入力し決定ボタンを押すと、404エラーが発生します。

登録済みのクレジットカードでの決済を正常に完了するにはどうしたらいいでしょうか?

クレジットカード情報はこちらのNo.2のMASTER CARDのものを使っております。
https://mp-faq.gmo-pg.com/s/article/D00861

また、EC-CUBEペイメントPlus決済プラグインの設定は以下になります。
・環境設定:開発
・利用決済方法:クレジットカード決済、登録済みのクレジットカード決済
・定期課金機能:利用しない
・不正アクセスブロック機能:OFF
mcontact
投稿日時: 2024/5/8 11:02
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1304
Re: EC-Cube payment plusで登録済みクレジットカード決済のみエラーになる
> 任意の商品を入れ、カート画面の"お支払方法"で「クレジットカード決済」を選択し、確認する→注文するを押した後、EC-CUBE内のクレジットカード情報入力画面に遷移。クレジットカード情報を入力した後、購入するボタンを押すと正常に購入が完了します。
> しかし、カート画面で「登録済みのクレジットカード情報」を選択した場合、そのまま進むとbeta.epsilon.jpドメインのクレジットカード情報入力画面に進みます。その画面でクレジットカード情報を入力し決定ボタンを押すと、404エラーが発生します。

404エラーが
「beta.epsilon.jp」ドメインであるのであれば決済会社側のサイトですので、ご利用の決済会社に確認してみてください。
EC-CUBEをインストールしているドメインで発生しているのであれば、WebサーバまたはEC-CUBE上にエラー時のログが出力されているはずですので、ログを記載してみてください。


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

ogwyk
投稿日時: 2024/5/10 13:45
対応状況: −−−
新米
登録日: 2024/5/2
居住地:
投稿: 2
Re: EC-Cube payment plusで登録済みクレジットカード決済のみエラーになる
ご回答ありがとうございます!

エラーはxserver側で発生しているので、それぞれログを確認してきました。
何かしら対策がわかればご教授いただけると助かります!

Xserverのログ
[access_compat:error] [pid 106090:tid 106148] [client 210.245.49.25:38812] AH01797: client denied by server configuration: /home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/html/template/admin/assets/js/vendor/jquery.ui, referer: https://xs278941.xsrv.jp/ec-cube-test/administrator/eccube_payment_lite/regular/cycle/index


EC-CUBEのログ
・site.log
--> exception: "O:14:\"ErrorException\":8:{s:10:\"\0*\0message\";s:401:\"User Deprecated: Method \"Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents()\" might add \"array\" as a native return type declaration in the future. Do the same in implementation \"Plugin\\EccubePaymentLite42\\EventListener\\EventSubscriber\\Admin\\Setting\\AddDeliveryCompanyFormEventSubscriber\" now to avoid errors or add an explicit @return annotation to suppress this message.\";s:17:\"\0Exception\0string\";s:0:\"\";s:7:\"\0*\0code\";i:0;s:7:\"\0*\0file\";s:106:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/error-handler/DebugClassLoader.php\";s:7:\"\0*\0line\";i:330;s:16:\"\0Exception\0trace\";a:15:{i:0;a:3:{s:4:\"file\";s:122:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/var/cache/dev/ContainerZK7ySxY/Eccube_KernelDevDebugContainer.php\";s:4:\"line\";i:2134;s:8:\"function\";s:17:\"spl_autoload_call\";}i:1;a:5:{s:4:\"file\";s:108:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:245;s:8:\"function\";s:26:\"ContainerZK7ySxY\\{closure}\";s:5:\"class\";s:47:\"ContainerZK7ySxY\\Eccube_KernelDevDebugContainer\";s:4:\"type\";s:2:\"->\";}i:2;a:5:{s:4:\"file\";s:108:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:84;s:8:\"function\";s:13:\"sortListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:3;a:5:{s:4:\"file\";s:123:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:102;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:4;a:5:{s:4:\"file\";s:123:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:198;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:5;a:5:{s:4:\"file\";s:120:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php\";s:4:\"line\";i:65;s:8:\"function\";s:21:\"getNotCalledListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:6;a:5:{s:4:\"file\";s:105:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/http-kernel/Profiler/Profiler.php\";s:4:\"line\";i:97;s:8:\"function\";s:11:\"lateCollect\";s:5:\"class\";s:61:\"Symfony\\Component\\HttpKernel\\DataCollector\\EventDataCollector\";s:4:\"type\";s:2:\"->\";}i:7;a:5:{s:4:\"file\";s:118:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/http-kernel/EventListener/ProfilerListener.php\";s:4:\"line\";i:135;s:8:\"function\";s:11:\"saveProfile\";s:5:\"class\";s:46:\"Symfony\\Component\\HttpKernel\\Profiler\\Profiler\";s:4:\"type\";s:2:\"->\";}i:8;a:5:{s:4:\"file\";s:114:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php\";s:4:\"line\";i:117;s:8:\"function\";s:17:\"onKernelTerminate\";s:5:\"class\";s:59:\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\";s:4:\"type\";s:2:\"->\";}i:9;a:5:{s:4:\"file\";s:108:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:230;s:8:\"function\";s:8:\"__invoke\";s:5:\"class\";s:55:\"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener\";s:4:\"type\";s:2:\"->\";}i:10;a:5:{s:4:\"file\";s:108:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:59;s:8:\"function\";s:13:\"callListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:11;a:5:{s:4:\"file\";s:123:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:154;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:12;a:5:{s:4:\"file\";s:98:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:97;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:13;a:5:{s:4:\"file\";s:94:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/vendor/symfony/http-kernel/Kernel.php\";s:4:\"line\";i:159;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:14;a:5:{s:4:\"file\";s:66:\"/home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/index.php\";s:4:\"line\";i:85;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:35:\"Symfony\\Component\\HttpKernel\\Kernel\";s:4:\"type\";s:2:\"->\";}}s:19:\"\0Exception\0previous\";N;s:11:\"\0*\0severity\";i:16384;}"
      now to avoid errors or add an explicit @return annotation to suppress this message.
      "Plugin\EccubePaymentLite42\EventListener\EventSubscriber\Admin\Setting\AddDeliveryCompanyFormEventSubscriber"
      "array" as a native return type declaration in the future. Do the same in implementation
      "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()" might add
    User Deprecated: Method


・gmo_epsilon-2024-05-10.log
[2024-05-10T13:13:05.006501+09:00] gmo_epsilon.INFO [87e264d6] [bf46a07] [16] [Plugin\EccubePaymentLite42\Service\GmoEpsilonRequest\RequestReceiveOrder3Service:setParameter:194] - Parameter sent 3DS 2.0 => リンク決済 (RequestDirectCardPaymentService):  = Array (     [contract_code] => 74724210     [user_id] => 16     [user_name] => てすと太郎     [user_mail_add] => ayaka.ogawa+test4@desafios.jp     [order_number] => 550x20240510131305     [item_code] => 3711     [item_name] => 餅x1個(代表)     [item_price] => 3190     [st_code] => 10000-0000-00000-00000-00000-00000-00000     [mission_code] => 1     [process_code] => 1     [xml] => 1     [memo1] =>      [memo2] => EC-CUBE_4.2.1_4.2.3_20240510131305     [version] => 1     [tds_flag] => 21     [billAddrCountry] => 392     [billAddrLine1] => 恵那市串原     [billAddrLine2] => 1-2     [billAddrLine3] =>      [billAddrPostCode] => 5097814     [billAddrState] => 21     [shipAddrCity] => 岐阜県     [shipAddrCountry] => 392     [shipAddrLine1] => 恵那市串原     [shipAddrLine2] => 1-2     [shipAddrLine3] =>      [shipAddrPostCode] => 5097814     [shipAddrState] => 21     [threeDSReqAuthMethod] => 02     [challengeInd] => 04 )  [] [POST, /ec-cube-test/shopping/shopping-checkout, 117.55.86.113, https://xs278941.xsrv.jp/ec-cube-test/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36]
    [2024-05-10T13:13:05.004007+09:00] gmo_epsilon.INFO [87e264d6] [bf46a07] [16] [Plugin\EccubePaymentLite42\Service\Method\Credit:apply:147] - 受注ID: 550Credit payment process start. [] [POST, /ec-cube-test/shopping/shopping-checkout, 117.55.86.113, https://xs278941.xsrv.jp/ec-cube-test/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36]
mcontact
投稿日時: 2024/5/10 17:24
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1304
Re: EC-Cube payment plusで登録済みクレジットカード決済のみエラーになる
Xserverのログ
[access_compat:error] [pid 106090:tid 106148] [client 210.245.49.25:38812] AH01797: client denied by server configuration: /home/xs278941/xs278941.xsrv.jp/public_html/ec-cube-test/html/template/admin/assets/js/vendor/jquery.ui, referer: https://xs278941.xsrv.jp/ec-cube-test/administrator/eccube_payment_lite/regular/cycle/index


XserverのApacheのログでしょうか?
該当のエラーログを見る限り、決済処理とは関係ないログです。
404エラー時のApacheログであれば下記の様なログになるはずです。
そして、HTTP/1.1の後にHTTPステータスコード(404)が記載されているはずです。
66.249.XX.XX - - [18/Sep/2022:09:05:48 +0900] "GET /blog/archives/date/2022/page/11 HTTP/1.1" 404 66101 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.5195.102 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"


・gmo_epsilon-2024-05-10.log

gmo_epsilonのログは、決済会社に確認してみてください。
そして、開発中のデータだとは思いますが個人情報等が記載されているので、EC-CUBE開発コミュニティなどの不特定多数が閲覧する場ではあまり公開する事はオススメ致しません。

EC-CUBEのログであれば、var/log/prod/site-yyyy-mm-dd.log に「システムエラーが発生しました」や「ERROR」といった行がありましたらご提示ください。


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

tattsu
投稿日時: 2024/5/10 17:39
対応状況: −−−
長老
登録日: 2023/12/23
居住地:
投稿: 228
Re: EC-Cube payment plusで登録済みクレジットカード決済のみエラーになる
>・site.log

デバッグモードのログですが、実際のサーバでデバッグモード使うならIP制限か最低限ベーシック認証かけたほうがよいですよ。

データベースのパスワードや、SMTPを使用していればメールのユーザー名、パスワードも第3者から見えてしまいます。

ログにサイトのドメインも載ってしまっているのですぐご対策ください。


----------------
-------------------
EC-CUBEカスタマイズ・バージョンアップ・不具合修正 
気軽にご相談ください。ゴールドランクパートナー。

tattsu
投稿日時: 2024/5/10 18:22
対応状況: −−−
長老
登録日: 2023/12/23
居住地:
投稿: 228
Re: EC-Cube payment plusで登録済みクレジットカード決済のみエラーになる
引用:
クレジットカード情報はこちらのNo.2のMASTER CARDのものを使っております。
https://mp-faq.gmo-pg.com/s/article/D00861


まず、このURL はGMOイプシロン社のテストカード ではないのですが、
使用できるとの情報ありましたか?

最初の決済はできたとのことで、使える可能性はあると思いますが、一応イプシロン社のテストカードはイプシロン社の資料などに記載されていると思いますので、一度そちらを使用してみてはいかがでしょうか。

それでだめなら、404エラーになった時のURLと、そのURLのログを探してみて、周辺でエラーや決済会社から送られてきたデータの記載がないか確認してみてください。

こちらに記載するときは個人情報やサイトの情報はマスクしてくださいね。


----------------
-------------------
EC-CUBEカスタマイズ・バージョンアップ・不具合修正 
気軽にご相談ください。ゴールドランクパートナー。

スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は89,387名です
総投稿数は110,082件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1652
8
red
1570
9
mcontact
1304
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.