Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 1k
    • Issues 1k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #2059

PayPal Standard redirect fails on Drupal 7 using Chrome

This is the Drupal version of #1997 (closed) which is for WordPress

Reproduction steps

  • Make a paid event using PayPal Standard
  • Click continue
  • Go To PayPal
  • Make payment
  • Return to merchant (either via auto return or clicking the return to merchant button)

Current behaviour

The return URL is

https://domain name/civicrm/event/register?_qf_ThankYou_display=1&qfKey=4d60370af572a747511fa134f1a1cf7abea39b279fd75ce95dae2f762be52dba_8277

You get an error page:

CRM_Core_Exception: We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site administrator for assistance.<br /><br />Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.<br /><br />Error type: Could not find a valid session key. in /home/<username>/public_html/sites/all/modules/civicrm/CRM/Core/Controller.php on line 849

Exception trace
#	Function	Location
0	CRM_Core_Controller->invalidKeyCommon()	/home/<username>/public_html/sites/all/modules/civicrm/CRM/Core/Controller.php:849
1	CRM_Core_Controller->invalidKeyRedirect()	/home/<username>/public_html/sites/all/modules/civicrm/CRM/Event/Controller/Registration.php:46
2	CRM_Event_Controller_Registration->invalidKey()	/home/<username>/public_html/sites/all/modules/civicrm/CRM/Core/Controller.php:308
3	CRM_Core_Controller->key('CRM_Event_Contro…', true, false)	/home/<username>/public_html/sites/all/modules/civicrm/CRM/Core/Controller.php:190
4	CRM_Core_Controller->__construct('Event Registrati…', 'null')	/home/<username>/public_html/sites/all/modules/civicrm/CRM/Event/Controller/Registration.php:25
5	CRM_Event_Controller_Registration->__construct('Event Registrati…', true, 'null', null, 'false')	/home/<username>/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:307
6	CRM_Core_Invoke::runItem(Array)	/home/<username>/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:68
7	CRM_Core_Invoke::_invoke(Array)	/home/<username>/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:36
8	CRM_Core_Invoke::invoke(Array)	/home/<username>/public_html/sites/all/modules/civicrm/drupal/civicrm.module:454
9	civicrm_invoke('event', 'register')	/home/<username>/public_html/includes/menu.inc:527
10	menu_execute_active_handler()	/home/<username>/public_html/index.php:21
11	{main}	 

 Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site administrator for assistance.<br /><br />Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.<br /><br />Error type: Could not find a valid session key.

Expected behaviour

Should return user to a working page in CiviCRM

Environment information

  • Chrome Version 84.0.4147.105
  • CiviCRM:5.28.3
  • PHP: 7.3

Comments

Issue is OK in Edge

Edited Sep 23, 2020 by mikantchap
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking