Payment Gateway Logs Out Of Account On Completion Of Payment

Hello, so we're integrating an online payment gateway with our site, and the way it's requests are structured are very similar to Paypal, so we patterned our integration on that.

However, as we're testing right now on a sandbox account, for some reason, sometimes upon approval of the payment, and redirection to checkout.complete, we get logged out of our account. However the other payment gateways still work fine, it doesn't happen to them.

We've debugged a bit, and when it gets to the payment.notification.approval dispatch we're still logged in. However, after redirecting to checkout.complete we're already logged out. Could it be an issue with something in fn_distpach() or fn_redirect?

If anyone has had this problem and has resolved it, a point in the right direction would be greatly appreciated, thanks!

If anyone has had this problem and has resolved it, a point in the right direction would be greatly appreciated, thanks!

We have two customers with the same issue. But the reason is not found yet

Just a thought, it could be the size of the parameters area. I think the default in most php environments is like 128K (don't quote me on the number) so you may need to increase it. If it's blowing away the _SESSION area, then the 'auth' cookie might be getting destroyed.

Just a thought, it could be the size of the parameters area. I think the default in most php environments is like 128K (don't quote me on the number) so you may need to increase it. If it's blowing away the _SESSION area, then the 'auth' cookie might be getting destroyed.

I see, we'll look into this, thank you very much!

Update: We added a memory_limit=256M to our php.ini and we already have a post_max_size = 512M in there as well, but the problem is still there.

Try to post the issue to the bug tracker. We will also make a post there

Anyone got the solution of this ? Facing same problem with PayUMoney and Order notifications are also not going to customer