#sid mac - React Native Products+Customers
1 messages ยท Page 1 of 1 (latest)
Hi ๐
You're right, the SDK is designed to facilitate collecting payments. It's not really intended for any sort of Account admin interfaces.
However, if you were looking to build something like that you could just natively consume the Stripe APIs.
Thanks for the quick reply!
I will look into this, I remember using this originally and having a few errors, leading me to trying the SDK.
Will get more quantatative research and likely return another question to this thread.
And, to be clear, these actions would need to be occurring server-side, so any client interface you are building would need to make the request to your server which would then initiate the API call.
Since these require passing your API secret key in the header and clients are not secure enough to leave that info lying around.
true
At best I've created a separate node server that lists products and the app fetches from it. I was getting worried that it wouldn't be possible to write to Stripe from app through server, but I'm rethinking it now that you say it. Wouldn't know where to start, but it's just my being a node.js noob and getting input from a react-native app.
Honestly I just got started with Node.js myself so I could better help people here.
But our API docs and our Integration docs allow you to choose your server-side language so you can find snippets that are for node, like so:
https://stripe.com/docs/api/customers/create?lang=node
Here's a good one on Prices with the API: https://stripe.com/docs/products-prices/manage-prices?dashboard-or-api=api