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?
Hi there, I have tried your example of charging but getting no results on the client:
Meteor.call('chargeCard', stripeToken);
I'm only gettingundefined
returns no matter what I do: returning directly from thechargeCard
method, using afunction(err, res)
on callingchargeCard
or wrapping thestripe.charge
function call intoMeteor.wrapAsync()
So I haven't find any way to find out what happens on the server when callingchargeCard
. Where are my mistakes and what to do?