Created
August 13, 2020 03:06
-
-
Save gusLopezC/0b6db8bda59e64c155aa064fd58cc6b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var sucess_callbak = function(response) { | |
| var token_id = response.data.id; | |
| console.log("Su token es " + token_id); | |
| $('#token_id').val(token_id); | |
| // $('#payment-form').submit(); | |
| var data = $("#payment-form").serializeArray(); | |
| console.log(data); | |
| $.ajax({ | |
| type: 'POST', //aqui puede ser igual get | |
| url: 'procesos/crearPago.php', //aqui va tu direccion donde esta tu funcion php | |
| data: data, //aqui tus datos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment