develop #10

Merged
pablone merged 64 commits from develop into master 2024-04-22 11:35:55 +00:00
3 changed files with 10 additions and 1 deletions
Showing only changes of commit 3e383d0d28 - Show all commits

View File

@ -82,6 +82,7 @@ class PaymentServices {
})
}
if (type === "redsys") {
await redsysProviders.success(orderId)
return res.status(200).send({
data: {
message: "Payment success"

View File

@ -38,6 +38,14 @@ class RedsysProviders {
throw error;
}
}
async success(orderId) {
try {
return await db.order_confirm(orderId)
} catch (error) {
throw error
}
}
}
module.exports = new RedsysProviders();

View File

@ -65,7 +65,7 @@ export default defineComponent({
isPostalCodeLoading.value = false;
console.error(`FATAL ERROR ::: ${error}`);
} finally {
// console.log("click");
}
}