[Skip to main content](#vessel-content)

#   Payment of orders not paid

##

- **[progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")**
- [![progfloyd's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42261-progfloyd "View progfloyd's Profile") Topic Author
- [ Offline](/forum/user/42261-progfloyd)

Less More

- Posts: 20
- Thank you received: 0
-
-

4 years 7 months ago -  4 years 7 months ago [\#340429](#340429) by [progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")  *[Payment of orders not paid](/forum/29-payment-methods/904177-payment-of-orders-not-paid#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 &quot;0 Object of class stdClass could not be converted to string&quot;.  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.")* was created by *[progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")*

-- 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: 4 years 7 months ago by [progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQxNzctcGF5bWVudC1vZi1vcmRlcnMtbm90LXBhaWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

4 years 7 months ago [\#340432](#340432) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment of orders not paid](/forum/29-payment-methods/904177-payment-of-orders-not-paid#340432 "-- 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 &quot;0 Object of class stdClass could not be converted to string&quot;.  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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQxNzctcGF5bWVudC1vZi1vcmRlcnMtbm90LXBhaWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")**
- [![progfloyd's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42261-progfloyd "View progfloyd's Profile") Topic Author
- [ Offline](/forum/user/42261-progfloyd)

Less More

- Posts: 20
- Thank you received: 0
-
-

4 years 7 months ago [\#340437](#340437) by [progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")  Replied by *[progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")* on topic *[Payment of orders not paid](/forum/29-payment-methods/904177-payment-of-orders-not-paid#340437 "-- 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 &quot;0 Object of class stdClass could not be converted to string&quot;.  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.")*

Hi,

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

Best.

- [ ![2022-03-2612.20.06.png](/forum/attachment/54590) ](/forum/attachment/54590 "...2612.20.06.png") [ ](/forum/attachment/54590?download=1 "...2612.20.06.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQxNzctcGF5bWVudC1vZi1vcmRlcnMtbm90LXBhaWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

4 years 7 months ago [\#340439](#340439) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment of orders not paid](/forum/29-payment-methods/904177-payment-of-orders-not-paid#340439 "-- 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 &quot;0 Object of class stdClass could not be converted to string&quot;.  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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQxNzctcGF5bWVudC1vZi1vcmRlcnMtbm90LXBhaWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")**
- [![progfloyd's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42261-progfloyd "View progfloyd's Profile") Topic Author
- [ Offline](/forum/user/42261-progfloyd)

Less More

- Posts: 20
- Thank you received: 0
-
-

4 years 7 months ago [\#340454](#340454) by [progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")  Replied by *[progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")* on topic *[Payment of orders not paid](/forum/29-payment-methods/904177-payment-of-orders-not-paid#340454 "-- 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 &quot;0 Object of class stdClass could not be converted to string&quot;.  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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQxNzctcGF5bWVudC1vZi1vcmRlcnMtbm90LXBhaWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

4 years 7 months ago [\#340460](#340460) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment of orders not paid](/forum/29-payment-methods/904177-payment-of-orders-not-paid#340460 "-- 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 &quot;0 Object of class stdClass could not be converted to string&quot;.  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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQxNzctcGF5bWVudC1vZi1vcmRlcnMtbm90LXBhaWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")**
- [![progfloyd's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42261-progfloyd "View progfloyd's Profile") Topic Author
- [ Offline](/forum/user/42261-progfloyd)

Less More

- Posts: 20
- Thank you received: 0
-
-

4 years 7 months ago [\#340554](#340554) by [progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")  Replied by *[progfloyd](/forum/user/42261-progfloyd "View progfloyd's Profile")* on topic *[Payment of orders not paid](/forum/29-payment-methods/904177-payment-of-orders-not-paid#340554 "-- 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 &quot;0 Object of class stdClass could not be converted to string&quot;.  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.")*

Hi,

OK. Thank you so much.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQxNzctcGF5bWVudC1vZi1vcmRlcnMtbm90LXBhaWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
