Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Hibar3 authored May 21, 2018
1 parent a8aa446 commit ee33096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Normal Integration/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ app.post('/returnurl', urlencodedParser, function(req, res){
if(skey != key1){
status = -1; // Invalid transaction
console.log('Invalid');
// failure action. Write your script here .....
}else
{
console.log('Approved');
//Write your script here .....
}

//If payment success
Expand Down

0 comments on commit ee33096

Please sign in to comment.