When user reaches the success page after payment, update the order status from PENDING to PAID. This ensures the admin panel shows the correct status immediately after payment confirmation.
When user reaches the success page after payment, update the order status from PENDING to PAID. This ensures the admin panel shows the correct status immediately after payment confirmation.