You must Sign In to post a response.
  • Category: ASP.Net MVC

    Session expired when redirecting to website from payumoney

    Hii ,
    i am using webapi and asp.net mvc ,session Token is expiring after payment done in payumoney
    .but it is happening in some times ,i am using session storage ,i am unable to identify the issue
    please suggest how to fix this issue
  • #764483
    The default session timeout is of 20 Minutes, does you spend more than 20 minutes in PayUmoney page, if so then it is better to some other technique to store your variable may be ViewData.
    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #764485
    Hi,
    Go through this article:
    http://www.codeproject.com/Articles/870870/Using-Paypal-Rest-API-with-ASP-NET-MVC
    Here author has used Paypal-Rest-API and inside PaymentWithPaypal action, author has done coding to handle the data sendback by Paypal-API after executing payment. You can refer it though you are using PayUMoney.

    Hope it helps.
    Regards,
    Shashikant Gurav
    shashikantgurav22@gmail.com

  • #764491
    The payUmaney page may take time more than 20 sec. So your session may expired.
    You can increase the session timeout in from your config.

    <system.web>
    <sessionState mode="InProc" timeout="30" />
    </system.web>


    By Nathan
    Direction is important than speed

  • #764526
    Hi,

    May be you are Idle more than session time, may be because of that you got this problem, I request you to please increase your session timeout if needed.

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/


Sign In to post your comments