As said, if I include that script then anything works and I get the error I mentioned. Is there any reliable example using that script you mention that works? It’s not like the new script doesn’t work for Bits, it just doesn’t work at all – is it meant to be used in local dev with the Developer Rig?
This way when you call useBits(sku) it’ll skip passing control over to Twitch which would normally open a dialog box to confirm/buy bits/cancel, and instead just call onTransactionComplete.
Also there’s nothing at all stopping you testing Bits outside of the rig by whitelisting a test channel, install the extension on that channel and test there, in which case you will have Twitch’s dialog box, and if the sku is set to being in development it wont actually subtract bits from your account (although you still do need sufficient bits in your account to get a confirm button, otherwise you just get options to cancel or buy bits)
Alright, thanks for confirming me that
But will those products setup in the rig work during Hosted Test and Release stages of the extension?
Sorry for all the questions, but I’m finding the Bit implementation process a little tricky.