|
|
Rank: Newbie
Joined: 8/14/2009 Posts: 7 Location: Ireland
|
I'm thinking to go with this software as part of my new website. Just want to know how easy to integrate payment via realex into. I going to have a source code.
Thanks.
|
|
 Rank: Administration
Joined: 9/6/2007 Posts: 224
|
Hi, it really depends on how good you are at .NET. Its one of those questions that is impossible to answer but basically if you don't know .NET and don't use it as a job every day then it'd be very difficult, if you are a competent .NET developer then its perfectly do-able.
I'm not familiar with Realex so cannot comment on the actual mechanism of that particular provider.
Paul
|
|
 Rank: Administration
Joined: 9/6/2007 Posts: 224
|
Forgot to add that yes, you'd need the source code version. The free and retail versions are pre-compiled so the code used to handle the payments is un-editable whereas the full source version is totally editable.
And to reiterate, the full source version is aimed at professional .NET dev's only and is written in VB so if you know your stuff you should be fine.
|
|
Rank: Newbie
Joined: 8/14/2009 Posts: 7 Location: Ireland
|
Thanks. I've dought full source code and will e very appreciated if you point me a logic of payment process, I haveto make few other changes to reach our company requirement in GUI but have very little time. And also I have config error error when made test registration of new user account. After I clicked registered botton I have this:
Server Error in '/' Application.
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 46: </appSettings> Line 47: <system.web> Line 48: <sessionState mode="InProc" timeout="35"/> Line 49: <customErrors mode="Off"/> Line 50: <httpRuntime executionTimeout="120" maxRequestLength="11000"/> Source File: c:\inetpub\wwwroot\d2retail\web.config Line: 48 Show Additional Configuration Errors: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (c:\inetpub\wwwroot\d2retail\web.config line 56)
I checked IIS, application was created. I could't find another web.config files in whole web site, so could you please help. Help by email will be highly appreciated. Thanks.
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
|
|
Rank: Newbie
Joined: 8/14/2009 Posts: 7 Location: Ireland
|
Hi. Just to make easy your life I can tell that error arise from App_code/SitelockRegistration.vb file when executes this peace of code:
Dim DuplicateUserCheck As SitelockDataTransaction = New SitelockDataTransaction If DuplicateUserCheck.CheckForDuplicateUsername(D2Username) = 1 Then If StoreIsSender = False Then HttpContext.Current.Response.Redirect(DuplicateUsersPath, True) Else HttpContext.Current.Response.Redirect(SLStoreDirPath & "DuplicateUser.aspx", True) --> error here End If End If thanks.
|
|
 Rank: Administration
Joined: 9/6/2007 Posts: 224
|
Thanks, will test that later to try and replicate it. You could check the path within your web.config that the variable SLStoreDirPath is using is configured with a valid path. It may be trying to redirect to an invalid path for the DuplicateUser.aspx page? Try stepping through the debugger and add a watch to: SLStoreDirPath & "DuplicateUser.aspx"
Paul
|
|
Rank: Newbie
Joined: 8/14/2009 Posts: 7 Location: Ireland
|
Hi. Path looks fine in debuger. I would say that problem in web config. I tried to register user and it appear in database but then system throw same error. DuplicateUser.aspx is not involved at this time. Error came from basket.aspx. I put steps I made here: I unpacked downloaded zip into ../Inetpub/wwwroot/D2 folder. Then created DB and change web.config to point to this DB and this folder and D2/StoreFront folder. After I ran Install/setup.aspx and finished with this successfully. Admin part of web site works well so far. But when I try to do registration or login action from StoreFront configuration error comes. I tried to set up StoreFront folder as application and config error disappeared but error with dll (chatstream) comes. This is because StoreFront doesn't have bin folder, I think. So I reverse settings in IIS and start debugging. SO far I detect that issue comes when pages from StoreFron folders call to session object. And then need some check with web config.
Thanks,
|
|
 Rank: Administration
Joined: 9/6/2007 Posts: 224
|
Strange, if you want to send me a link to the store to paul @ d2computing.co.uk i can take a look.
|
|
Rank: Newbie
Joined: 8/14/2009 Posts: 7 Location: Ireland
|
Hi. I found where the issue was. I have two instanses of StoreFornt opened in IE(different tabs:full(development) and release). They were crossover each other and give me some funny things. Now I need to know why basket clear it content after some time. I found that it uses datatable object in session to keep all info, but cant find where the session expire time setting is. I put in web config 30 mins, but in fact basket items disapear before half hour. I cant give a link to a web shop, cause it is in development now.
thanks,
|
|
Rank: Newbie
Joined: 8/14/2009 Posts: 7 Location: Ireland
|
Hi. One more thing for payment integration: what page you use to catch response from payment service providers?
Thanks,
|
|
 Rank: Administration
Joined: 9/6/2007 Posts: 224
|
alexIrish wrote:Hi. I found where the issue was. I have two instanses of StoreFornt opened in IE(different tabs:full(development) and release). They were crossover each other and give me some funny things. Now I need to know why basket clear it content after some time. I found that it uses datatable object in session to keep all info, but cant find where the session expire time setting is. I put in web config 30 mins, but in fact basket items disapear before half hour. I cant give a link to a web shop, cause it is in development now.
thanks, Hi, yes different tabs within the same browser session will share session state if using the same application and this would lead to wierd things happening. Is unlikely to happen in a production environment though and is not just limited to D2 StoreFront. As for the basket, this has now been altered for the next release to store the users basket contents in a database table along with a basket ID stored in cookie so the cart contents can be retreived even if the session ends or the user revisits in a couple of days.
|
|
Rank: Newbie
Joined: 8/14/2009 Posts: 7 Location: Ireland
|
Hi Paul. Could you plesae point the page where you catch response from payment providers (display payment result).
Tnx.
|
|
 Rank: Administration
Joined: 9/6/2007 Posts: 224
|
alexIrish wrote:Hi Paul. Could you plesae point the page where you catch response from payment providers (display payment result).
Tnx. Each provider needs its own receiving page eg worldpay.aspx because each provider posts different sets of data so a single page cannot be used (or it could but it'd end up as a big complex page).
|
|
|
Guest |