according to the 2015 tutorial https://www.b4x.com/android/forum/threads/istore-in-app-purchases.49301/ the Store object must be declared in the Process_Global sub.
This imply implementing the events in the Main module.
Since I'm using B4XPages, can the Store object be declared in the Class_Globals sub and the events in the B4XMainPage as well?