Sometimes if a customer places an order with card payment through stripe and the return is “error” “code”: “card_declined” or “decline_code”: “do_not_honor” the order still goes into Sales-> Orders list in the Admin.
The table ti_orders with fields invoice_prefix,invoice_date, processed,status_updated_at all are NULL the rest of the fields have the order information.
In the ti_payment_logs table the declined payment has status 0.
Is there a way to fix this in payregister/payments/stripe.php ?