Skip to content
GitLab
Projects Groups 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
  • Issues 1,268
    • Issues 1,268
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #1997
Closed
Open
Issue created Sep 03, 2020 by kcristiano@kcristianoDeveloper

PayPal Standard redirect fails on WordPress

Starting in CiviCRM 5.28 the following occurson any contribution or event page - shortcode, cleanurl, ugly url

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

image

Return URL is:

https://wpcv.test/civicrm/?civiwp=CiviCRM&q=civicrm%2Fcontribute%2Ftransact&_qf_ThankYou_display=1&qfKey=1eeb07cdbc6ad45b89ca33a18ef246354bfffba1b89c76989d57f74685b5412a_1724

Contribution completes in CiviCRM, but the user is stuck on an error page

From Log:

Sep 03 11:16:07  [info] $IDS Detector Details = Array                                                                                                                            
(                                                                                                                                                                                
    [0] => Array                                                                                                                                                                 
        (                                                                                                                                                                        
            [name] => custom                                                                                                                                                     
            [value] => {"module":"contribute","contactID":"202","contributionID":160,"contributionPageID":1}                                                                     
            [page] => /civicrm/?civiwp=CiviCRM&q=civicrm%2Fcontribute%2Ftransact&_qf_ThankYou_display=1&qfKey=1eeb07cdbc6ad45b89ca33a18ef246354bfffba1b89c76989d57f74685b5412a_1724 
            [userid] =>                                                                                                                                                          
            [session] => 59k48kf3tamh8oh6q1fo8220al                                                                                                                              
            [ip] => x.x.x.x                                                                                                                                                 
            [reaction] => 0                                                                                                                                                      
            [impact] => 32                                                                                                                                                       
        )                                                                                                                                                                        
                                                                                                                                                                                 
)                                                                                                                                                                                
                                                                                                                                                                                 
                                                                                                                                                                                 
Sep 03 11:16:07  [error]                                                                                                                                                         
$Fatal Error Details = array(3) {                                                                                                                                                
  ["message"]=>                                                                                                                                                                  
  string(627) "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 acce
ssing 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.o
rg or a domain alias like http://myotherexample.org.<br /><br />Error type: Could not find a valid session key."                                                                 
  ["code"]=>                                                                                                                                                                     
  NULL                                                                                                                                                                           
  ["exception"]=>                                                                                                                                                                
  object(CRM_Core_Exception)#2525 (10) {                                                                                                                                         
    ["errorData":"CRM_Core_Exception":private]=>                                                                                                                                 
    array(1) {                                                                                                                                                                   
      ["error_code"]=>                                                                                                                                                           
      int(0)
    }
    ["cause":protected]=>
    NULL
    ["_trace":"PEAR_Exception":private]=>
    NULL
    ["message":protected]=>
    string(627) "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 cookie[1270/99292]
re 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 ac
cessing 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."
Sep 03 11:16:09  [debug] PayPalIPN: Received (ContactID: 202; trxn_id: XXXXXXXXX).

Sep 03 11:16:09  [info] Contribution record updated successfully

Sep 03 11:16:09  [info] Receipt sent

Sep 03 11:16:09  [info] Success: Database updated

The session Id above matches the session ID in my browser console.

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