Skip to content

Commit

Permalink
Merge pull request #791 from DeveloperMetal/hotfix-payment-success-delay
Browse files Browse the repository at this point in the history
hotfix(payment): payment success delay
  • Loading branch information
DeveloperMetal authored Oct 25, 2021
2 parents c6cb187 + 9d16228 commit af0bd59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frappe/templates/pages/integrations/payment-success.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
<script>
frappe.ready(function() {
if('{{ frappe.form_dict.redirect_to or "" }}'){
setTimeout(function(){
window.location.href = '{{ frappe.form_dict.redirect_to }}';
}, 4000);
window.location.href = '{{ frappe.form_dict.redirect_to }}';
}
})
</script>
Expand Down

0 comments on commit af0bd59

Please sign in to comment.