1

I'm using CiviCRM on Joomla. Under http Membership and Event Registration pages are displayed completely including Payment Options (pay later is enable and Standard Paypal).

Under https the Payment Options section does not display.

Any hints?

5
  • is your site and your civicrm.settings.php set up to use http or https by default?
    – petednz - fuzion
    Commented Sep 8, 2015 at 3:34
  • didn't know about civic.settings.php so the answer would be by default
    – Ray
    Commented Sep 8, 2015 at 4:15
  • I've been trying to set up CiviCRM using the Joomla backend. As far as I know I have configured things. But could have easily overlooked something.
    – Ray
    Commented Sep 8, 2015 at 4:21
  • Interestingly the format of the fields on the page changes as well. Under http the field names like last name display left of the corresponding entry field but with https the field label appears above. I went looking for css changes but couldn't easily locate them. Using JAPurity III by default.
    – Ray
    Commented Sep 8, 2015 at 4:23
  • I am probably not asking the right question, but i would not expect you to be able to pull up pages in both http and https, i would expect one to swop to the other hence I wonder if you have some problem upstream in terms of what your default is, ie http or https, and whether you then have your base url set to the right one
    – petednz - fuzion
    Commented Sep 8, 2015 at 5:29

1 Answer 1

1

My hunch is that CiviCRM is looking for an AJAX callback with an absolute URL. It'll go with what's in the Administer - System Settings - Resource URLs, which is in turn influenced by the base URL in civicrm.settings.php. The solution is to have the same URL, with https, be in effect across your entire site.

For a number of reasons, including potential problems with your session ending when you follow an absolute URL to http from https or vice-versa, you should have your site use a single canonical URL, with everything else redirecting to it. For example, you might decide that https://example.org is the proper URL. You should set up redirects in Apache/Nginx to have http://example.org, https://www.example.org, and http://www.example.org all send a visitor to https://example.org.

Read more at https://civicrm.stackexchange.com/a/3233/44

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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