@inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
@using Dynamicweb

@* This template is here to trick the checkout to redirect correctly back to the customer center *@
@* This is only here to secure that we can use payment complexity from the chekcout to handle credit card creation *@

@{
    string redirectUrl = "/Default.aspx?ID=" + GetPageIdByNavigationTag("SavedCardsPage");
}

<script>
    window.location.href = '@(redirectUrl)';
</script>