- Posts: 92
- Thank you received: 6
Stripe Payment Method Issues
1 year 2 months ago #368253
by spytech
Stripe Payment Method Issues was created by spytech
-- 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.
-- 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.
Please Log in or Create an account to join the conversation.
1 year 2 months ago #368259
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Stripe Payment Method Issues
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,
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.
Please Log in or Create an account to join the conversation.
1 year 1 month ago #368426
by spytech
Replied by spytech on topic Stripe Payment Method Issues
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.
1 year 1 month ago #368445
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Stripe Payment Method Issues
Hello,
You will find it via the HikaShop configuration page :
www.hikashop.com/support/documentation/5...nfig.html#main_files
Regards,
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.
Please Log in or Create an account to join the conversation.
1 year 4 weeks ago #368845
by spytech
Replied by spytech on topic Stripe Payment Method Issues
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?
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.
1 year 4 weeks ago #368879
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Stripe Payment Method Issues
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,
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.
Please Log in or Create an account to join the conversation.
10 months 4 weeks ago #369564
by lencse
Replied by lencse on topic Stripe Payment Method Issues
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.
Please Log in or Create an account to join the conversation.
10 months 4 weeks ago #369573
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Stripe Payment Method Issues
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,
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.
Please Log in or Create an account to join the conversation.
10 months 4 weeks ago - 10 months 4 weeks ago #369588
by lencse
Replied by lencse on topic Stripe Payment Method Issues
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:
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:
Code:
/*if((int)$currency->currency_locale['int_frac_digits'] == 0)
$amount = round($total, 0);*/
Last edit: 10 months 4 weeks ago by Jerome. Reason: [code] tag
Please Log in or Create an account to join the conversation.
10 months 4 weeks ago #369608
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Stripe Payment Method Issues
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,
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.
Please Log in or Create an account to join the conversation.
Time to create page: 0.152 seconds