Webview Payment Simulation

This simulates a Successful or Unsuccessful. You are required to respond to both scenarios using a javascript interface