apologies beforehand for my naïveté. I started learning Obj. C about six weeks ago so I'm very new to iOS development, a lot of things are not very obvious to me still.
I am building my second app using Parse. This time it is an e-com app so would like to use Apple Pay with Stripe as the payment provider. Would like to use Parse as the server for Stripe.
I have already linked (I think?) Cloud Code to my Parse account's app (I guess it's all in JavaScript? so that was pretty confusing for me).
But I'm not even sure where to start with the initial Parse/Stripe documentation (https://parse.com/docs/cloud_modules_guide#stripe). Where am I supposed to put the following code:
var Stripe = require('stripe');
Stripe.initialize('mySecretKey');
As Lyndsey Scott noted, I could see in Parse's example app that the code goes into main.js.