tyler-johnson / stripe-meteor

A Meteor package containing Stripe.js, Node-Stripe, and Stripe Checkout.
https://atmospherejs.com/mrgalaxy/stripe
150 stars 44 forks source link

undefined charge result on client #50

Open quape opened 8 years ago

quape commented 8 years ago

Hi there, I have tried your example of charging but getting no results on the client: Meteor.call('chargeCard', stripeToken); I'm only getting undefined returns no matter what I do: returning directly from the chargeCard method, using a function(err, res) on calling chargeCard or wrapping the stripe.charge function call into Meteor.wrapAsync() So I haven't find any way to find out what happens on the server when calling chargeCard. Where are my mistakes and what to do?