develop #10

Merged
pablone merged 64 commits from develop into master 2024-04-22 11:35:55 +00:00
5 changed files with 2 additions and 7 deletions
Showing only changes of commit 208ae1f9b4 - Show all commits

View File

@ -4,7 +4,6 @@ class ContactController {
async Create(req, res) {
try {
const { name, phone, email, message } = req.body;
console.log(name, phone, email, message);
const contact = await db.contact_Request(name, phone, email, message);
return res.status(200).send({

View File

@ -7,7 +7,6 @@ const {
class RedsysProviders {
async New(orderFk, price) {
jsolis marked this conversation as resolved Outdated

para que se utiliza este fichero .text¿?

para que se utiliza este fichero .text¿?

Para nada, es un backup

Para nada, es un backup
console.log("Chama");
try {
const redsys = new Redsys({
secretKey: 'sq7HjrUOBfKmC576ILgskD5srU870gJ7',
@ -28,7 +27,6 @@ class RedsysProviders {
const form = redsys.redirectPetition(obj)
console.log(form);
return true
} catch (error) {
throw error;

View File

@ -5,7 +5,6 @@ const {
class RedsysProviders {
async New(orderFk, price) {
console.log("Chama");
try {
const MERCHANT_KEY = "sq7HjrUOBfKmC576ILgskD5srU870gJ7";
const redsys = new RedsysPos(MERCHANT_KEY);
@ -22,7 +21,6 @@ class RedsysProviders {
errorURL: `${process.env.BASE_URL}/checkout/error`
});
console.log(obj);
const result = redsys.makePaymentParameters(obj);
return ""
} catch (error) {

View File

@ -30,7 +30,7 @@ async function orderData_put(jsonOrderData) {
if (err) {
console.error(err);
} else {
console.log('Result:', results);
}
});
return rows;

View File

@ -4,7 +4,7 @@ export const useTextInputStore = defineStore("text-input", () => {
const dedication = ref("");
function handleDedicationSubmit() {
console.log(dedication);
jsolis marked this conversation as resolved Outdated

no se utiliza

no se utiliza
}
return {