# Android In-app purchases Fix

**URL:** <https://forums.unrealengine.com/t/android-in-app-purchases-fix/1399028>\
**Category:** International\
**Tags:** billing, in-app-purchase, unreal-engine, Android\
**Created:** [November 17, 2023, 10:59pm UTC](https://forums.unrealengine.com/t/android-in-app-purchases-fix/1399028 "2023-11-17T22:59:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arthurok](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arthurok/32/882737_2.png) [@Arthurok](https://forums.unrealengine.com/u/Arthurok)\
**Post date:** [November 17, 2023, 10:59pm UTC](https://forums.unrealengine.com/t/android-in-app-purchases-fix/1399028/1 "2023-11-17T22:59:48Z")

</div>

Hello, to everyone who is experiencing problems with the purchasing system in Unreal Engine 4/5!  
The way I found to SOLVE this was to upload a new keystore to the Google Play Console and a bunch of other things, to create a new keystore (Follow the tutorial in the link below, don’t forget to like)  
IMPORTANT: After the tutorial, if necessary, delete the new version of Java installed in the environment variables and go back to the previous version to avoid JDK errors when compiling your game.

Procedures in Unreal Engine/Google Play Console

To add a new keystore to your game on the Google Play Console go to \> Versions \> Configuration \> App Signing \> Upgrade your app’s signing key - Select the java keystore key option and a reason, watch the video to understand better = [https://www.youtube.com/watch?v=pCczRHsdNOY](https://www.youtube.com/watch?v=pCczRHsdNOY)

install Google Play Service related plugins!

In EU, on-premises \> Project Settings \> Platforms \> Android

- The key license must be entered, you will find it under \> Google Play Console \> Monetization \> Monetization setup \> License

- Enter the game ID that is shown in the Google Play Console, go to \> Growth \> Google Play Game Related Services \> Setup and Management \> Setup \> Project ID (12 numbers)!

- Enable Google Play Support (Enabled)

- Add 2 Extra Tags to node:

com.google.android.gms.games.APP\_ID=“@string/app\_id”  
com.google.android.gms.appstate.APP\_ID=“@string/app\_id”

- Add 5 tags in Extra Permissions:

android.permission.INTERNET  
android.permission.ACCESS\_NETWORK\_STATE  
com.android.vending.BILLING  
android.permission.USE\_CREDENTIALS  
android.permission.GET\_ACCOUNTS

(I didn’t really understand this part but I did it this way and it worked).

The blueprint (Shopping Menu Widget) in the image shown was the only one that worked for me, I tried 4 ways, I will publish a related video as soon as possible, I ask you to open my profile if you want to see the video as I am publishing this solution in all topics related to this problem because I know it is very stressful.  
After node Make an in-app purchase, the item you sold must be inserted in on success, try to adapt this logic according to your project.

If you need help, contact me.  
Luis Ramos

 ![purchaseandroidue](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/6/6265ca1d226db9dc27d5e6fba0ad40903eb30ce3.png)

---

<div class="post-metadata">

**Author:** ![Ghepo1012](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ghepo1012](https://forums.unrealengine.com/u/Ghepo1012)\
**Post date:** [December 5, 2023, 6:05am UTC](https://forums.unrealengine.com/t/android-in-app-purchases-fix/1399028/2 "2023-12-05T06:05:43Z")

</div>

Hello,  
Thanks for sharing your solution. What issues were you having before? Was it a crash or the purchases not going through?  
Regardless, a video will be much appreciated!

---

<div class="post-metadata">

**Author:** ![Ghepo1012](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ghepo1012](https://forums.unrealengine.com/u/Ghepo1012)\
**Post date:** [December 5, 2023, 6:08am UTC](https://forums.unrealengine.com/t/android-in-app-purchases-fix/1399028/3 "2023-12-05T06:08:14Z")

</div>

> [@Arthurok](#):
>
> - Add 2 Extra Tags to node:
> 
> com.google.android.gms.games.APP\_ID=“@string/app\_id”  
> com.google.android.gms.appstate.APP\_ID=“@string/app\_id”

Also can you explain this part a bit more?

---

<div class="post-metadata">

**Author:** ![Arthurok](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arthurok/32/882737_2.png) [@Arthurok](https://forums.unrealengine.com/u/Arthurok)\
**Post date:** [January 11, 2024, 8:26pm UTC](https://forums.unrealengine.com/t/android-in-app-purchases-fix/1399028/4 "2024-01-11T20:26:03Z")

</div>

Hello friend, sorry for the delay, I do intend to record a video but I’m very busy at the moment.  
Regarding the problem, I recommend following all the steps provided in my post and if you have any other questions or problems, send me a message.  
Regarding your question, I was having problems where the purchase screen didn’t even appear, so I looked a lot and found it. I already took advantage and made a post because I know it’s stressful to have a problem and not easily find a solution to it!

Hug! Sucess!  
Luis Ramos  
From Aurum Pixel

---

<div class="post-metadata">

**Author:** ![Player\_003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Player\_003](https://forums.unrealengine.com/u/Player_003)\
**Post date:** [January 23, 2024, 12:50pm UTC](https://forums.unrealengine.com/t/android-in-app-purchases-fix/1399028/5 "2024-01-23T12:50:26Z")

</div>

I get this error

Make an In-App Purchase v2 : Usage of ‘Make an In-App Purchase v2’ has been deprecated. Please use ‘Start an In-App Purchase’ and remember to pass the output receipts to ‘Finalize In-App Purchase Transaction’ after being validated and processed
