D
Deno

help

"https://esm.sh/mercadopago@1.5.15" Is not workin on deploy

Ffro.profesional6/2/2023
"https://esm.sh/mercadopago@1.5.15" Is not workin on deno deploy, any clues? it works on local but on prod it hans wen using
Ffro.profesional6/2/2023
GitHub
[Bug]: I had a project that is not working out of nowhere · Issue ...
Problem description Playground project timing out Steps to reproduce Go to playgrand Try consume https://dan-hono.deno.dev/mercadopago Expected behavior Shoul return response, its and skd for http ...
Ffro.profesional6/2/2023
It worked manally, probalby not deno problem
const headers = new Headers()
headers.append("Authorization", `Bearer ${token}`)
headers.append("Content-Type", "application/json")

const preferenceFetch = await fetch("https://api.mercadopago.com/checkout/preferences", {
method: "POST",
headers,
body: JSON.stringify(preference)
})
const headers = new Headers()
headers.append("Authorization", `Bearer ${token}`)
headers.append("Content-Type", "application/json")

const preferenceFetch = await fetch("https://api.mercadopago.com/checkout/preferences", {
method: "POST",
headers,
body: JSON.stringify(preference)
})
GGhabbw9/21/2023
Hi! are you latinoamerican? I'm from Argentina, and I'm trying to use mercadopago in my Deno Fresh project... but it is so hard, all tutorials are for Nodejs ... I tried using IA assitance but I'm stuck, help this rookie
Ffro.profesional9/21/2023
Yes, it did work but I switched to STRIPE You can always use the HTTP API or now that Deno deploy supports npm specifiers. Example npm:mercadopago What issues are you having?

Looking for more? Join the community!