Hi Admin,
Please help me out in understanding the code below and develop new extension required for me.
This i found it it 2checkout extension controller page.
what is the use of this? can i modify it and use as checksum validation send by a payment gateway?
// hash check
if (!md5($this->request->post['sale_id'] . $this->config->get('ccavenue_account') . $this->request->post['invoice_id'] . $this->config->get('ccavenue_secret')) == strtolower($this->request->post['md5_hash'])) {
exit;
}