This is the checkout code...
InternalUpdateInterface
EventInterface
Depends what your gateway is doing, returning to auto notify or returning directly after payment, of course you could also change your gateway provider code to deal with the http post you need.
Dave.
Case "4" ' AUTO run return for bank
objGateway.AutoResponse(PortalId, Request)
If Not InternalUpdateInterface.Instance() Is Nothing Then
InternalUpdateInterface.Instance.AutoResponse(PortalId, Request)
End If
If Not EventInterface.Instance() Is Nothing Then
EventInterface.Instance.AutoResponse(PortalId, Request)
End If
'support for merchant integrated CC input.
If Not Session("BankHtmlRedirect") Is Nothing Then
If Session("BankHtmlRedirect") <> "" Then
Response.Redirect(EditUrl("RemotePost"))
End If
End If
Case "5" ' completed return
If CurrentCart.IsCartEmpty(PortalId) Then
If Request.QueryString("chq") Is Nothing Then
objGateway.AutoResponse(PortalId, Request) ' put auto response here, for payment providers that return notify on same url as return.
End If
DisplayEmptyCart()
Else
If Not InternalUpdateInterface.Instance() Is Nothing Then
InternalUpdateInterface.Instance.ReturnToStore(PortalId, CurrentCart.GetCurrentCart(PortalId), GetCurrentCulture, Request)
End If
If Not (Request.QueryString("chq") Is Nothing) Then
CompletedChqPayment()
Else
CompletedBankPayment()
End If
End If
End Select
these are the interfaces you need to look at......InternalUpdateInterface
EventInterface
Depends what your gateway is doing, returning to auto notify or returning directly after payment, of course you could also change your gateway provider code to deal with the http post you need.
Dave.