All Projects → copleykj → meteor-stripe-sync

copleykj / meteor-stripe-sync

Licence: other
Meteor package to wrap Stripe API for synchronous style calls

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Deprecation Warning!

This package is deprecated in favor of using the standard Stripe package from NPM in conjunction with Meteor's Promise or async/await integration. You can read more about promises and async/await in this blog post.

Stripe Sync

A wrapper for Meteor style synchronous Stripe API calls.

###Notice### As of version 2.0.0 you will no longer need to manually add a package that includes the StripeAPI as it is now included due to the variability of stripe versions being used in those packages

Example Usage

Stripe = StripeSync(key);

try{
    var account = Stripe.account.retrieve()
}catch(error){
    throw new Meteor.Error(1001, error.message);
}

Wrapped API

This package wraps the methods below. These are all the methods that are listed in the stripe-node github documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].