#BastianInuk - ES module stripe init

1 messages · Page 1 of 1 (latest)

burnt vector
#

Good question, I am not that familiar with the differences here but I am looking in to it. Does that code not work for you or are you simply looking for a more familiar syntax?

lilac rapids
#

I'm simply looking for a more familiar syntax as well as typing support

burnt vector
#

Apologies the server has gotten a bit busy and I am jumping between threads but I am still looking in to this.

vast trout
#

Hey, I use import for stripe, you can do the following

import Stripe from Stripe

const stripeClient = new Stripe("my_secret", {apiVersion: "version you want"})