Cambios en formulario de registro de usuarios

This commit is contained in:
User
2025-10-28 09:16:58 -06:00
parent 6228abd586
commit c08c9618f4
11 changed files with 257 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
var apiKey = "hmngy-yxZHKAcUkSHiET17TlJ_v3qrbIo5JGMr";
var apiKey = "hmngy-TGFNKK1ZDpj7fUe41OOlh9k-CoYss53A";
function stripeTokenHandler(token) {
let form = document.getElementById("payment-form");
@@ -11,11 +11,11 @@ function stripeTokenHandler(token) {
document.addEventListener("DOMContentLoaded", () => {
fetch("http://127.0.0.1:8000/stripe/obtLavePublicaStripe", {
fetch("https://gateway.calidadbmasconsulting.com/api/obtLavePublicaStripe", {
method: "POST",
headers: {
"Content-Type": "application/json",
Accept: "application/json",
"Accept": "application/json",
},
body: JSON.stringify({ apiKey: apiKey }),
})
@@ -104,7 +104,7 @@ document.addEventListener("DOMContentLoaded", () => {
`;
fetch("http://127.0.0.1:8000/stripe/createPayment", {
fetch("https://gateway.calidadbmasconsulting.com/api/createPayment", {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded",