Stripe Payment Method Issues

  • Posts: 81
  • Thank you received: 4
  • Hikashop Business
3 months 1 week ago #368253

-- HikaShop version -- : 6.0.0
-- Joomla version -- : 5.3.2

Hi, I have had a few customers now say that when they go to pay, then they just get the spinning icon with the Stripe Payment solution. I have the latest version. You can see the attached image of what they get. This is not all the time, just some times.

Have you had other users mention this and is there any way to resolve this as some of my orders or £100's of pounds that I have lost.

Any help would be much appreciated.



Thanks
Paul.

Attachments:

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

  • Posts: 26297
  • Thank you received: 4048
  • MODERATOR
3 months 1 week ago #368259

Hello,

The "Unknown error" is displayed when the server response is not a valid JSON.
In the browser console, the content of the received response is logged ; but it's only client side.

Please check that your website do not display PHP warning directly in web pages ; any content added by a third party plugin could make the JSON invalid.
You can also check in your HikaShop paymenbt log if you have any entry which will indicates an issue during the order confirmation.
If you have the possibility to reproduce the issue ; you'll see the data by opening the browser console (shortcut: ctrl + shift + i )

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 81
  • Thank you received: 4
  • Hikashop Business
3 months 17 hours ago #368426

Hi, where can I find the 'HikaShop payment log', I looked on the server side but can't find it. Thx

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

  • Posts: 26297
  • Thank you received: 4048
  • MODERATOR
3 months 5 hours ago #368445

Hello,

You will find it via the HikaShop configuration page :
www.hikashop.com/support/documentation/5...nfig.html#main_files

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 81
  • Thank you received: 4
  • Hikashop Business
2 months 1 week ago #368845

Sorry for the delay so I looked at the payment log file under media/com_hikashop/upload/safe/logs/report_748435119.log

It has no logs after Feb 2022, is there another setting that should be on to log?

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

  • Posts: 26297
  • Thank you received: 4048
  • MODERATOR
2 months 6 days ago #368879

Hello,

If you don't have any entry in the log, it seems there is no error to log for the plugin.
If you can reproduce the issue, please open the browser console ; the JavaScript will add the received content from the server if if can't process it correctly.

Sometimes it can be related to a system plugin which will add some content and makes the JSON invalid to decode.
If you don't have any error in your log, it'll be the only way to understand what is going on.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 2
  • Thank you received: 0
1 week 1 day ago #369564

With the Stripe payment method, a tenth of the value of the goods appears on the real invoice on the Stripe interface, and the customer is charged an incorrect value.

Attachments:

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

  • Posts: 26297
  • Thank you received: 4048
  • MODERATOR
1 week 1 day ago #369573

Hello lencse,

Since your issue is a different issue ; please open a new thread, so we will be able to address your issue more precisely.
In that new thread, please provide details regarding your currency configuration ; it seems there is a conversion issue somewhere but I need to be sure that your HikaShop currency is right set-up (so I can reproduce it and perform debugging)

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 2
  • Thank you received: 0
1 week 16 hours ago #369588

Meanwhile I found out the reason for the problem.
Stripe treats HUF as a special currency.
Basically there are no decimals in HUF anymore, so *100 is needed in the code.
I commented out these lines in stripconnect.php and it worked:

/*if((int)$currency->currency_locale['int_frac_digits'] == 0)
$amount = round($total, 0);*/

Last edit: 1 week 8 hours ago by Jerome. Reason: [code] tag

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

  • Posts: 26297
  • Thank you received: 4048
  • MODERATOR
1 week 6 hours ago #369608

Hello,

Thanks but I can't integrate such patch in the plugin since it will break the store of users with another currency (without decimals).
Please provide details mentioned in my previous message.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.092 seconds
Powered by Kunena Forum