I have a HTTPS payment form. Upon successful submit, I use drupal_set_message() to say "thanks for buying", then redirect back to an HTTP page. It seems the drupal_set_message doesnt work in this scenario.

Possibly related to this using $_SESSION['messages'] to store the message.

Comments

familymangreg’s picture

Hi,

I have the same problem. If payment on my site fails, I need to send users back to a none-https page from an https page, and also set a message to be displayed once they arrive on the none-https page. The message simply isn't displayed. I've tried doing the same drupal_set_message and redirect from a different none-https page and all works fine.

Now I know this module needs patches, but I can't find a patch on the referenced page which works with my up-to-date 7.22 install.

Can anybody help us here?

Happy to provide any further information as required.

:wq
Greg.

familymangreg’s picture

Hi all,

I finally found this patch 961508-159.patch which seems to apply without error to my up-to-date Drupal 7.22 install.

However, having applied the patch, I'm still sometimes loosing session data when switching between http and https. It would appear that the switch from http to https work fine, but from https to http, I loose any data which has been added server side while working under https, in most browsers, except firefox!

I'm just completely lost here at the moment to be honest, this is costing me a massive amount of time that I can't afford on a client project, and I'm quite amazed that Drupal has got to 7.22 without reliable support for http/https within core. Don't get me wrong, all Drupal contributors do a great job, and I'm grateful for the secure pages module, but things just aren't working and we don't seem to be getting a lot of support in these issues at present.

Can anyone in the know please give a concise and up-to-date summary of securepages support for Drupal 7?

In addition, could the homepage be updated to more accurately/precisely details the pages needed for the latest Drupal release. I know I'm not the only one asking for this within the securepages issues.

There are two patches detailed on the homepage. I've only been able to apply the first of these to my 7.22 install. Might the second one help my problem? Could someone perhaps suggest a version of the second patch which will patch again 7.22.

:wq
Greg

kenorb’s picture

hanoii’s picture

astonvictor’s picture

Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks