Welcome Guest Search | Active Topics | Members | Log In | Register

How easy is to integrate realax payments into D2 StoreFront Options
alexIrish
Posted: Friday, August 14, 2009 9:13:36 AM
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.
D2Admin
Posted: Sunday, August 16, 2009 12:25:43 AM

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
D2Admin
Posted: Sunday, August 16, 2009 12:31:09 AM

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.
alexIrish
Posted: Monday, August 17, 2009 3:44:08 AM
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
alexIrish
Posted: Monday, August 17, 2009 4:08:26 AM
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.
D2Admin
Posted: Monday, August 17, 2009 5:16:10 AM

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
alexIrish
Posted: Monday, August 17, 2009 5:31:40 AM
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,
D2Admin
Posted: Tuesday, August 18, 2009 6:03:58 AM

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.
alexIrish
Posted: Thursday, August 20, 2009 1:19:07 AM
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,
alexIrish
Posted: Thursday, August 20, 2009 4:20:45 AM
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,
D2Admin
Posted: Friday, August 21, 2009 12:02:21 PM

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.
alexIrish
Posted: Monday, August 24, 2009 2:09:58 AM
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.
D2Admin
Posted: Monday, August 31, 2009 3:26:19 PM

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).
Users browsing this topic
Guest


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.

Main Forum RSS : RSS

SoClean Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1 (NET v2.0) - 9/1/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.