وردپرس

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!

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا