Hi,
I faced an issue where after the user made an order, it didn’t return the PAID trigger. It’s only related to the Splitit plugin; the rest of the gateways are all working well, even for splitted payments (affirm payment).
Can you add it? It’s necessary logic for all shops. Different integrations not working at all because of it, for example Zapier.
Looking forward,
Nazar
Hi,
I have a client using the Splitit plugin for WooCommerce and this morning a customer completed a transaction using Spitit, in 1 installment which looks to be successful.
Strangely however, the confirmation email that was initially sent to client was blank. No product details, no price of the product. Nothing.
However, when I retrigger the order confirmation email in WooCommerce, the correct information is filled out on the email, now the order has been completed.
This seems like a bug to me with the plugin, and the email confirmation should not be sent with zero information until the order has been fully completed.
Please can you advise?
Thanks
]]>It’s now WP 6.2 and PHP 8.2 and the plugin breaks my site when activated along side other plugins.
Any chance this thing is getting general updates soon? syntax errors galore, php warnings and critical errors when trying to use it.
Just wanted to flag that on PHP 8 I’m seeing these errors populate the log fairly regularly:
Attempt to read property “total” on null in … splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 787
Running 3.2.3 of the plugin
In the product page, the splitit message uses the price excluding taxes to calculate the monthly payment while the product sheet shows the price including taxes and therefore does not correspond. In the cart and in the checkout the calculation is correct: the monthly payment is calculated by taking the product price + taxes + shipping
]]>Hello SplitIt Team,
Currently the flex-fields and upstream messaging are loaded on all pages.
ie.
/v1/dist/upstream-messaging.js
/v2.0/splitit.flex-fields.sdk.js
Is it possible to add a restriction to only load on pages where it is used as opposed to being loaded site-wide? This would have a positive effect on site speed scores when not in use.
Thank you for the recent updates as well!
Cheers,
Scott
Hi
– We used the previous Splitit plugin and recently moved to the new one
– We get many PHP errors (many are about some “total” value) and it also seems that the “payment completed” action hook stopped firing when paying via splitit
– I’m adding the errors which repeat themselves
[20-Feb-2022 05:49:19 UTC] PHP Warning: fwrite() expects parameter 1 to be resource, bool given in xxx/plugins/splitit-installment-payments/classes/class-splitit-flexfields-payment-plugin-log.php on line 95
[20-Feb-2022 05:49:19 UTC] PHP Warning: fclose() expects parameter 1 to be resource, bool given in xxx/plugins/splitit-installment-payments/classes/class-splitit-flexfields-payment-plugin-log.php on line 96
[20-Feb-2022 05:52:53 UTC] PHP Warning: fwrite() expects parameter 1 to be resource, bool given in xxx/plugins/splitit-installment-payments/classes/class-splitit-flexfields-payment-plugin-log.php on line 95
[20-Feb-2022 05:52:53 UTC] PHP Warning: fclose() expects parameter 1 to be resource, bool given in xxx/plugins/splitit-installment-payments/classes/class-splitit-flexfields-payment-plugin-log.php on line 96
[20-Feb-2022 05:55:21 UTC] PHP Notice: Undefined index: shipping_phone in xxx/plugins/splitit-installment-payments/splitIt-flexfields-payment-gateway.php on line 1348
[20-Feb-2022 05:55:21 UTC] PHP Notice: Trying to access array offset on value of type null in xxx/plugins/splitit-installment-payments/splitIt-flexfields-payment-gateway.php on line 1348
[20-Feb-2022 06:06:03 UTC] PHP Warning: Illegal offset type in isset or empty in yyy/wp-includes/class-wp-hook.php on line 76
[20-Feb-2022 06:06:03 UTC] PHP Warning: Illegal offset type in yyy/wp-includes/class-wp-hook.php on line 78
[20-Feb-2022 08:11:50 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:11:50 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:11:50 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:11:50 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:12:33 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:12:33 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:12:33 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:12:33 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:14:45 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:14:45 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:14:45 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:14:45 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:14:53 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:14:53 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:14:53 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
[20-Feb-2022 08:14:53 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565`
– The payment completed action certainly not fired, according to logs and also no invoice is created because of that.
Thanks
]]>Hi
Worked with previous Splitit plugin which worked well
Installed the new one, checked that the credentials are working, but when selecting splitit payment option on checkout page, I get no payment fields at all – no card number field and such.
There are no errors shown. Any clue?
Latest WP and WC, default WP theme
]]>Hi there
A client of mine uses this plugin on their WooCommerce site. Today I’ve noticed a fatal error that occurs on WooCommerce shop listing pages. The error is below:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function is_type() on null in /var/www/vhosts/<DOMAIN NAME>/httpdocs/wp-content/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php:363\nStack trace:\n#0 /var/www/vhosts/<DOMAIN NAME>/httpdocs/wp-includes/class-wp-hook.php(303): WC_SplitIt_FlexFields_Payment_Gateway->add_splitit_banner_price_to_product_price()\n#1 /var/www/vhosts/<DOMAIN NAME>/httpdocs/wp-includes/plugin.php(189): WP_Hook->apply_filters()\n#2 /var/www/vhosts/<DOMAIN NAME>/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1835): apply_filters()\n#3 /var/www/vhosts/<DOMAIN NAME>/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php(382):
Thank you
]]>Looks like you’re not the only plugin developers using the GuzzleHttp library!
I’m getting these messages in the php_errors.log – the whole site crashes both front- and back-end. I commented out the describe_type() function, but then it went on to the next function, so the class should be checked if it’s already loaded before it’s loaded:
[21-Sep-2021 10:09:55 UTC] PHP Fatal error: Cannot redeclare GuzzleHttp\describe_type() (previously declared in /usr/local/lsws/Staging/htdocs
/wp-content/plugins/wsdesk-premium/vendor/guzzlehttp/guzzle/src/functions.php:16) in /usr/local/lsws/Staging/htdocs/wp-content/plugins/splitit-
installment-payments/vendor/guzzlehttp/guzzle/src/functions.php on line 41
You can try something like
if ( ! class_exists(‘Library’))
at the beginning of the file
or
if (! function_exists(‘Function’))
before each function definition
I have setup and enabled the plugin and payment option and somehow it just doesnt show as an option on the checkout page while all other payment options (PayPal & Woocommerce Payments) show up as usual.
I have also clicked on check credentials and it says API detected.
Any advice on how to fix this?
]]>Error Details
=============
An error of type E_ERROR was caused in line 16 of the file /nas/content/live/sleeprepubnew/wp-content/plugins/splitit-installment-payments-enabler/splitit.php. Error message: Uncaught Error: Call to undefined function wc_print_notices() in /nas/content/live/sleeprepubnew/wp-content/plugins/splitit-installment-payments-enabler/splitit.php:16
Stack trace:
#0 /nas/content/live/sleeprepubnew/wp-includes/class-wp-hook.php(303): splitit_add_notice_function(”)
#1 /nas/content/live/sleeprepubnew/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#2 /nas/content/live/sleeprepubnew/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /nas/content/live/sleeprepubnew/wp-includes/general-template.php(3015): do_action(‘wp_head’)
#4 /nas/content/live/sleeprepubnew/wp-includes/blocks/legacy-widget.php(104): wp_head()
#5 /nas/content/live/sleeprepubnew/wp-includes/class-wp-hook.php(303): handle_legacy_widget_preview_iframe(”)
#6 /nas/content/live/sleeprepubnew/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#7 /nas/content/live/sleeprepubnew/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#8 /nas/content/live/sleeprepubnew/wp-admin/admin.p
I get the following error message in log from this plugin:
PHP message: PHP Warning: in_array() expects parameter 2 to be array, string given in /web/wp-content/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 122
It looks like the value retrieved from $this->splitit_upstream_messaging_selection is not an array as expected by the function in_array().
]]>