Viva.Com Smart Checkout Plugin (WooCommerce) Issue

As we grow together we will expand our categories and hierarchy to suit your needs, but for now we are starting in this single space to keep the global conversation and industry connections in one place.
User avatar
Belkin
Posts: 10
Joined: Wed Jan 21, 2026 7:30 pm

Re: Viva.Com Smart Checkout Plugin (WooCommerce) Issue

Post by Belkin »

Aye, I have, but what's the craic if that dunnit work as well?
User avatar
Webmaster
Posts: 8
Joined: Wed Jan 21, 2026 7:41 pm

Re: Viva.Com Smart Checkout Plugin (WooCommerce) Issue

Post by Webmaster »

I can promise you, it’ll definitely work. But to be straight with you, this isn't a real fix for the plugin itself—it only hides the warning from view. If your friend knows what he’s doing with code, tell him there is a proper technical solution, but he needs to be comfortable editing the plugin files.

He needs to open this specific file (it’s inside the includes folder within the plugin directory—make sure he doesn’t mix it up with the other includes folders, as there are plenty of them):

/includes/class-wc-vivacom-smart.php

Find the class definition and add this property near the top:

Code: Select all

class WC_Vivacom_Smart_Payment_Gateway extends WC_Payment_Gateway {
    public $order_status;
In other words, add

Code: Select all

public $order_status;
just under

Code: Select all

class WC_Vivacom_Smart_Payment_Gateway extends WC_Payment_Gateway {
This sorts the issue completely, satisfies the requirements for PHP 8.2 and removes the warnings entirely, rather than just hiding them. It stops the version compatibility error at the source.

Just keep in mind that this change will be overwritten if the plugin is updated. We’ll have to hope the Viva techies actually update their code to the standard I’ve given you here. Best of luck.
User avatar
Belkin
Posts: 10
Joined: Wed Jan 21, 2026 7:30 pm

Re: Viva.Com Smart Checkout Plugin (WooCommerce) Issue

Post by Belkin »

Nice one, man. Pure class!
User avatar
Webmaster
Posts: 8
Joined: Wed Jan 21, 2026 7:41 pm

By the way, something just occurred to me

Post by Webmaster »

No problem at all, mate—glad I could be of use.

By the way, something just occurred to me. You got access to your hosting panel? If you do, have a look and see if it lets you change the PHP versions. If it does, you don't need a soul to help you. Just hop into your control panel, click on the PHP settings, and dial the version back to anything below 8.2. Job's a good 'un—the error will vanish.

This’ll work a million per cent, and you won't need any coding skills whatsoever.
User avatar
Belkin
Posts: 10
Joined: Wed Jan 21, 2026 7:30 pm

Re: Viva.Com Smart Checkout Plugin (WooCommerce) Issue

Post by Belkin »

You had to start with this, really. Yes, it's now fully sorted. In a few clicks :-) THANK YOU!
Post Reply