Skip to content

Instantly share code, notes, and snippets.

@rdpacheco
rdpacheco / stripe.js
Last active March 31, 2017 15:28
Examples of trying to create a new subscription with no trial
function create(stripeId, done) {
stripe.subscriptions.create(
{
customer: stripeId,
trial_end: 'now'
},
done
);
};
function update(stripeId, subscriptionId, done) {