[Skip to main content](#vessel-content)

#   The Joomla user is logged off upon return from Paypal

##

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

5 years 7 months ago [\#330256](#330256) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[The Joomla user is logged off upon return from Paypal](/forum/27-checkout/901590-the-joomla-user-is-logged-off-upon-return-from-paypal?start=20#330256 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Chrome 87.0.4280.88 and Edge -- Error-message(debug-mod must be tuned on) -- : The Joomla user is logged off upon return from Paypal  I have four products defined in Hikashop, and php code that selects the appropriate the &quot;add to cart&quot; URL and places it into a payment request page. Clicking on the URL takes the user to Hiakshop. We have only one payment method defined, for Paypal.  Paypal is configured with an &quot;auto return&quot; set to   lmphrf.org/index.php/paypal-payment-ok  (which points to Lmphrf monohull » PaymentconfirmedForm).  This all works just fine except that, when the user is sent back to the paymentconfirmedform page he is no longer logged in to Joomla.  My php code tracks both the login username and the remote IP address, and uses either or both to record the successful payment. This work OK because I can track the IP address, but it is an inconvenience for the user in that he must re-login.")*

Hello,

Of course, I checked all your data traces and my conclusion is the same as Nicolas, Philip, and Jerome.

> This is not software I have written. It isn't part of the base Joomla product. It is all provided by Hikashop.
> Are you telling me that you do not support the interface between Hikashop and Paypal? Why not? And how is a problem in that interface my problem, not yours?

We can understand your frustration, but you should understand that the Hikashop Paypal payment plugin is responsible for :
- Displaying a PayPal payment method during the payment step of your checkout workflow
- Redirecting your customers to the Paypal platform while sending them your customers order information
- Updating your customers order status when the PayPal platform redirect them to the notification URL

The Hikashop component and the Hikashop Paypal payment plugin won't be responsible of what happen on the PayPal website during the payment process, we are Hikashop developers, not PayPal developers.

Also, I wasn't able to reproduce that issue on my end so your issue can be coming from multiple factors like :
- The way you configure your website/server. For example you should make sure that your customers are properly redirected to the same domain. If they should be redirected to **https:// lmphrf.org** /xxx make sure they are note redirected to **http**![:/](/irritated.gif ":/")/ lmphrf.org /xxx or https:// **[ www.lmphrf.org](http://www.lmphrf.org)** /xxx or **http:// [ www.lmphrf.org](http://www.lmphrf.org)** /xxx
==&gt; [ stackoverflow.com/questions/234723/gener...irect-www-to-non-www](https://stackoverflow.com/questions/234723/generic-htaccess-redirect-www-to-non-www)

- The way you configured your PayPal account. For example, you shouldn't have to use their "Auto return" option as we already send them information about the notify URL so you should also test it without that option.
==&gt; Also, if you want your customer to be redirected based on the payment result, you should use "Cancel/Return url" options through your PayPal configuration page.

Kind regards,
Mohamed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTU5MC10aGUtam9vbWxhLXVzZXItaXMtbG9nZ2VkLW9mZi11cG9uLXJldHVybi1mcm9tLXBheXBhbD9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.119 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
