Payment failed removing bookings | WordPress.org
Hello,
We’re having issues with WooCommerce Square when a payment fails.
The first issue we noticed is that when the checkout process starts, there is a change for the booking status to “in cart”. I think this works well for physical products, but we’re having issues with bookings. Since they are virtual products, the previous “confirmed” status gets updated and the booked date gets released in the calendar. Is there a way to customize this with some filter?
The other issue is when an user purchases with an invalid credit card and keeps trying and getting the same status, after around 3 attempts there is a bug that completely deleted the booking assigned to the order from the database and also caused a fatal error in the order items section.
https://snipboard.io/3oLXeY.jpg
I’m sharing some logs here:
https://gist.github.com/felipemoslavacz/6024aef5515eed4375cf96d23b7b0527
Thanks!
این خبر توسط موتور تهران اقتصادی جمع آوری شده است در صورت مغایرت اطلاع دهید
دیگر رسانه های کشور:
آموزشگاه رسانه |ارتباط اقتصادی| ارتباط فردا|ارتباط فرهنگی|ارتباط ورزشی|تهران اقتصادی |تهران ورزشی|مرجع وب و فناوری|پایگاه خبری شباب |همسونیوز|تهران فرهنگی