Dennis Jonda
Forum Replies Created
-
Hey @mrclayton,
I hope you are well.Have you perhaps been able to look into what the problem might be?
Kind regards
So as soon as I click on Google Pay, the address that was previously entered is deleted and it says that I have to enter a valid address. As soon as I enter the address, I can no longer click on the order button.
Hello @mrclayton,
thank you very much for your fast reply.- Version of WC: 7.4.0
- Version of WooCommerce Blocks if you’re using it as a separate plugin: 9.6.3
- Stripe plugin version: 3.3.38
- Are you using the GPay gateway, or the Payment Request Gateway which supports GPay?: I’m using the GPay gateway.
Thank you and kind regards
Forum: Plugins
In reply to: [Payment Plugins for PayPal WooCommerce] Conflict with another pluginHey @mrclayton,
thank you for your prompt response.
It appears that the issue is occurring only on the checkout page when processing an order after clicking on the PayPal button. The log indicates a PHP Notice and a PHP Fatal Error related to trying to access array offset on a null value and calling a member function on null. The error seems to originate from the ItemsFactory.php file on line 90 and 93.
[20-Feb-2023 18:44:59 UTC] PHP Notice: Trying to access array offset on value of type null in /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/ItemsFactory.php on line 90 [20-Feb-2023 18:44:59 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_id() on null in /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/ItemsFactory.php:93 Stack trace: #0 /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/ItemsFactory.php(45): PaymentPlugins\WooCommerce\PPCP\Factories\ItemsFactory->get_cart_item(2.9988, 'Darf es eine Ka...', 1, NULL) #1 /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/PurchaseUnitFactory.php(28): PaymentPlugins\WooCommerce\PPCP\Factories\ItemsFactory->from_cart() #2 /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/OrderFactory.php(22): PaymentPlugins\WooCommerce\PPCP\Factories\PurchaseUnitFactory->from_cart() #3 /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Rest/Routes/AbstractCart.php(40): PaymentPlugins\WooCommerce\PPCP\Factories\OrderFactory->from_cart('capture') #4 /usr/www/users/agnesek/shop/wp-content/plugins/p in /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/ItemsFactory.php on line 93 [20-Feb-2023 18:46:24 UTC] No treemates orders found [20-Feb-2023 18:46:44 UTC] PHP Notice: Trying to access array offset on value of type null in /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/ItemsFactory.php on line 90 [20-Feb-2023 18:46:44 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_id() on null in /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/ItemsFactory.php:93 Stack trace: #0 /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/ItemsFactory.php(45): PaymentPlugins\WooCommerce\PPCP\Factories\ItemsFactory->get_cart_item(2.9988, 'Darf es eine Ka...', 1, NULL) #1 /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/PurchaseUnitFactory.php(28): PaymentPlugins\WooCommerce\PPCP\Factories\ItemsFactory->from_cart() #2 /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/OrderFactory.php(22): PaymentPlugins\WooCommerce\PPCP\Factories\PurchaseUnitFactory->from_cart() #3 /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Rest/Routes/AbstractCart.php(40): PaymentPlugins\WooCommerce\PPCP\Factories\OrderFactory->from_cart('capture') #4 /usr/www/users/agnesek/shop/wp-content/plugins/p in /usr/www/users/agnesek/shop/wp-content/plugins/pymntpl-paypal-woocommerce/src/Factories/ItemsFactory.php on line 93 [20-Feb-2023 18:47:00 UTC] No treemates orders foundI have also provided a staging site for further investigation: http://staging.agnes-blumenladen.de.www550.your-server.de
Thank you very much for your help!- This reply was modified 3 years, 3 months ago by Dennis Jonda.