block-base tool for In app purchase manage