How to access [commerce-order:uid] or [commerce-order:owner] using php code?
Hi short time reader. first time poster :)
I don´t know if this is the place to ask, but here goes anyway.
Im using rules. and the problem is, that I need the user account of an order ( [commerce-order:uid] ), normally I could put that into the "Data selector" but this time where I need it the data selector will only accept date variables. ok so I´m writing some extra php code. But how do I call [commerce-order:uid] in php code. Or what is the equivalent php code to the token?
is it possible?
if it is, is there a place to look it up?
In advance thank you for your time :)