Cambios en formulario de registro de usuarios
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user