Skip to content

Instantly share code, notes, and snippets.

[ { id: 'b4a459e9-fff4-47bd-8503-ce824a55c677',
type: 'cart_item',
product_id: 'a0fc2e11-02cf-4a74-ab9b-b90eabfe63e7',
name: 'HL Fork',
description: '{"size":"","color":""}',
sku: 'FK-9939',
image: { mime_type: '', file_name: '', href: '' },
quantity: 5,
manage_stock: false,
unit_price: { amount: 229, currency: 'USD', includes_tax: true },
require('dotenv').config()
const chai = require('chai');
const expect = chai.expect;
const MoltinGateway = require('@moltin/sdk').gateway
const Moltin = MoltinGateway({
client_id: process.env.MoltinClientId,
client_secret: process.env.MoltinClientSecret

Keybase proof

I hereby claim:

  • I am matthew1809 on github.
  • I am matthew1809 (https://keybase.io/matthew1809) on keybase.
  • I have a public key ASCxEIDTvJJ0mXRlyPxyWCPDEatgmYQv6DVQ01yFcocjsAo

To claim this, I am signing this object: