Hi,

I am creating a payment gateway which uses a javascript variable to get an iframe. From the research i've done nopcommerce accepts Html.AddScriptParts method from the plugin but i have tried to add a variable to the Html.AddScriptParts without success.

This is an example of the javascript i wish to convert to Html.AddScriptParts()

<script type='text/javascript'>  redirectURL = "@Html.Raw((Model.DynamicURL))";</script>