Skip to content

Commit

Permalink
Merge pull request #22 from culqi/guilleroberts-culqi-patch-close
Browse files Browse the repository at this point in the history
Update payment_execution.tpl - fix culqi.close on error
  • Loading branch information
guilleroberts-culqi authored Jul 14, 2021
2 parents 7e90166 + 9ec95c3 commit 9736d1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions views/templates/front/payment_execution.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
}
if(result.object === 'error'){
$('body').waitMe('hide');
Culqi.close();
showResult('red',result.user_message);

}
Expand Down Expand Up @@ -136,6 +137,7 @@
}
if(result.object === 'error'){
$('body').waitMe('hide');
Culqi.close();
}
}

Expand Down Expand Up @@ -248,6 +250,7 @@
}
if(result.object === 'error'){
$('body').waitMe('hide');
Culqi.close();
showResult('red',result.user_message);
}
Expand Down

0 comments on commit 9736d1a

Please sign in to comment.