#pez_best-practices

1 messages · Page 1 of 1 (latest)

shy tideBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1216665676274729043

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

thin gardenBOT
grizzled lake
hollow flare
#

Yes but on stripe apps video it says once a user installs your app there is no need for oauth. In this video https://m.youtube.com/watch?v=EfLHVQbRLEE&list=PLy1nL-pvL2M5a4QnZYXfzZSdHC9EO8kS1&index=3&t=2781s&pp=iAQB at 44mins they say that. Is this not true then. I am building a store front app so my question is how I would build that and how api keys are dynamically passed

Chapters

00:00:00 start of countdown
00:14:16 Livestream start
00:16:08 Demo: getting started with Stripe Apps
00:18:58 Demo: Orlando's Salesforce app
00:33:25 Live Q & A
#Stripe #Payments

▶ Play video
#

How would the user of my api then pass their api keys to do payment intents on shop. I might also include id check in the app but I am assuming this also requires their own api keys

#

User of my app*

grizzled lake
thin gardenBOT
hollow flare
#

No but this requires copying and pasting an api key

#

Can you please install reetail app as an example . There is no copying and pasting needed. I just install the app and then I can set up my store to accept payments

pliant stone
hollow flare
#

How though? Let’s say I want the app do id checks for its customers. How does the architecture look. All these stripe services require api keys to build in the server. Do you understand what I mean? Webhooks for example do not pass api keys. The event account.application.authorized event happens when a user installs the app. I need their api keys in order to setup other stripe services for the app. Payment intent and id check

pliant stone
#

I need their api keys in order to setup other stripe services for the app
you don't though.

#

your server just has your own account's API key. When a user installs your app you'll be notified of that and the account ID acct_xxx of the user's Stripe account who installed it. That's all you need to then make API calls on their behalf(per the documentation above).

hollow flare
#

Can I do an id check api call with this too?

pliant stone
#

what is an "id check api call"?

hollow flare
#

Do you have an example of code of how I make api call just using acct-xxx

hollow flare
# pliant stone what is an "id check api call"?

the app will be store front for products and rentals. If it’s a rental I would like the customer to do an id check too via the app. So you are saying I can make an api call just by the acct of the user stripe account without needed their api keys