Histórico

EXIBINDO RESPOSTAS:

Avatar discord do usuario .gywen

.gywen

Ver no Discord

coloca o certificado la.
instala via npm o path>
e faz algo mais ou menos assim:

const fs = require('fs');
const path = require('path');
const https = require('https');

const BASE_URL = 'https://pix.api.efipay.com.br/';
const BASE_URL_H = 'https://pix-h.api.efipay.com.br/';
const CERT_PATH = ../certs/producao-0000000.p12;

const cert = fs.readFileSync(
path.resolve(__dirname, CERT_PATH)
);

Avatar discord do usuario .gywen

.gywen

Ver no Discord

lembra de mandar o comando 'firebase deploy --only functions'