Cannot access 'buyerIdentity' on target 'customer-account.page.render'

Uncaught (in promise) ExtensionHasNoFieldrror: Cannot access ‘buyerIdentity’ on target ‘customer-account.page.render’. The corresponding property was not found on the API.

We are seeing this error on all our customer account extensions.

Can anyone help?

Hi @Faouzi_Oudouh, thanks for reaching out.

buyerIdentity is only available on order status targets within customer accounts, so it is not available within a full page extension.

On other pages, you could use the authenticatedAccount api

Thanks @Andrew_M

Wondering why this stoped working this morning even though the change was there few days ago?

Hi @Faouzi_Oudouh - to my knowledge, this has not changed. buyerIdentityhas only ever been available on order status targets. The Authenticated Account API should work on other targets.

1 Like