- Posts: 43
- Thank you received: 7
1195 LINE Pay does not support your version.
- Alouette00
-
Topic Author
- Offline
Less
More
3 years 6 months ago #350372
by Alouette00
1195 LINE Pay does not support your version. was created by Alouette00
-- HikaShop version -- : 4.7.2
-- Joomla version -- : 4.2.9
-- PHP version -- : 7.4.33
LINE Payをテスト環境にて試してますが、決済へ進むと
’1195 LINE Pay does not support your version.’
と表示されてキャンセルされてしまいます。
念の為、決済サーバIP管理へ利用サーバIPを入力して試しましたが、同じでした。
’バージョンに対応していません’と言うことはわかるので、現在、使えないプラグインと言うことなのでしょうか?
-- Joomla version -- : 4.2.9
-- PHP version -- : 7.4.33
LINE Payをテスト環境にて試してますが、決済へ進むと
’1195 LINE Pay does not support your version.’
と表示されてキャンセルされてしまいます。
念の為、決済サーバIP管理へ利用サーバIPを入力して試しましたが、同じでした。
’バージョンに対応していません’と言うことはわかるので、現在、使えないプラグインと言うことなのでしょうか?
Please Log in or Create an account to join the conversation.
3 years 6 months ago #350377
by nicolas
Replied by nicolas on topic 1195 LINE Pay does not support your version.
Hi,
It seems to be an issue with your LINE Pay merchant account.
Apparently, you need to accept the privacy policy:
So you'll have to check your merchant account with LINE Pay.
That's a strange way to word an error message for privacy policy. And even weirder, the english version of that same documentation doesn't mention this error message even though the rest of the text is properly translated to english: developers.line.biz/en/docs/line-pay/checkout/#checkout-flow
It seems to be an issue with your LINE Pay merchant account.
Apparently, you need to accept the privacy policy:
pay.line.me/jp/developers/apis/onlineApis?locale=ja_JPCheckout機能を利用する場合は、ユーザーにプライバシーポリシーへの承認をもらう必要があります。必ずプライバシーポリシーへのリンクをご用意してください。設定されていない場合は、returnCode:1195(LINE Pay does not support your version.)が返されます。
So you'll have to check your merchant account with LINE Pay.
That's a strange way to word an error message for privacy policy. And even weirder, the english version of that same documentation doesn't mention this error message even though the rest of the text is properly translated to english: developers.line.biz/en/docs/line-pay/checkout/#checkout-flow
The following user(s) said Thank You: Alouette00
Please Log in or Create an account to join the conversation.
- Alouette00
-
Topic Author
- Offline
Less
More
- Posts: 43
- Thank you received: 7
3 years 6 months ago #350410
by Alouette00
Replied by Alouette00 on topic 1195 LINE Pay does not support your version.
毎回、丁寧な回答、ありがとうございます。
returnCode:1195(LINE Pay does not support your version.)
を調べましたが、どうやらチェックアウトAPIはsandbox環境では使えないようですね。
engineering.linecorp.com/ja/blog/line-pay-sdk-python-v3/
要は自分で実装しろって意味合いで、私はそんなスキルはありません。
仕方なく本番環境にてLINE Checkoutを設定、サイトのLINE Pay設定もsandbox使用しないで決済を試したら、LINE PayのQRコードへ移動できることまでは確認しました。
けど本番環境だから、これ以上は進む勇気はありません。
今回はテスト環境で一連の確認ができないから諦めるかもしれません。
returnCode:1195(LINE Pay does not support your version.)
を調べましたが、どうやらチェックアウトAPIはsandbox環境では使えないようですね。
engineering.linecorp.com/ja/blog/line-pay-sdk-python-v3/
要は自分で実装しろって意味合いで、私はそんなスキルはありません。
仕方なく本番環境にてLINE Checkoutを設定、サイトのLINE Pay設定もsandbox使用しないで決済を試したら、LINE PayのQRコードへ移動できることまでは確認しました。
けど本番環境だから、これ以上は進む勇気はありません。
今回はテスト環境で一連の確認ができないから諦めるかもしれません。
Please Log in or Create an account to join the conversation.
3 years 5 months ago #350431
by nicolas
Replied by nicolas on topic 1195 LINE Pay does not support your version.
Hi,
I think you're misunderstanding things.
The
This API allows LINE Pay to request the shipping fee from your website once the customer enters his address on LINE Pay.
That's what the example below that text presents too.
However, the LINE Pay plugin does not use this mechanism. The LINE Pay plugin directly provides the shipping fee and address to LINE Pay.
Also, the page pay.line.me/jp/developers/apis/onlineApis?locale=ja_JP says that this specific error message will appear if the privacy policy of the account is not accepted.
It could be explained by the fact you're using a sandbox account. But I'm not sure.
We did test the plugin with a sandbox account on our end and it worked fine but it was not with the japanese LINE Pay.
What you can do is to change the line:
to:
in the file plugins/hikashoppayment/linepay/linepay.php
This will make it not use the Checkout API, even for Japan and you should not have the problem.
I think you're misunderstanding things.
The
message there is for the shipping inquiry API.本APIはSandbox環境では利用できません。
This API allows LINE Pay to request the shipping fee from your website once the customer enters his address on LINE Pay.
That's what the example below that text presents too.
However, the LINE Pay plugin does not use this mechanism. The LINE Pay plugin directly provides the shipping fee and address to LINE Pay.
Also, the page pay.line.me/jp/developers/apis/onlineApis?locale=ja_JP says that this specific error message will appear if the privacy policy of the account is not accepted.
It could be explained by the fact you're using a sandbox account. But I'm not sure.
We did test the plugin with a sandbox account on our end and it worked fine but it was not with the japanese LINE Pay.
What you can do is to change the line:
Code:
if(!empty($order->cart->shipping_address->address_country->zone_code_2) && $order->cart->shipping_address->address_country->zone_code_2 == 'JP') {
Code:
if(false) {
This will make it not use the Checkout API, even for Japan and you should not have the problem.
The following user(s) said Thank You: Alouette00
Please Log in or Create an account to join the conversation.
- Alouette00
-
Topic Author
- Offline
Less
More
- Posts: 43
- Thank you received: 7
3 years 5 months ago #350437
by Alouette00
Replied by Alouette00 on topic 1195 LINE Pay does not support your version.
>I think you're misunderstanding things.
全くその通りで、返す言葉がありません。
実際、作業をする都度、勘違い、間違いを繰り返して理解できる様になるので...
指定された修正箇所を変更することでsandboxを利用してLINE PayのQRコードまで移動できました。
まだしっくり来ませんが、次の作業へ進めそうです。
ありがとうございました。
全くその通りで、返す言葉がありません。
実際、作業をする都度、勘違い、間違いを繰り返して理解できる様になるので...
指定された修正箇所を変更することでsandboxを利用してLINE PayのQRコードまで移動できました。
まだしっくり来ませんが、次の作業へ進めそうです。
ありがとうございました。
Please Log in or Create an account to join the conversation.
Time to create page: 0.232 seconds