logo
Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Erwin  
#1 Posted : Wednesday, June 26, 2013 4:55:48 PM(UTC)
Erwin

Rank: Administration

Reputation:

Groups: Moderators, Administration, Member
Joined: 10/8/2008(UTC)
Posts: 44

When returning from Ogone (the accept URL in SIENN in the Ogone settings in SIENN), you can return on a open control and do stuff.
This can be the return url:
Code:
http://www.YourDomain.com/Basis.aspx?Lid=36&Lit=CONTROL&Par=07&PRINT=TRUE


where Lid=36&Lit=CONTROL&Par=07 means OpenControl 07

and the &PRINT=TRUE is to be sure you only return the content (quicker, nicer).

The opencontrol has this code:

Code:
imports microsoft.visualbasic
==>END IMPORTS
Dim cid As String = pbw.get_Cid_Currentdomain
Dim ErrString As String = ""

Dim ShopSettingIndex As Integer = pbw.UserEscape_Shop_Settings_Index("SOURCESHOP24", cid, False, pbw.Get_RunSource_CreateAssembly, pbw.Get_RunSource_RunFromAssembly(), Server, Request, Session, Constring, "", "", Response, ErrString)

pbw.Shop_Set_cookie(Session, "")
Session("SHOPORDERID") = ""
Session("SHOPORDERBEDRAG") = ""

Dim urlnext As String = ""
Dim Javascript As String = ""
pbw.Get_Config(cid, ShopSettingIndex, "SHOPBESTELBESTELURL", urlnext, Constring)
Javascript = "<script>parent.location='" & Trim(urlnext) & "'</script>"
Controlplace.InnerHtml = Javascript

Edited by user Wednesday, June 26, 2013 4:56:21 PM(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your Sienn Forum forum account. New Registrations are disabled.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.