I since figured this out, I'm assuming a bug fix has happened either in Amelia or in WooCommerce.
What the actual problem was, was the product bound to the Amelia Event wasn't configured correctly in WooCommerce (Variable Product but no attributes or anything configured). Once I changed the Appointment product to a Simple Product, In Stock with a default price, I was able to order Amelia Events again and the pricing still appears to apply properly.
Yes, ever since the WooCoomerce update, we've had some issues such as "empty cart" and issues where no customer information was sent to the checkout window. This is because the WooCoomerce updated their settings and we've had to come up with the settings in Amelia in order for the integration to work correctly. We are aware of these changes and we are already working on making changes on our side. Good to see that you were able to find the workaround, though. We will do our best to fix this as soon as possible, but you can follow the changelog to keep up with the updates, of course.
A recent update to WooCommerce has broken the checkout feature for booking a Service in Amelia.
In the server logs I see this message at the point of failure:
"PHP message: PHP Warning: Undefined array key "isCart" in /srv/www/prod/lowermosswood.com/wp-content/plugins/ameliabooking/src/Application/Commands/PaymentGateway/WooCommercePaymentCommandHandler.php on line 64" while reading response header from upstream, client: 172.70.163.145, server: lowermosswood.com, request: "POST /wp-admin/admin-ajax.php?action=wpamelia_api&call=/payment/wc HTTP
/2.0", upstream: "fastcgi://unix:/run/php/php8.3-fpm.sock:", host: "lowermosswood.com", referrer: "https://lowermosswood.com/felting-classes/"
Please advise.
Attached files: Screenshot 2024-04-22 at 15-45-33 Cart - Lower Moss Wood.png
I since figured this out, I'm assuming a bug fix has happened either in Amelia or in WooCommerce.
What the actual problem was, was the product bound to the Amelia Event wasn't configured correctly in WooCommerce (Variable Product but no attributes or anything configured). Once I changed the Appointment product to a Simple Product, In Stock with a default price, I was able to order Amelia Events again and the pricing still appears to apply properly.
Hello Alex,
Thanks for reaching out to us.
Yes, ever since the WooCoomerce update, we've had some issues such as "empty cart" and issues where no customer information was sent to the checkout window. This is because the WooCoomerce updated their settings and we've had to come up with the settings in Amelia in order for the integration to work correctly. We are aware of these changes and we are already working on making changes on our side. Good to see that you were able to find the workaround, though. We will do our best to fix this as soon as possible, but you can follow the changelog to keep up with the updates, of course.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables