Transaction Id is missing in order details for Payu gateway
-
Hi,
I am facing a huge issue right now. There is a case where payment from payu is success and since i am using woocommerce, i checked the dashboard and transaction id is missing when the order is either pending / cancelled / failed. i tried to print the value of order details, I can see that transaction_id key is returning empty value. The case where this is happening when order status is pending / failed / cancelled. Where as if the order status is processed, then I am able to get the transaction id. I am not doing any overriding changes in these orders.
I am using this function to get the order details, that’s all
$order = wc_get_order($myOrderId);
Please let us know why transaction id is missing as this is super required for us to do some other changes.
- The topic ‘Transaction Id is missing in order details for Payu gateway’ is closed to new replies.