Payment of orders not paid

  • Posts: 19
  • Thank you received: 0
  • Hikashop Business
3 months 2 days ago #340429

-- HikaShop version -- : 4.5.0
-- Joomla version -- : 3.10.6
-- PHP version -- : 7.4.28
-- Error-message(debug-mod must be tuned on) -- : Object of class stdClass could not be converted to string

Hello,

I got an error message when I use the pay now function for the order not paid immediately.
The message shows "0 Object of class stdClass could not be converted to string".

The payment method I used is Newebpay in Taiwan.
Does it seem there is the same order number twice, so it cause the payment got this error message?

I need some help to solve this issue.

Thank you.

Last edit: 3 months 2 days ago by progfloyd.

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

  • Posts: 75835
  • Thank you received: 11830
  • MODERATOR
3 months 2 days ago #340432

Hi,

The first thing to do is to activate the "debug system" setting of the joomla configuration and reproduce the error again.
That will give you an error message with more information, including the file path and line number where the error is happening.
Please provide the full error message and we should be able to tell you what to do.
If you see the error is in a file of the Newebpay plugin, then you'll have to contact Newebpay so that they can fix the code in the plugin.

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

  • Posts: 19
  • Thank you received: 0
  • Hikashop Business
3 months 1 day ago #340437

Hi,

Thank you for your help.
The attachment is the error message that I got.

Best.

Attachments:

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

  • Posts: 75835
  • Thank you received: 11830
  • MODERATOR
3 months 1 day ago #340439

Hi,

This confirms that there is an issue in the code of the Newebpay payment plugin.
So the first thing to do is to report the error message along with the callstack screenshot you made to Newebpay support.
That way, they'll be able to add a fix to the plugin and provide you with a new version which will avoid the problem.
The issue happens only in some cases but I think the issue is linked to changes made to PHP with the 7.4 version. So that's probably why it worked fine in the past, with earlier versions of PHP.

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

  • Posts: 19
  • Thank you received: 0
  • Hikashop Business
3 months 23 hours ago #340454

Hello,

Thank you for your message. I will try to do that.
So it may not be the issue of the same order number?
I think I can't use this function for a long time.

Thank you so much.

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

  • Posts: 75835
  • Thank you received: 11830
  • MODERATOR
3 months 14 hours ago #340460

Hi,

I don't think it is linked to the same order number.
Your screenshot points at some code in the newebpay plugin file to handle the redirection to the payment gateway.

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

  • Posts: 19
  • Thank you received: 0
  • Hikashop Business
2 months 4 weeks ago #340554

Hi,

OK. Thank you so much.

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

Time to create page: 0.109 seconds
Powered by Kunena Forum