Details shared
Also sharing a solution for the same, just for reference.
https://stackoverflow.com/questions/47586883/woocommerce-order-key-not-passed-to-order-pay-function-with-the-error-message
Thanks