#hndk-stripe-customers

1 messages ยท Page 1 of 1 (latest)

pliant dome
#

Hey there ๐Ÿ‘‹ bear with me as there is quite a bit to unpack here.

alpine blaze
#

No problem at all! Sorry for asking many questions at once.

deft cloud
#

Hey ๐Ÿ‘‹ , stepping in here

#

Can you clarify what OAuth connection you are looking to do here?

alpine blaze
#

We do have a server, but we were investigating if a client-only approach would work for us. In the end, we would need to match our users with Stripe customers. We thought oauth might be able to help in that scenario.

Perhaps I have some misconceptions. Just to clarify: Users should/would not have to visit Stripe to see their payment history, for example. Stripe is just for the developers to use, right?

deft cloud
#

So to clarify on our language here, these users are only potentially making payments or are they taking payments as well?

alpine blaze
#

I see! No, users won't be taking payments. They would pay us for a new feature.

deft cloud
#

Thank you. Just making sure. So Stripe does not have an OAuth solution for this. Let me check in to your asks again I will get back to you in a minute

alpine blaze
#

Thank you! Every bit helps a lot. I'm currently checking Sessions.

deft cloud
#

So yes, in either case Checkout will create a Customer object that you should attach to your own customer records

#

If you want to utilize a returning Customer with checkout, you will need to use the server side call

#

And what purchase history info are you looking to retrieve here?

alpine blaze
#

I believe it would be good for users to see what payments they did. A call to the payment intents list using that customer ID would work I believe.

#

This does need to be on our server, as the secret key is required it seems.

deft cloud
#

And yes that call would be on your server

alpine blaze
#

Thank you for everything!

#

I appreciate your help a lot. We can close this thread. I'll come back and open another one if I have other questions.

deft cloud
#

Awesome! Glad we could help