Hi Support,
We have multiple depreciated PHP warning on php 8.2 when viewing the cart page. Herewith below info for reference:
Creation of dynamic property WC_Ecentric_Snapscan::$version is deprecated on wp-content/plugins/snapscan-online-payments/SnapScan/woocommerce-snapscan.php:37
Creation of dynamic property WC_Ecentric_Snapscan::$plugin_url is deprecated on wp-content/plugins/snapscan-online-payments/SnapScan/woocommerce-snapscan.php:200
Creation of dynamic property WC_Ecentric_Snapscan::$merchant is deprecated on wp-content/plugins/snapscan-online-payments/SnapScan/woocommerce-snapscan.php:52
Creation of dynamic property WC_Ecentric_Snapscan::$snap_api is deprecated on wp-content/plugins/snapscan-online-payments/SnapScan/woocommerce-snapscan.php:53
Creation of dynamic property WC_Ecentric_Snapscan::$logging is deprecated on wp-content/plugins/snapscan-online-payments/SnapScan/woocommerce-snapscan.php:54
Creation of dynamic property WC_Ecentric_Snapscan::$webhook_auth is deprecated on wp-content/plugins/snapscan-online-payments/SnapScan/woocommerce-snapscan.php:55
Constant FILTER_SANITIZE_STRING is deprecated on wp-content/plugins/snapscan-online-payments/SnapScan/woocommerce-snapscan.php:58
Creation of dynamic property WC_Card_Gateway::$version is deprecated on wp-content/plugins/snapscan-online-payments/EcentricGateway/card-woocommerce-gateway.php:37
Creation of dynamic property WC_Card_Gateway::$merchant is deprecated on wp-content/plugins/snapscan-online-payments/EcentricGateway/card-woocommerce-gateway.php:52
Creation of dynamic property WC_Card_Gateway::$logging is deprecated on wp-content/plugins/snapscan-online-payments/EcentricGateway/card-woocommerce-gateway.php:53
Creation of dynamic property WC_Card_Gateway::$snap_api is deprecated on wp-content/plugins/snapscan-online-payments/EcentricGateway/card-woocommerce-gateway.php:54
Constant FILTER_SANITIZE_STRING is deprecated on wp-content/plugins/snapscan-online-payments/EcentricGateway/card-woocommerce-gateway.php:57
Please advise if these fixes will be sorted out shortly.
Thank you
Michael
Hello, I have 3 different snapscan widgets showing on the checkout page. Please can you advise. I cant see how to manage this in the settings. Thank you
]]>Hello,
I am getting an error on On new relic
Error message:
call_user_func_array() expects parameter 1 to be a valid callback, function ‘check_payments’ not found or invalid function name
I think in this file
\snapscan-online-payments\EcentricGateway\card-woocommerce-gateway.php
line 55 we have code
add_action(‘snap_payment_hook’, ‘check_payments’) ;
it should be (need to remove space between close parenthesis and Semicolon)
dd_action(‘snap_payment_hook’, ‘check_payments’);
Thanks
]]>Hi there
WooCommerce has a built in function that saves a Transaction ID to an order. This was documented in it’s release here.
We have a site that we recently integrated a sync with QuickBooks that push all our orders through. However the plugin relies on the order meta with the key _transaction_id
which can be easily added within your plugin.
Currently you guys do make used of the function as $order->payment_complete();
and all that would be needed is passing it a variable like $order->payment_complete( $someValue );
.