title: Disable Interaction with screen till Payment is done
body: <p>Dears,</p>
  
  <p>I have this screen where there are the purchasable product to choose from. I want the user not to be able to press on button of buying product and then presses again on another purchasable product while waiting for the server to respond.</p>
  
  <p>To make it clear, I want the screen to be disabled till the payment is done or declined. The technical problem is that i can disable all the buttons when the presses on a purchasable product, but what i cant make is to enable all the buttons again when the user declines the payment. because the event happens in a totally different class than the view controller.</p>
  
  <p>This is the screen:<a href="https://i.stack.imgur.com/6jCLU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6jCLU.png" alt="This is the purchase screen"></a></p>
  
  <p>When the user presses monthly, the yearly and life time should be disabled till the user either cancels the payment or approves it.</p>
  
  <p>Again my question, The class that fires when the user completes the registration</p>
  
  <p><a href="https://i.stack.imgur.com/u6oPd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u6oPd.png" alt="enter image description here"></a></p>
  
  <p>and this is a payment observer called from another class which handles the payment completion</p>
  
  <p><a href="https://i.stack.imgur.com/Mo2BC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mo2BC.png" alt="enter image description here"></a></p>
  
  <p>So How should i enable the buttons again !!</p>
  
  <p>Please don't hesitate if you have any questions to ask</p>
  
  <p>Thank you</p>