This is the NSDictionary that I'm passing in when calling PFCloud
this is my parse cloud code, and it always crashes when I try to charge the card. I'm sure that I have the token, and I think the error is coming from the "amount" when I tried to set it. I used "request.params.cost" and "item.get('cost') and even just put in a value like what I have in the image, they still give me errors
I'm not sure where I did wrong. I followed the ParseStore project and read through all the code. I just don't get why it always crashes when it tries to charge the credit card... I have the correct "stripe secret key" as well.
Looks like your code is right. I was running into the same issue and reported it to Facebook.
Next time, I recommend you post more of your code as formatted text, as you will get more search engine hits :)