Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
anoopmb
/
payments
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
[fix] if redirect uri exists then automatically redirect the user
pull/2/head
Saurabh
6 anos atrás
pai
547863149c
commit
969303dc92
1 arquivos alterados
com
9 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+9
-0
payments/templates/pages/payment-success.html
+ 9
- 0
payments/templates/pages/payment-success.html
Ver arquivo
@@ -15,4 +15,13 @@
<style>
{% include "templates/styles/card_style.css" %}
</style>
<script>
frappe.ready(function() {
if('{{ frappe.form_dict.redirect_to or "" }}'){
setTimeout(function(){
window.location.href = '{{ frappe.form_dict.redirect_to }}';
}, 6000);
}
})
</script>
{% endblock %}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar