2

The CiviCRM (4.7.14) membership sign-up page for our website will not always connect to Paypal (standard), our payment processor. Sometimes it works, mostly not. In Firefox, the error message is: "The page isn’t redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies." I have checked settings in CiviCRM and with Paypal, and everything looks OK as far as I can tell. Looking for help to get this issue fixed.

Our site is on Joomla 2.5.20 and appears to be up to date. To the best of my knowledge, the connect to Paypal worked fine until about 6 months ago. Since then, CiviCRM was updated to 4.7.14. The problem is not unique to Firefox; complaints also come from people using Edge, Chrome, Safari in different countries all around the world. Doesn't seem to be a difference for a logged-in user or non-logged-in visitor.

  • Welcome to StackExchange! This looks like a good question. You could improve it by adding the version of the CMS you are using (e.g. Drupal, WordPress or Joomla). This may make a difference to some answers. – William Mortada Mar 7 '17 at 17:20
  • Has it ever worked, maybe on a previous version? Can you tell what url it's trying to go to? Does that url work in a new window by itself? If it's a browser caching or cookie thing, it might work in a private session? – Paul-Tahoe Mar 7 '17 at 17:58
1

This seems like it might be your CiviCRM not having a single canonical URL.

CiviCRM form processing requires a canonical URL to be set. If your site is configured to use http://example.org and the visitor lands on http://www.example.org, CiviCRM's form processing will redirect them to the configured base URL part way through the contribution flow and fail (because the user's cookies no longer are supplied).

I can't load the URL you've linked to, but if I start the Join process at the first URL below, I am able to get to PayPal. If I start at the second URL below, I see the "too many redirects" notice you describe.

  • http://isebiogeochemistry.com/index.php/iseb-membership
  • http://www.isebiogeochemistry.com/index.php/iseb-membership

Finding your site via Google ("ise biogeo chemistry") leads me to the latter hostname.

To prevent this (mis) behaviour, both the protocol (http vs https) and the hostname (example.org vs www.example.org) must be consistent (ideally, enforced with a redirect from ANY wrong URL to the single "correct" one).

How to configure canonical URLs varies between webserver and CMS, so I won't document that here. You'll find plenty of good existing docs with a search for eg "(your CMS) + canonical URL plugin", or "(your webserver) canonical URL".

Some similar questions on CiviCRM Stack Exchange:

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.