Exploring the possibilities of using the Stripe API to incorporate customer data through plain JavaScript has left me in a bind.
An absence of Javascript examples in the official Stripe Docs adds an extra layer of complexity. Check out the documentation here.
The aim is to utilize Ajax POSTS for this process.
Here are the questions that arise:
a) Where should I place my api key?
b) How can I efficiently send data and where precisely should it be inserted into the script?
c) What specific parameters need to be utilized?