When the response is sent by the controller, the JS files get the parameters and insert an hidden input type field with a random id (this random id is already temporarily stored in db) in the Magento form.
When the response is sent by the controller, the JS files get the parameters and insert an hidden input type field with a random id (this random id is already temporarily stored in db) in the Magento form.