Skip to content

Commit

Permalink
set repspnse
Browse files Browse the repository at this point in the history
  • Loading branch information
Anand Siddharth committed Nov 27, 2018
1 parent ad88b66 commit 76467b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/PaytmWalletProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct(Request $request, $config){
public function response(){
$checksum = $this->request->get('CHECKSUMHASH');
if(verifychecksum_e($this->request->all(), $this->merchant_key, $checksum) == "TRUE"){
return (object) $this->request->all();
return $this->response = $this->request->all();
}
throw new \Exception('Invalid checksum');
}
Expand Down

0 comments on commit 76467b1

Please sign in to comment.