Hacking in app purchases

Hi guys my in app purchases through analytics keep getting stolen on IOS because it says the purchase is going through how can i fix this