Skip to content

grovelabs/meteor-stripe-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stripe for Meteor

####Stripe - Payment infrastructure for the Internet

This package includes the Stripe npm package .

Installation

meteor add grove:stripe

Usage

Client

The same as in the docs. Example for reference:

Stripe.setPublishableKey('YOUR_PUBLISHABLE_KEY');

Server

To initiate a Stripe object:

var Stripe = StripeAPI('YOUR_SECRET_API_KEY');

And then use it:

Stripe.charges.create({
	amount: 1000,
	currency: "USD",
	card: {
		number: "4242424242424242",
		exp_month: "03",
		exp_year: "2014"
	}
}, function (err, res) {
	console.log(err, res);
});

About

(DEPRECATED) Stripe npm package for Meteor

Resources

Stars

Watchers

Forks

Packages

No packages published