Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Paypal Returns Customer To Login Screen Rate Topic   - - - - -

 

Posted 16 September 2021 - 11:10 AM #1

Hello,
 
Has anyone else experienced difficulties with the customer being returned to the login screen following a successful PayPal payment?
 
CS-Cart version is 4.9.3.SP1
 
1) We installed the PayPal Payments add-on (the standard one that ships with CS-Cart).
 
2) We configured a PayPal payment method (just PayPal standard)
 
3) We proceed through checkout and completed payment within PayPal (test mode / sandbox)
 
4) We click "Return to Merchant" but are returned to the customer login screen when we would have expected an order confirmation?
 
Looking at the Apache logs I can see an initial request to the order confirmation page:
 
GET /index.php?dispatch=checkout.complete&order_id=1234 HTTP/1.1" 302
 
But we can see that 302 redirects to the login screen:
 
GET /index.php?dispatch=auth.login_form&return_url=index.php%3Fdispatch%3Dcheckout.complete
 
Is this a known bug, or working as intended? Any assistance appreciated.
 
HappyFruitBat


 
  • Triplets
  • Senior Member
  • Members
  • Join Date: 23-Sep 08
  • 1188 posts

Posted 07 February 2022 - 05:56 PM #2

Did you ever resolve this. We are having similar problem.



 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 260 posts

Posted 12 May 2022 - 01:03 PM #3

Did anyone found a solution to this problem? Is this a known bug? Is there any fix for this?

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22818 posts

Posted 13 May 2022 - 05:58 AM #4

Yes, there is a bug there. And it is not related with PayPal only. We faced this issue with different payment processors. But as far as I know, CS-Cart still did not confirm it


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 260 posts

Posted 13 May 2022 - 06:41 AM #5

Yes, there is a bug there. And it is not related with PayPal only. We faced this issue with different payment processors. But as far as I know, CS-Cart still did not confirm it


What are we doing until cs cart confirm it? Is there a solution? Even costumers that checkout as guest return to login page and not in the thank you page. Is this problem related to new cookie policy that Chrome has? (Samesite=None and secure)

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22818 posts

Posted 13 May 2022 - 01:26 PM #6

Try to contact support team so that we can examine the issue on your server directly. It will help to confirm the issue


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 260 posts

Posted 18 May 2022 - 11:15 AM #7

I checked the session.php file of the latest version and it seems to have the variables for the samesite cookie that Chrome needs. Change the variables to samesite=none and secure seems to return customer to the thank you page.

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22818 posts

Posted 18 May 2022 - 02:05 PM #8

Do you mean the app/Tygh/Web/Session.php file?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 260 posts

Posted 18 May 2022 - 03:21 PM #9

Υεs the file in this directory.

 
  • thecigarhut
  • Advanced Member
  • Members
  • Join Date: 07-Dec 21
  • 53 posts

Posted 18 May 2022 - 10:29 PM #10

I have noted recently that a few of the main add-on developers' websites do the same thing when paying with PayPal. On returning from payment you have to log in to their stores to get to the thank you page.

@Simtech, @soft-sold, @Cart-Power to name a few, you guys should fix this on your sites and pressure CS-Cart Devs to get this bug fixed ASAP


osCommerce user since 2005 now upgrading to CS-Cart Ultimate.


 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 260 posts

Posted 19 May 2022 - 09:15 AM #11

This is due to new Chrome cookie policy that the cookie must have the samesite=none and secure variables. All the other explorers handle it without problem.

 
  • thecigarhut
  • Advanced Member
  • Members
  • Join Date: 07-Dec 21
  • 53 posts

Posted 19 May 2022 - 10:40 AM #12

This is due to new Chrome cookie policy that the cookie must have the samesite=none and secure variables. All the other explorers handle it without problem.

 

I use MS Edge but that is based on Chrome so perhaps it also has the new policy


osCommerce user since 2005 now upgrading to CS-Cart Ultimate.