World pay payment response updating orders
i have a confirm.php page which stores the orderand order details in the database.
this gets sent to worldpay then worldpay calls my response.php page which i want to update the order, depending if the transaction was sucseusfull or not.
how do i reference the order id so it knows which transaction to update?
o guess storing the cart id in the db and referencing that wont work because its based as a session variable, can i pass the order id to worldpay in another custom hidden field?
am not sure if tha application flow allows this or not
confirm.php -> click confirm, order stored in db -> order details stored in db ->
store added order id in hidden field order id -> send to worldpay for processing.
would i be correct in thinking this?