Code: Select all
m.channelStore = createObject("roSGNode", "ChannelStore")
m.channelStore.order = order
m.channelStore.observeField("orderStatus", "onChannelStoreOrderStatusChange")
m.channelStore.command = "doOrder"
If the user clicks "back" or navigates back from the pin pad dialog I would expect an orderStatus with status = 2, but the orderStatus is never set and there doesn't appear to be any other property to observe for this case. This looks to be a bug with the component?