Hi Guys,
Has anyone made SagePay working for 2.4 version, if yes please can you help me to make it work. I have upgraded my version 1.9 to 2.4. Thanks in advance
Rahol
<form id="confirmorderform" action="@Url.RouteUrl("CheckoutConfirm")" method="post" target="_parent">
<p>
Your order is being processed...</p>
<p class="lbLoading" style="background-repeat: no-repeat; min-height: 40px;">
Please wait while you are redirected to the completion page.</p>
</form>
<script type="text/javascript">
$('#confirmorderform').submit();
</script>
var cart = _workContext.CurrentCustomer.ShoppingCartItems.Where(sci => sci.ShoppingCartType == ShoppingCartType.ShoppingCart).ToList();
if (cart.Count == 0)
{
return RedirectToRoute("ShoppingCart");
}
<form id="confirmorderform" action="@Url.RouteUrl("CheckoutConfirm")" method="post" target="_parent">
<p>
Your order is being processed...</p>
<p class="lbLoading" style="background-repeat: no-repeat; min-height: 40px;">
Please wait while you are redirected to the completion page.</p>
</form>
<script type="text/javascript">
$('#confirmorderform').submit();
</script>
var cart = _workContext.CurrentCustomer.ShoppingCartItems.Where(sci => sci.ShoppingCartType == ShoppingCartType.ShoppingCart).ToList();
if (cart.Count == 0)
{
return RedirectToRoute("ShoppingCart");
}
$('#confirmorderform').submit();
<script type="text/javascript">
$('#PaymentInfoForm').submit();
</script>