Page 1 of 1

user logged out in custom files by system

Posted: Mon Nov 13, 2023 1:58 pm
by silvana

When I use the bank gateway for payment, I need to create 2 custom files, one to send to the bank and one to return and control the payment information.
There is no problem in sending the information to the bank and it is done well, my problem is that after the successful payment, when the bank sends the information to the page I want, the user account of the person who was in the system is logged out and the error of not accessing This page gives.
My question is actually why is this happening and how can I prevent the user from logging out which is caused by the system.
I am using version 2023.


Re: user logged out in custom files by system

Posted: Mon Nov 13, 2023 2:04 pm
by mobhar

It actually depends on the code you have already written in the Custom File that will send the information to the bank, which will cause the system will logout the current user automatically.