anandsiddharth / laravel-paytm-wallet

Integrate paytm wallet in your laravel application easily with this package. This package uses official Paytm PHP SDK's.
MIT License
92 stars 40 forks source link

Invalid checksum #28

Closed devendrakavya closed 5 years ago

devendrakavya commented 5 years ago
public function response(){
    $checksum = $this->request->get('CHECKSUMHASH');
    if(verifychecksum_e($this->request->all(), $this->merchant_key, $checksum) == "TRUE"){
        return $this->response = $this->request->all();
    }
    throw new \Exception('Invalid checksum');
}

public function getResponseMessage() {
    return @$this->response()->RESPMSG;
   }

public function api_call($url, $params){
    return callAPI($url, $params);
}

public function api_call_new($url, $params){
    return callAPI($url, $params);
}

}

anandsiddharth commented 5 years ago

need more elaboration on this. possible issue might be incorrect keys.

anandsiddharth commented 5 years ago

closing the issue .

Reason : No Activity

devendrakavya commented 5 years ago

still not resolve this issue. dont close it

sunildeveloper07 commented 5 years ago

I am getting same error. Invalid checksum. How I can send checksum with post?