Secpay, Actinic & SSL lameness
Tuesday, October 30th, 2007Currently when enabling SSL on shopping cart pages in Actinic, Actinic will no longer be able to link up Secpay transactions to orders.
After numerous hours debugging, I figured out what was going wrong.. when SSL is enabled on shopping cart pages, Actinic provides Secpay with HTTPS callbacks - as you’d expect. It also sets a parameter which Secpay needs if the callbacks are HTTPS. However for some reason at this moment in time Secpay won’t use the HTTPS callbacks - the request is never sent to the server
I don’t know why this is happening, I even used the alternative method of informing Secpay that the callback is HTTPS - via the ‘options’ parameter.. no dice
The solution I’m currently using is to modify the ‘OCCSecPayScriptTemplate.pl’ file, inserting a line after the following block of code:
# to enable Diners cards, remove the ‘#’ from the start of the 2 lines below
#$sOptions .= ‘,’ if ($sOptions ne ”);
#$sOptions .= ‘diners=true’;
the line to change the callback URLs back to HTTP is:
$::sCallBackURLAuth =~ s/https/http/;
