Create contact without user interaction

I am creating a plugin for Joomla. So whenever a user register on my website, his/her contact should be created automatically in Infusion. I tried with the php sdk but there is redirect url which permit user to see that page. I want to exclude this step from creating the contact.

The approach will depend upon what you might be using. For example, Gravity Forms has a plugin for this. Some themes have plugins specific to that theme. Infusionsoft has an optin plugin. If you’re using a membership plugin then you can connect it to IS. So specifically, what is it that you are currently using?