diff --git a/views/templates/front/payment_execution.tpl b/views/templates/front/payment_execution.tpl index d67cdc1..beeb0e7 100755 --- a/views/templates/front/payment_execution.tpl +++ b/views/templates/front/payment_execution.tpl @@ -89,6 +89,7 @@ } if(result.object === 'error'){ $('body').waitMe('hide'); + Culqi.close(); showResult('red',result.user_message); } @@ -136,6 +137,7 @@ } if(result.object === 'error'){ $('body').waitMe('hide'); + Culqi.close(); } } @@ -248,6 +250,7 @@ } if(result.object === 'error'){ $('body').waitMe('hide'); + Culqi.close(); showResult('red',result.user_message); }