how do i integrate unity steam iap?

hello,
how do i integrate unity steam iap?

I looked at steam documents but did not understand much.
Is there a package in Unity that I can use Steam IAP?
I don’t want to integrate as playfab.

Unity IAP is not supported with the Steam Store. A Google search brought up this but I haven’t tested it GitHub - rlabrecque/Steamworks.NET: Steamworks wrapper for Unity / C#

cough I do implement the native Steam inventory billing in my asset on the Asset Store, Simple IAP System.

In code, it implements the Unity IAP store interfaces (link) and makes use of the Steamworks.NET package linked above.

2 Likes

I really want to know how to create IAP of steamworks too But there has no any example or tutorial at all

Unity IAP does not support Steam at this time. Baroni provided an option above.

1 Like

Oh thank you very much!

IAP I mean in app purchase I just want to buy something with real money on my Steam Game

Hi Rachan, You need the use Steam Web API For This issue;
Follow this documentation please:
https://partner.steamgames.com/doc/webapi/ISteamMicroTxn

If you need a help, Please contact me on PM.

1 Like

Thanks!!!
So if I want to make IAP In have to use web interface instead?

Unity IAP does not support a web interface.

in Head Goal: Soccer Online, it has implemented in app purchases on Steam.
Link to the game: Head Goal: Soccer Online on Steam
they using Unity engine too.

I need help, can you help me?

When will Unity IAP support Steamworks?
did you know Steam game is same goal as same as iOS or Android.

I am trying to use Steam Web API.
The official document is lacking information.

I have implemented InitTxn, but what’s supposed to happen after that?
It doesn’t show anything on the screen (I assumed there will be a payment dialog or something from Steamworks.NET…?)

I got successful initTxn response like this, and Unity recognize it. But nothings happen.

heroku[router]: at=info method=POST path="/InitPurchase" host=ichaichat-c7d48628e1d2.herokuapp.com request_id=994259aa-47ed-45d8-a248-b42416319810 fwd="133.106.185.168" dyno=web.1 connect=0ms service=356ms status=200 bytes=938 protocol=https
2024-10-27T23:44:25.016384+00:00 app[web.1]: initPurchase.data {
2024-10-27T23:44:25.016408+00:00 app[web.1]: response: {
2024-10-27T23:44:25.016408+00:00 app[web.1]: result: 'OK',
2024-10-27T23:44:25.016408+00:00 app[web.1]: params: { orderid: '38955706', transid: '4321859552928246206' }
2024-10-27T23:44:25.016409+00:00 app[web.1]: }
2024-10-27T23:44:25.016409+00:00 app[web.1]: }
2024-10-27T23:44:25.016412+00:00 app[web.1]: initPurchase.data.response.result OK