0

We can't seem to get CiviEvent to work with a user's PayPal account. All works well if the user enters a CC# on our site, but nothing works if the user tries to use their PayPal account. When PayPal sends the user back to our site, the URL fails to resolve, so the user gets "We can't load the requested web page ..."

I can see from the logs that this seems to correspond to a CiviCRM error: Could not find valid value for id. Sure enough, there is no id in the URL we receive from PayPal.

Is there a setting on our end or PayPal's that I'm missing? Some way to get PayPal to use our event id?

I'm now only running the 'Clean-up Temporary Data and Files' once a day, but I still get the error frequently. I'd be grateful for any other suggestions.

  • Can you add CiviCRM version your site using> – Pradeep Nayak May 9 at 18:36
  • Good point: I had been getting the error with CiviCRM 5.9, but upgrading to 5.13 did not make it go away. – Mike Steigerwald May 9 at 19:02
  • 3
    Can you check if you have a schedule job enabled for 'Clean-up Temporary Data and Files' and how often it is executed? – Pradeep Nayak May 9 at 19:36
  • I just executed 'Clean-up Temporary Data and Files' for the first time. Now, the error seems to be gone! – Mike Steigerwald May 9 at 22:08
  • 3
    This error usually happens when you have cron job that runs this job every hour or minutes. This job clears the session and hence when you come back from paypal CiviCRM doesn't find valid session. So make sure you run this job once in a day – Pradeep Nayak May 9 at 22:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.