日本円(¥)でStripeから支払う方法だと桁数が変わる

  • Posts: 33
  • Thank you received: 4
  • Hikashop Business
1 year 1 month ago #350411

-- HikaShop version -- : 4.7.2
-- Joomla version -- : 4.2.9
-- PHP version -- : 7.4.33

ignisdev.comが提供する、Stripe Checkout for Hikashopについてです。

プラグインの開発提供元からサポートを求めろと指摘されそうですが、開発提供元にお問合せしても連絡がありません。
だからHikashopのサードパーティ製プラグインと言うこともあり、母国語のサポートにより、少しでも解決の糸口が見えればと思い、質問致します。

簡潔にいうと日本円(¥)で Stripe Checkout で決済を進めると金額の桁数が増えてしまうと言うことです。

構築中のサイトは、¥のほか$と€が利用でき、$と€は金額桁数は問題なくStripeのテスト環境にて確認してます。
とにかく、日本円(¥)だけが、金額桁数を制御できない。

なお並行して、先にStripe V3 with Connectを購入して試しており、この時も同様な不具合を確認。
しかしフォーラムの

www.hikashop.com/forum/product-category-...t-digits.html#344764

にて、

I would recommend leaving that setting empty in your case and changing the "International fractional digits" and "National fractional digits" settings to 0 instead of 2 decimals.

をヒントにHikashopの通貨管理で日本円(¥)の国際小数、国内小数を'0'することで解決しております。

その解決した後でStripe Checkout for Hikashopを導入したので、余計に解らなくなってしまったと言うこともあります。

念の為にHikashopの通貨管理で国際小数、国内小数を'2'、digit group'3'または'4'にしましたが、結果は変わりません。

何かヒントになりそうなことありましたら、教えてください。

Last edit: 1 year 1 month ago by Alouette00.

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
1 year 1 month ago #350432

Hi,

The problem probably comes from this:
stripe.com/docs/currencies#zero-decimal
Stripe expects the total amount to be provided with the smallest possible unit in the currency.
So for example, in USD, if the total amount is 12,34 USD, the plugin has to send the value 1234 to Stripe.
But if the total amount is 1234 JPY, then the plugin has to send the value 1234 to Stripe.

Since most currencies only have 2 decimals, the plugin must simply multiply the total amount by 100 regardless of the currency being used. This would require modifying the code of the plugin to take into account the currency's fractional digits setting when generating the value to be sent to Stripe.

Our partner Obsidev actually also sells a Stripe plugin on our marketplace here:
www.hikashop.com/marketplace/product/133...nect-by-obsidev.html
In this plugin, the code properly takes the currency fractional digits into account to round the amount accordingly for zero decimals currencies:

$amount = round($total, 2) * 100;
		if((int)$currency->currency_locale['int_frac_digits'] == 0)
			$amount = round($total, 0);
So if you plan on using Stripe with the JPY currency, and knowing the Ignisdev support is not answering, I would recommend using instead the plugin on our marketplace.

The following user(s) said Thank You: Alouette00

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 4
  • Hikashop Business
1 year 1 month ago #350436

こんにちは。

www.hikashop.com/marketplace/product/133...nect-by-obsidev.html

Stripe V3 with Connectはすでに購入済、インターネットを使い慣れたターゲット層なら、これで十分満足できます。

しかし今回のターゲット層は、インターネットを使い慣れてない日本国内の利用者なので、このプラグインの標準の表示画面では拒否されることが明白です。

現在、日本国内は詐欺行為(検索キーワード:ルフィ 詐欺事件)が社会問題化しております。

なので日本国内では無名のJoomlaにてショッピング機能を構築するには、とても苦労しております。

だから少しでも利用者へ安心感を与える、Stripe CheckoutみたいなApple pay、Google payや他の決済方法に拘っています。

話が逸れましたが、Stripe V3 with Connectにも、この様な機能が追加されれば嬉しいですね。

わたしではプラグインの修正は無理なので、再度、ignisdev.comへ問い合わせをしてみます。

ありがとうございました。

Last edit: 1 year 1 month ago by Alouette00.

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
1 year 1 month ago #350441

Hi,

I understand what you mean. I've had a talk with the developer of the Stripe Connect v3 plugin about your griefs with it.
He took them into consideration and will look at improving the plugin in the future in that direction.

If you aren't able to get in touch with the developer of the Ignisdev plugin, we can look into it for a fee.
You can go through our contact form to discuss the details :
www.hikashop.com/support/contact-us.html
With a copy of the plugin install package, we should be able to do the necessary modifications to make it work properly for the zero decimal currencies like the japanese yen.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 4
  • Hikashop Business
1 year 2 weeks ago #350837

ignisdev.comが提供する、Stripe Checkout for Hikashopについてです。
Hikashopのサポート内でこんなコメントするのは嫌ですが、今後購入、検討される方への忠告と思ってください。

サポートの問い合わせが二週間経過後しましたが、未だ開発者からは一度も返信がありません。
これはStripe Checkout for Hikashopを購入してもサポートが無いと言うことになります。

だからHikashopさんには、Stripe V3 with Connectへの機能追加の検討を是非、よろしくお願いします。

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
1 year 2 weeks ago #350844

Hi,

The Stripe V3 with Connect plugin is not developed by us but in ObsiDev and they are selling it on our marketplace.
I've conveyed your circumstances and requests to ObsiDev and they said they'll take them into account for future developments.

The following user(s) said Thank You: Alouette00

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum