I am using ASP.net MVC5 for my e-commerce project . I am not using any SSL .
I have also successfully integrated the payment gateway. The problem i am facing is that while i am posting data to the payment gateway it process the payment and send backs the response to our web application action method the user gets logged out i.e. User.idenity sets back to null .
I think it occurs beacuse of HTTP to HTTPS connection as every gateway uses https as a security. and after getting redirected to https it removes all the cookies and session data.
But I don't want to use https connection in order to retain the User login session . Please tell me how to retain my user signin state after it gets redirected back from payment gateway.
Midhun TpPosted Sep 29, 2016, 7:35 AM
Nikhil SrivastavaPosted Sep 29, 2016, 7:27 AM
Midhun TpPosted Sep 29, 2016, 5:28 AM
Nikhil SrivastavaPosted Sep 29, 2016, 4:38 AM
Midhun TpPosted Sep 28, 2016, 10:31 PM
I don't know is there any good solution for this. But when i integrated payment gateway, i have used transaction number to identify the payment. Ofcourse, in my payment gateway, transaction id was a unique number which we can generate and pass to the payment gateway. So in the response, we get that transaction number too, with which we identifies the transaction. I don't know the working with your gateway. But if this was the case, you better go with my solution as you can't always depend on cookies or sessions as they can get expired.