Hello, unfortunately today by updating wooocommerce to version 7.6.1 the site goes wrong. In the server error log we see this:
[29-Apr-2023 10:31:39 UTC] PHP Fatal error: Uncaught TypeError: unserialize(): Argument #1 ($data) must be of type string, array given in /home/fbyeocva/public_html/wp-content/plugins/woocommerce-product-payments/woocommerce-product-payments.php:1012
Stack trace:
0 /home/bbkeotab/public_html/wp-content/plugins/woocommerce-product-payments/woocommerce-product-payments.php(1012): unserialize()
1 /home/bbkeotab/public_html/wp-content/plugins/woocommerce-product-payments/woocommerce-product-payments.php(356): is_product_eligible()
2 /home/bbkeotab/public_html/wp-includes/class-wp-hook.php(308): wpppayment_gateway_disable_country()
3 /home/bbkeotab/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
4 /home/bbkeotab/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(163): apply_filters()
5 /home/bbkeotab/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(474): WC_Payment_Gateways->get_available_payment_gateways()
6 /home/bbkeotab/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(252): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->render_button_wrapper_registrar()
7 /home/bbkeotab/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/ButtonModule.php(60): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->render_wrapper()
8 /home/bbkeotab/public_html/wp-includes/class-wp-hook.php(308): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button{closure}()
9 /home/bbkeotab/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
10 /home/bbkeotab/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
11 /home/bbkeotab/public_html/wp-includes/class-wp.php(797): do_action_ref_array()
12 /home/bbkeotab/public_html/wp-includes/functions.php(1334): WP->main()
13 /home/bbkeotab/public_html/wp-blog-header.php(16): wp()
14 /home/bbkeotab/public_html/index.php(17): require('/home/bbkeotab/…')
15 {main}
thrown in /home/bbkeotab/public_html/wp-content/plugins/woocommerce-product-payments/woocommerce-product-payments.php on line 1012
How can we solve the problem?
Thanks for the attention
Ale
I already have hundreds of products on my site. If I install this plugin, will all checkout options be available for existing products, or will I have to go in and change each one?
I only have a few products on the site I want to limit to a certain checkout.
]]>Hi
Been using your plugin for a while, and noticed today it’s not working…
I use the feature to exclude products based on Product categories. I then exclude most products, except some categories where we know our stock is accurate. This has stopped working.
I deactivate your plugin, and I can use my gateway (Payfast)
I activate your plugin, and choose a product that I DONT exclude from payfast, But Payfast is not shown as a payment method…
I then downgraded your plug in to ver 1.3.4 and even to 1.2.1. I can’t get the plugin to work at all any more..
I also removed all excludes. Still can’t get payfast to display…
Only way I can get payfast to display is to deactivate your plugin
please help
thanks, Bruce
]]>Is your plugin premium version 3.1.1 compatible with Woocomerce 5?
]]>Hey guys. You really want to get customers changing to PRO but are not capable of creating a working website? Sorry guys, but this is strange.
Version 3 is creating a fatal error. Just to inform you. Still using an old version of your plugin.
]]>Hi, I am using Woocommerce + Learnpress (plugin to create and sell online courses)
When you create a course, a PAGE is created (instead of a PRODUCT).
I want to use the plugin Woocommerce Payment Gateway per Product for these courses, but when I go to the page where my course is, I don′t get the change to select a payment method.
Any way of making your plugin work on PAGES apart from PRODUCTS?
Thank you
]]>The new Woocommerce 4 is warning this plugin is compatible up to 3.7.0
(When) will it be compatible to Woocommerce 4?
]]>The latest update of this plugin breaks my site. Every time I install it and activate it, my site shows error and says that the site is experiencing technical difficulties. I had to get it back by deleting the files of the plugin from inner directory. Kindly fix this.
]]>Since the version 3.0 update, my website keeps crashing. I had to restore from backup and I have been waiting for 10 days for a fix, with 2 new updates, this issue is still not fixed. I am using 2.5.9 which is working fine. I am using wordpress version 5.2.3–en_GB and the latest woocommerce and ever other plugin is updated to the latest.
Fix the bug or I have to look for another plugin.
]]>Hi guys,
Since version 3 I faced major issues:
3.0: all the renewal payments (via WC Subscriptions) failed to be processed;
3.0.1: the website stops working and gives error:
Un errore di E_ERROR è stato causato nella linea 102 del file /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-ips-handler.php. Messaggio di errore: Uncaught Error: Call to a member function get_base_country() on null in /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-ips-handler.php:102
Stack trace:
#0 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/settings/settings-ppec.php(12): WC_Gateway_PPEC_IPS_Handler->is_supported()
#1 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(105): include(‘/home/web/…’)
#2 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(27): WC_Gateway_PPEC->init_form_fields()
#3 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php(12): WC_Gateway_PPEC->__construct()
#4 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/c
The error goes away when I disable Woocommerce Payment Gateway per Product.
Can you check?
Thanks
Daniele
Hello, I don’t the metabox to limit the method payments.
]]>I am Using latest version of WordPress & WooCommerce but I get this error.
I found this log in error log.
======================================================
[03-Sep-2018 07:47:43 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/***/public_html/wp-content/plugins/woocommerce-product-payments/woocommerce-payment-gateway-per-product.php on line 29
======================================================
Please help
]]>Hi all
I’ve just updated my website to PHP 7.2 (Tried on my local installation first).
Unfortunately I’m receiving the following error (Warning) message on the “MyAccount” page in WooCommerce:
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\dev\wp-content\plugins\woocommerce-product-payments\include\payment.php on line 99
Can you help me out here?
Thanks a lot in advance!
]]>It appears in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))
in include/install.php
doesn’t catch an active WooCommerce plugin that has been network activated. As such, things like the menu items & other functionality don’t work properly as a result.
Thankfully, there’s a quick & easy fix to change the exact code snippet above to is_plugin_active('woocommerce/woocommerce.php')
which takes a normal setup into account as well as a Network activated setup.
I found that this fixed the issue entirely, and I’ve love to see this implemented in a future update to this plugin as it appears to be a functionality-breaking bug for Multi-site currently when using an up-to-date setup.
As an aside, I believe this might’ve been what https://www.ads-software.com/support/topic/cannot-see-options-on-multisite/ came across, but I cannot confirm as that topic was closed without resolution.
Note: This is not a duplicate of the post I made for the Payment Gateway Per Category support forum (https://www.ads-software.com/support/topic/proposed-bugfix-for-multi-site-network-not-showing-settings-in-admin-menu-2/). It just happens that this plugin is also suffering from the same bug with a similar bug fix.
Thank you,
Kurt
I wanted to use this plugin for our webshop but it seems that it is incompatibly with wmpl_language used by WooCommerce Multilingual.
We have 3 categories of products that exist in multiple languages. After selecting saving the categories for which I want to edit the payment methods using this plugin, I can go to the product page and edit them as I wish. But if I then switch to the same product in another language, the different options to select the payment gateways are not visible…
If I then go back tot he Product Payments plugin and select and save the categories I wish to edit, the options become visible on the product page in the other language. But switching back to the original language, they have dissappeared and are reset to default…
]]>Supposing that I configure product A with bank transfer payment, product B with paypal payment and product C with stripe payment.
A client add to the cart 1 product A, 1 product B, and one product C, what happen then?
The client will receive instructions to make 3 different payments or what?
Hi, I would like to know if I cna use this plugin with one or more plugins adding the feature to manage the wholesale prices.
]]>The Payments box isn’t showing on a new product (but is still visible on old products). I’ve tried activating and deactivating the plugin and choosing different categories to function with the plugin. No luck.
Has it perhaps broken with the latest woocommerce update?
Many thanks,
Lois
Hi, I need some advice please.
I am using WordPress, with woo-commerce and wc-marketplace. I would like to add a different payment portal for each vendor so that money goes directly to the vendor and not to me. (Same as the delivery, each vendor has their own delivery options)
I use a payment system called iPay in my country, each vendor signs up with iPay and get their own key codes. Each vendor sells different products, i.e one sells car part, the mother meat, etc. How can I set this up with Woo-commerce Payment Gateway per Product or category.
Possible scenario:
1. Create multiple iPay installations i.e iPay1, iPay2 with each vendors iPay account details and then allocate to different products or categories? Would something like this be possible? or do you perhaps have a different suggestion.
I would really appreciate the support!
Regards
Andre
Hi! What’s the reason to not show the property box for the payment option in the product edit when the product is not shown in the catalog? I’d like to use it for a specific product which is restricted to some users.
Thanks
]]>For some reason, this plugin is only showing me 2 random categories from my list of categories…How do I get it to show others?
]]>Hello,
Due to the number of free plugins its almost impossible for us to keep track of every support request.
So from now on we will only reply to support requests that are send in via this link:
https://www.dreamfoxmedia.com/support-request-free-plugins/
Thank you for you cooperation and understanding.
sdfsdfs
After 2 years of available on wordpress plugin checkers are now saying its not met guidelines:
—-
Upon review, your plugin has been found to be in violation of the directory guidelines, found at
https://developer.www.ads-software.com/plugins/wordpress-org/detailed-plugin-guidelines/
In particular, guideline number 5 about trialware states the following:
> Plugins may not contain functionality that is crippled or locked, only to be unlockable by payment or upgrade. Paid functionality must be part of an externally hosted service or a separate plugin, that is not hosted on www.ads-software.com.
Your plugin has this on line 143:
if (count($productIds) >= 10 && !count($postPayments)) {
echo ‘Limit reached Please download full version package at https://www.dreamfoxmedia.com!’;
return;
}
That locks out users after 10 products. We consider this an arbitrary limit. It’s also a poor choice, since all anyone has to do is comment out those lines to use it forever.
If you wish to limit features, simply do not include them in the free version and offer them as paid upgrades.
—–
so we asked what we needed to do to get the plugin back again.
They adviced us to only make payment gateway visible for just 1 category. Then we do follow the rules.
So we had to change this plugin to that
i’m sorry
I installed and activated the plugin but the payment options don’t appear on the product pages.
]]>Hi,
I will use wc marketplace perhaps wc vendor. Also I want to use Payment Gateway per Product plugin. But Vendors control payment gateway per product. And I want to block the use of Vendors .
Thank you so much. I wait your reply.
Have a nice day !
Hello,
Does this plugin only work if the payment gateways are different, i.e. PayPal/SagePay.
We would like to use 2 PayPal accounts.
Is it possible to register 2 PayPal gateways with WooCommerce (via code customisation) so this plugin could work for us?
Many thanks for any help.
]]>Many thanks for your free plugin. But I find this plugin can’t show all payments methods to a product, only defaut payment in woocommerce2.6.6. I used 5 types payments gateway, their payment gateways Id is : xh_weixinpay_for_wc\xh_alipay_for_wc\cod\bacs\accountfunds. I only can see 3 types payments gateway to a product, xh_weixinpay_for_wc\xh_alipay_for_wc can’t be display. do you know What happens?
]]>I’m using WooCommerce 2.5.5 and the newest version of this plugin, but I’m not seeing any gateway selection options on the editing page of the product.
If it has any importance, I’m on Multisite.
https://www.ads-software.com/plugins/woocommerce-product-payments/
[ No bumping please. ]
]]>Hi,
Just installed your plugin and I have an issue with it.
When I select a specific payment method for a product, it all works fine if the user adds the product to the cart, goes to checkout and tries to pay. Only the selected payment method is shown.
However, if I send the user directly to the payment page of the checkout, something like https://example.com/checkout/order-pay/11?pay_for_order=true&key=order_56fb9cd244e5e, then all the payment options are shown.
Are you aware of this issue? Do you know how this could be solved?
Cheers,
Tiago
https://www.ads-software.com/plugins/woocommerce-product-payments/
]]>I have just upgraded to 1.2.5 on my staging site for multisite install and now I cannot see the gateway options section on my product pages?
https://www.ads-software.com/plugins/woocommerce-product-payments/
]]>