I am using stripe for payments in my app, I want to create a receipt document in my own database after a succesful transaction
My code:
Meteor.method
You might want to take a look at the docs for http://docs.meteor.com/#/full/meteor_wrapasync.