Setup Local Testing

A users JWT cannot broadcast to extension pubsub.

However if the product is set to “broadcast”
Then it’s broadcast to all instances of the extension regardless of the person that initiated the transaction.
So if the broadcaster has a view open then yes the broadcaster could recieve it.

However optimally you’d be using a server to handle this sort of flow. to account for the broadcaster “oh I forgot to open a window” and audit loggin

See onTransactionComplete under Reference | Twitch Developers with initiator and more specifically Monetization | Twitch Developers