#rotogamer

1 messages ยท Page 1 of 1 (latest)

solar oasisBOT
lethal bramble
#

Hello, what are your questions?

vale spruce
#

On the documentation:
https://stripe.com/docs/payments/accept-a-payment?platform=android&ui=payment-sheet&shell=true&api=true&resource=accounts&action=retrieve#androidsetup

On the "setup stripe" page, it mentions setting up the client-side, and the server-side.

1st) Is it necessary to have a server? or can Stripe be setup directly only for the android app?

2nd) If we had a server. What would be the preferable way to connect to Stripe?

  • on each App side (IOS/Android) to keep user data and payment data separate?
  • OR processing the payment on the server side (API) and transferring the result to the Apps?
cosmic skiff
#

Hello ๐Ÿ‘‹

1/ You'd need a server-side. Stripe API calls are made using secret API key which should only be used on the server-side. If you use it client-side then it is a security risk.

2/ I don't fully grasp the question. It depends on your usecase but ideal flow would be to create PaymentIntents server-side and confirm them client-side (given customer is around to complete the payment flow)

vale spruce
#

Ok ... I understand.

#

I'll have to dig-in on the Stripe documentation I guess

#

We are a start up, and we have a couple of apps (as usual: Droid & IOS), and I'm in the backend (API not web) and my 20 years of experience colleague (from backend) moved to another job.
Until now, Apps were implementing the Stripe payments, as my colleague instructed, but now, the Apps are saying that it has to be me, who implements the whole thing.

#

That's why I wanted to check with you first, because the API is the backbone of the whole project, so you can imagine the crazy amount of work I'm covering myself already. And, while I would love to learn how to implement Stripe payments (is in my checklist, lol), at this point this was the last thing I wanted to get involved with ๐Ÿ‘€

#

oh god! LOL

#

Thanks for your help! And happy new year!
I wish you a great one, but ... especially, ๐Ÿคญ , a non stressful one ๐Ÿคทโ€โ™‚๏ธ

cosmic skiff
#

NP! ๐Ÿ™‚ Happy to help
Good luck and Happy new year!!