Card payment integration for applications

Hi friends,

In my project (Android/iOS), I need to integrate a direct card payment system for services and goods, processing and callbacks, for example, payment on Uber App, etc.


Can be this done? Can you guys, recommend third-party services for this implementation?

P.S: The app is only for mobile platforms Android/iOS.
Thanks in advance!

I’d recommend Stripe. Assuming of course you’re only talking about physical, real-life goods and services. Any digital goods need to go through Apple/Google’s IAP systems I believe.

2 Likes

I also recommend stripe having used it for a few client projects now, its pretty easy to integrate.

As @PraetorBlue said already, it is only valid for physical goods and real life services, anything digital must go through IAP and is subject to the IAP % cut, or it is seen as circumventing the app store and will not get accepted onto the store at submission.

1 Like

Hi, @PraetorBlue & @MadeFromPolygons_1 , my project is indeed for real-life goods and services, wow thanks it looks like a very powerful payment provider, I will check it out.
Do they provide a Unity SDK? Or you guys integrate their API with .NET?

Its a REST api and provides a .NET implementation:

https://stripe.com/docs/api?lang=dotnet

So you can just go ahead and use the API directly from your unity scripts :slight_smile: but no there is not a SDK for unity, but no need when there is one for .NET as I dont know what unity-API specific stuff would be needed beyond the .NET capabilities anyway!

1 Like

@MadeFromPolygons_1 do you know how this works with PCI compliance? I might have this wrong but I believe that with Stripe’s .NET APIs you have to take credit card info from a unity text input field and pass it into the API. Because the app is handling the payment info in this way, don’t you have to file compliance/security reports and stuff?

Thanks!

Hi, Is there any update on your work? I’m trying to build the same thing.

Late to the party, but I’ve had good results using Stripe or Braintree for card payments in Unity on mobile. Both offer native Android/iOS SDKs you can wrap with Unity plugins, and they handle tokens so you never touch raw card data. Are you looking for fully in‑app flows, or would a web-based checkout sheet work for your project?

Very wrong, I had an experience with Stripe, they will block the real transactions for unknown reasons in my Unity game, and then they blocked my whole Stripe account. I use it for physical items inside unity.