another update:
in CPI Administration panel you provide return URL which in my case is over HTTPS. However when the page actually redirects after a successful payment it is done over HTTP.
the following code change in \\includes\modules\payment\epdq.php is needed:
change from
Code:
$options = array(
'epdqdata' => $strEPDQ[1],
'returnurl' => zen_href_link('epdq_cpi_handler.php', '', 'NONSSL',false,false,true),
'merchantdisplayname' => MODULE_PAYMENT_EPDQ_DISPLAY_NAME,
'supportedcardtypes' => $supportedcardtypes,
'collectdeliveryaddress' => $collectdeliveryaddress,
'email' => $order->customer['email_address']
);
to this:
Code:
$options = array(
'epdqdata' => $strEPDQ[1],
'returnurl' => zen_href_link('epdq_cpi_handler.php', '', 'SSL',false,false,true),
'merchantdisplayname' => MODULE_PAYMENT_EPDQ_DISPLAY_NAME,
'supportedcardtypes' => $supportedcardtypes,
'collectdeliveryaddress' => $collectdeliveryaddress,
'email' => $order->customer['email_address']
);
all i have left to do is figure out how to include our secure logo in the epqd payment page instead of the text.
I have tried without success:
1. In admin page under payment\epqd\Display Name add full https link to image instead of text
2. In \\includes\modules\payment\epdq.php added variable $cpi_logo which has the entire HTTPS link, then added $params .= '&cpi_logo=' . $cpi_logo;
no go so far
Bookmarks