A transaction could stay in a pending state for several days due to factors such as the merchant's processing time, bank holidays, or the specific policies of your bank. Also, certain types of transactions, like hotel bookings or gas station payments, may remain pending for longer because the final amount may not be known immediately.