Found solution to this problem. This is because of a defect in 
pythonanywhere server. 

I had http url in my code and I corrected it later to https. But 
pythonanywhere server assumes it as http even after it is corrected and 
automatically logged out the user.

I have created a new pythonanywhere account and deployed updated web2py 
application...

Now it's working perfectly....

On Friday, September 6, 2019 at 9:38:59 AM UTC+5:30, Saranya S wrote:
>
> Thanks Sandeep....I'm using the same web2py app from github. You have 
> given the link in another thread as well.
>
> It's working perfectly when tested in local host(127.0.0.1:8000). I have 
> deployed the same app to pythonanywhere server. Below is the link:
>
> https://saranya80a.pythonanywhere.com/payumoney/default/index.html
>
> Please go to the above url. Signup /login as a user. Click Pay and go to 
> the payment gateway.
>
> After successful transaction, user gets logged out automatically and 
> that's my issue.
>
> Please try and let me know. 
>
>
> On Thursday, September 5, 2019 at 5:54:18 PM UTC+5:30, sandeep patel wrote:
>>
>> Hey Saranya,
>> I have successfully depoyed PayUMoney payment gateway in web2py apps.
>> Here is code repo <https://github.com/coodblooded/Web2py-PayUmoney>for 
>> that.
>>
>> Please have a look at it.
>>
>> Thanks
>> SP
>>
>>
>> On Thu, Sep 5, 2019 at 4:58 PM Saranya S <saran...@gmail.com> wrote:
>>
>>> Website automatically logs out after 'PayUMoney' payment gateway, 
>>> redirects to success.html page.
>>>
>>> This happens only after deploying to  pythonanywhere server....Same code 
>>> works perfectly in local host(http://127.0.0.1:8000)
>>>
>>> https://saranya80a.pythonanywhere.com/Yugamugi1/default/index 
>>>
>>> Go to the above url and login as saran...@gmail.com and password 
>>> test...click the cart and checkout...continue to payment ....complete the 
>>> payment...After successful payment when redirected to success.html page, 
>>> the user gets logged out automatically 
>>>
>>> PLEASE HELP TO RESOLVE THIS ISSUE....
>>>
>>> -- 
>>> Resources:
>>> - http://web2py.com
>>> - http://web2py.com/book (Documentation)
>>> - http://github.com/web2py/web2py (Source code)
>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "web2py-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to web...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/web2py/4f053215-302e-4aee-bf2a-c0a9adad58ab%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/web2py/4f053215-302e-4aee-bf2a-c0a9adad58ab%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/b2fa929b-ec0f-4240-8da8-f54337373d4b%40googlegroups.com.

Reply via email to