Easy Appointments "Confirmed" even credit card payment failed

SupportEasy Appointments "Confirmed" even credit card payment failed
dennis Staff asked 3 years ago
There were some cases when credit cards failed and Woocmmerce orders were canceled, appointments statuses will be "completed" which is supposed to be "pending". I dug into the code and notice that's what it is in the Woocommerce "item event" hook. Is there any way we can fix this, please?