Skip to content

Instantly share code, notes, and snippets.

@devjaime
Created April 2, 2021 15:27
Show Gist options
  • Select an option

  • Save devjaime/4aa74968ddb79509ba8951c572ea24df to your computer and use it in GitHub Desktop.

Select an option

Save devjaime/4aa74968ddb79509ba8951c572ea24df to your computer and use it in GitHub Desktop.
index.js importa los paquetes requeridos
const functions = require('firebase-functions');
const cors = require('cors')({ origin: '*' });
const { Client, Webhook, resources } = require('coinbase-commerce-node');
const coinbaseSecret = 'your-api-key';
const signingSecret = 'your-webhook-secret';
Client.init(coinbaseSecret);
const { Charge } = resources;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment