I’m creating a Thank You and Order Status page extension and within these extensions I’m using the customer’s email and I have access the protected customer data. For the Thank You page I’m retrieving it easily with the useEmail() hook so that fine.
On the Order Status page I’m struggling to get the customers email, I have tried useCustomer(), useEmail() and through props.buyerIdentity but it’s always coming back as undefined.
Has anyone else come across this issue and if so how did you resolve it?
Thanks!
Tim