Open syntaxerror opened 9 years ago
Try changing secretkey to hash in the following lines: https://github.com/ePay/zencart/blob/master/includes/modules/payment/epaywindow.php#L168 https://github.com/ePay/zencart/blob/master/includes/modules/payment/epaywindow.php#L174
Sorry, I should have mentioned it. But I already tested that with no help.
Also tested changing it in the following lines: https://github.com/ePay/zencart/blob/master/ext/modules/payment/epay/callback.php#L3 https://github.com/ePay/zencart/blob/master/ext/modules/payment/epay/accept.php#L4
PS! This line looks like a bug anyhow, even if it doesn't influence on this case: https://github.com/ePay/zencart/blob/master/ext/modules/payment/epay/accept.php#L10
I remember now. Zencart blocks request containing these GET parameters. Therefore, I need to map them to other parameters and remove them from the querystring before Zencart validates the request.
Try adding a var_dump($_GET) here: https://github.com/ePay/zencart/blob/master/includes/modules/payment/epaywindow.php#L176
If your uncomfortable sending the result here you can send it to support@epay.eu
var_dump($_GET) result:
array(12) { ["customerid"]=> string(1) "1" ["txnid"]=> string(8) "35059541" ["orderid"]=> string(5) "47403" ["amount"]=> string(6) "253800" ["date"]=> string(8) "20141125" ["time"]=> string(4) "1852" ["txnfee"]=> string(1) "0" ["paymenttype"]=> string(1) "4" ["cardno"]=> string(16) "555555XXXXXX5000" ["secrethash"]=> string(32) "b47bcea44610992ab68fec16bbeeb103" ["epaycurrency"]=> string(3) "578" ["main_page"]=> string(5) "index" }
PS! Note that I have also tested changing 'secretkey' into 'secrethash' with no luck.
Can you please e-mail me the MD5 key? You can reach me at support@epay.eu
If MD5 key is activated the order will not be finalized. Order status will not be updated, info about payment will not be added, and customers_basket will not be dropped.